I'm having trouble compiling on ubuntu. Please guide me through giving you all the info you need because I'm not so versed in compiling c stuff. The short version is that the main problem is "undefined reference to GOMP_parallel". This seems to have to do with OpenMP being missing or something at some point. I'm using g++ v5.4, and looking at the following paste it seems to indicate that the -fopenmp flag is there so that should be fine... so I'm stuck. I also tried sudo apt install libiomp5 libiomp-dev. I also tried to install libgomp and libgomp-dev but those packages are not found. Do I need to install those in some other way? Thanks in advance for your help! P.S. I'm on the HEAD of the linux branch.
g++ -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -pthread -L/usr/local/cuda/lib64 -ldl -o ccminer ccminer-crc32.o ccminer-hefty1.o ccminer-ccminer.o ccminer-pools.o ccminer-util.o ccminer-bench.o ccminer-bignum.o ccminer-api.o ccminer-hashlog.o ccminer-nvml.o ccminer-stats.o ccminer-sysinfos.o ccminer-cuda.o heavy/heavy.o heavy/cuda_blake512.o heavy/cuda_combine.o heavy/cuda_groestl512.o heavy/cuda_hefty1.o heavy/cuda_keccak512.o heavy/cuda_sha256.o heavy/bastion.o heavy/cuda_bastion.o ccminer-fuguecoin.o Algo256/cuda_fugue256.o sph/ccminer-fugue.o ccminer-groestlcoin.o cuda_groestlcoin.o ccminer-myriadgroestl.o cuda_myriadgroestl.o lyra2/ccminer-Lyra2.o lyra2/ccminer-Sponge.o lyra2/lyra2RE.o lyra2/cuda_lyra2.o lyra2/lyra2REv2.o lyra2/cuda_lyra2v2.o lyra2/ccminer-Lyra2Z.o lyra2/lyra2Z.o lyra2/cuda_lyra2Z.o Algo256/cuda_bmw256.o Algo256/cuda_cubehash256.o Algo256/cuda_blake256.o Algo256/cuda_groestl256.o Algo256/cuda_keccak256.o Algo256/cuda_skein256.o Algo256/blake256.o Algo256/decred.o Algo256/vanilla.o Algo256/keccak256.o Algo256/blake2s.o sph/ccminer-blake2s.o Algo256/bmw.o Algo256/cuda_bmw.o crypto/ccminer-xmr-rpc.o crypto/ccminer-wildkeccak-cpu.o crypto/wildkeccak.o crypto/cryptolight.o crypto/cryptolight-core.o crypto/ccminer-cryptolight-cpu.o crypto/cryptonight.o crypto/cryptonight-core.o crypto/cryptonight-extra.o crypto/ccminer-cryptonight-cpu.o crypto/ccminer-oaes_lib.o crypto/ccminer-aesb.o crypto/cpu/ccminer-c_keccak.o JHA/jackpotcoin.o JHA/cuda_jha_keccak512.o JHA/cuda_jha_compactionTest.o cuda_checkhash.o quark/cuda_jh512.o quark/cuda_quark_blake512.o quark/cuda_quark_groestl512.o quark/cuda_skein512.o quark/cuda_bmw512.o quark/cuda_quark_keccak512.o quark/nist5.o quark/quarkcoin.o quark/cuda_quark_compactionTest.o neoscrypt/ccminer-neoscrypt.o neoscrypt/ccminer-neoscrypt-cpu.o neoscrypt/cuda_neoscrypt.o pentablake.o skein.o cuda_skeincoin.o ccminer-skein2.o zr5.o sha256/sha256d.o sha256/cuda_sha256d.o sha256/sha256t.o sha256/cuda_sha256t.o sia/sia.o sia/ccminer-sia-rpc.o sph/ccminer-blake2b.o sph/ccminer-bmw.o sph/ccminer-blake.o sph/ccminer-groestl.o sph/ccminer-jh.o sph/ccminer-keccak.o sph/ccminer-skein.o sph/ccminer-cubehash.o sph/ccminer-echo.o sph/ccminer-luffa.o sph/ccminer-sha2.o sph/ccminer-shavite.o sph/ccminer-simd.o sph/ccminer-hamsi.o sph/ccminer-hamsi_helper.o sph/ccminer-streebog.o sph/ccminer-shabal.o sph/ccminer-whirlpool.o sph/ccminer-sha2big.o sph/ccminer-haval.o sph/ccminer-ripemd.o sph/ccminer-sph_sha2.o lbry/lbry.o lbry/cuda_sha256_lbry.o lbry/cuda_sha512_lbry.o lbry/cuda_lbry_merged.o qubit/qubit.o qubit/qubit_luffa512.o qubit/deep.o qubit/luffa.o x11/x11.o x11/fresh.o x11/cuda_x11_luffa512.o x11/cuda_x11_cubehash512.o x11/cuda_x11_shavite512.o x11/cuda_x11_simd512.o x11/cuda_x11_echo.o x11/cuda_x11_luffa512_Cubehash.o x11/x11evo.o x11/timetravel.o x13/x13.o x13/cuda_x13_hamsi512.o x13/cuda_x13_fugue512.o x15/x14.o x15/x15.o x15/cuda_x14_shabal512.o x15/cuda_x15_whirlpool.o x15/whirlpool.o x15/cuda_x15_whirlpool_sm3.o x17/x17.o x17/hmq17.o x17/cuda_x17_haval256.o x17/cuda_x17_sha512.o x11/c11.o x11/s3.o x11/sib.o x11/veltor.o x11/cuda_streebog.o ccminer-scrypt.o ccminer-scrypt-jane.o scrypt/blake.o scrypt/keccak.o scrypt/sha256.o scrypt/salsa_kernel.o scrypt/test_kernel.o scrypt/fermi_kernel.o scrypt/kepler_kernel.o scrypt/nv_kernel.o scrypt/nv_kernel2.o scrypt/titan_kernel.o -L/home/jeroen/anaconda2/lib -lcurl -ljansson -lpthread -lcudart -fopenmp -lcrypto -lssl -lz -ldl -lcrypto -lssl -lz
ccminer-bignum.o: In function `bn_nbits_to_uchar':
bignum.cpp:(.text+0x427): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
heavy/heavy.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) [clone .isra.56]':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text+0x99): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
heavy/heavy.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) [clone .isra.53]':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text.unlikely+0x53): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
heavy/heavy.o: In function `thrust::detail::no_throw_allocator<thrust::detail::temporary_allocator<long, thrust::system::cuda::detail::tag> >::deallocate(thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default>, unsigned long) [clone .isra.141]':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text.unlikely+0x11c): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
heavy/heavy.o: In function `thrust::system::cuda::detail::cuda_error_category::message[abi:cxx11](int) const':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZNK6thrust6system4cuda6detail19cuda_error_category7messageB5cxx11Ei[_ZNK6thrust6system4cuda6detail19cuda_error_category7messageB5cxx11Ei]+0xb1): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZNK6thrust6system4cuda6detail19cuda_error_category7messageB5cxx11Ei[_ZNK6thrust6system4cuda6detail19cuda_error_category7messageB5cxx11Ei]+0x1a4): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZNK6thrust6system4cuda6detail19cuda_error_category7messageB5cxx11Ei[_ZNK6thrust6system4cuda6detail19cuda_error_category7messageB5cxx11Ei]+0x1c1): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
heavy/heavy.o: In function `thrust::system::detail::generic_error_category::message[abi:cxx11](int) const':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZNK6thrust6system6detail22generic_error_category7messageB5cxx11Ei[_ZNK6thrust6system6detail22generic_error_category7messageB5cxx11Ei]+0xb1): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZNK6thrust6system6detail22generic_error_category7messageB5cxx11Ei[_ZNK6thrust6system6detail22generic_error_category7messageB5cxx11Ei]+0x1a4): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZNK6thrust6system6detail22generic_error_category7messageB5cxx11Ei[_ZNK6thrust6system6detail22generic_error_category7messageB5cxx11Ei]+0x1c1): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
heavy/heavy.o: In function `thrust::system::system_error::system_error(int, thrust::system::error_category const&)':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system12system_errorC2EiRKNS0_14error_categoryE[_ZN6thrust6system12system_errorC5EiRKNS0_14error_categoryE]+0x3c): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
heavy/heavy.o: In function `thrust::detail::no_throw_allocator<thrust::detail::temporary_allocator<unsigned int, thrust::system::cuda::detail::tag> >::deallocate(thrust::pointer<unsigned int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default>, unsigned long) [clone .isra.76]':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text.unlikely._ZN6thrust6detail18no_throw_allocatorINS0_19temporary_allocatorIjNS_6system4cuda6detail3tagEEEE10deallocateENS_7pointerIjS6_NS_11use_defaultESA_EEm.isra.76[_ZN6thrust9remove_ifINS_10device_ptrIjEE22check_nonce_for_removeEET_S4_S4_T0_]+0x5e): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
heavy/heavy.o: In function `thrust::system::cuda::detail::bulk_::detail::throw_on_error(cudaError, char const*)':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system4cuda6detail5bulk_6detail14throw_on_errorE9cudaErrorPKc[_ZN6thrust6system4cuda6detail5bulk_6detail14throw_on_errorE9cudaErrorPKc]+0x95): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
heavy/heavy.o: In function `thrust::system::cuda::detail::bulk_::detail::device_properties_cached(int)':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system4cuda6detail5bulk_6detail24device_properties_cachedEi[_ZN6thrust6system4cuda6detail5bulk_6detail24device_properties_cachedEi]+0x319): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system4cuda6detail5bulk_6detail24device_properties_cachedEi[_ZN6thrust6system4cuda6detail5bulk_6detail24device_properties_cachedEi]+0x3a6): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
heavy/heavy.o: In function `thrust::system::detail::bad_alloc::bad_alloc(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6thrust6system6detail9bad_allocC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x4d): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6thrust6system6detail9bad_allocC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x73): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6thrust6system6detail9bad_allocC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x84): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
heavy/heavy.o: In function `thrust::system::cuda::detail::runtime_introspection_detail::uncached_device_properties(thrust::system::cuda::detail::device_properties_t&, int)':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system4cuda6detail28runtime_introspection_detail26uncached_device_propertiesERNS2_19device_properties_tEi[_ZN6thrust6system4cuda6detail28runtime_introspection_detail26uncached_device_propertiesERNS2_19device_properties_tEi]+0xfe): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
heavy/heavy.o: In function `thrust::system::cuda::detail::detail::launch_calculator<thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::transform_iterator<thrust::detail::predicate_to_integral<thrust::detail::unary_negate<check_nonce_for_remove>, long>, thrust::detail::normal_iterator<thrust::pointer<unsigned int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, long, thrust::use_default>, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<long>, thrust::system::cuda::detail::detail::blocked_thread_array> >::launch_calculator()':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system4cuda6detail6detail17launch_calculatorINS2_36commutative_reduce_intervals_closureINS_18transform_iteratorINS_6detail21predicate_to_integralINS7_12unary_negateI22check_nonce_for_removeEElEENS7_15normal_iteratorINS_7pointerIjNS2_3tagENS_11use_defaultESG_EEEElSG_EENSD_INSE_IlSF_SG_SG_EEEENS_4plusIlEENS0_6detail8internal21uniform_decompositionIlEENS3_20blocked_thread_arrayEEEEC2Ev[_ZN6thrust6system4cuda6detail6detail17launch_calculatorINS2_36commutative_reduce_intervals_closureINS_18transform_iteratorINS_6detail21predicate_to_integralINS7_12unary_negateI22check_nonce_for_removeEElEENS7_15normal_iteratorINS_7pointerIjNS2_3tagENS_11use_defaultESG_EEEElSG_EENSD_INSE_IlSF_SG_SG_EEEENS_4plusIlEENS0_6detail8internal21uniform_decompositionIlEENS3_20blocked_thread_arrayEEEEC5Ev]+0x23c): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system4cuda6detail6detail17launch_calculatorINS2_36commutative_reduce_intervals_closureINS_18transform_iteratorINS_6detail21predicate_to_integralINS7_12unary_negateI22check_nonce_for_removeEElEENS7_15normal_iteratorINS_7pointerIjNS2_3tagENS_11use_defaultESG_EEEElSG_EENSD_INSE_IlSF_SG_SG_EEEENS_4plusIlEENS0_6detail8internal21uniform_decompositionIlEENS3_20blocked_thread_arrayEEEEC2Ev[_ZN6thrust6system4cuda6detail6detail17launch_calculatorINS2_36commutative_reduce_intervals_closureINS_18transform_iteratorINS_6detail21predicate_to_integralINS7_12unary_negateI22check_nonce_for_removeEElEENS7_15normal_iteratorINS_7pointerIjNS2_3tagENS_11use_defaultESG_EEEElSG_EENSD_INSE_IlSF_SG_SG_EEEENS_4plusIlEENS0_6detail8internal21uniform_decompositionIlEENS3_20blocked_thread_arrayEEEEC5Ev]+0x2cc): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system4cuda6detail6detail17launch_calculatorINS2_36commutative_reduce_intervals_closureINS_18transform_iteratorINS_6detail21predicate_to_integralINS7_12unary_negateI22check_nonce_for_removeEElEENS7_15normal_iteratorINS_7pointerIjNS2_3tagENS_11use_defaultESG_EEEElSG_EENSD_INSE_IlSF_SG_SG_EEEENS_4plusIlEENS0_6detail8internal21uniform_decompositionIlEENS3_20blocked_thread_arrayEEEEC2Ev[_ZN6thrust6system4cuda6detail6detail17launch_calculatorINS2_36commutative_reduce_intervals_closureINS_18transform_iteratorINS_6detail21predicate_to_integralINS7_12unary_negateI22check_nonce_for_removeEElEENS7_15normal_iteratorINS_7pointerIjNS2_3tagENS_11use_defaultESG_EEEElSG_EENSD_INSE_IlSF_SG_SG_EEEENS_4plusIlEENS0_6detail8internal21uniform_decompositionIlEENS3_20blocked_thread_arrayEEEEC5Ev]+0x361): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system4cuda6detail6detail17launch_calculatorINS2_36commutative_reduce_intervals_closureINS_18transform_iteratorINS_6detail21predicate_to_integralINS7_12unary_negateI22check_nonce_for_removeEElEENS7_15normal_iteratorINS_7pointerIjNS2_3tagENS_11use_defaultESG_EEEElSG_EENSD_INSE_IlSF_SG_SG_EEEENS_4plusIlEENS0_6detail8internal21uniform_decompositionIlEENS3_20blocked_thread_arrayEEEEC2Ev[_ZN6thrust6system4cuda6detail6detail17launch_calculatorINS2_36commutative_reduce_intervals_closureINS_18transform_iteratorINS_6detail21predicate_to_integralINS7_12unary_negateI22check_nonce_for_removeEElEENS7_15normal_iteratorINS_7pointerIjNS2_3tagENS_11use_defaultESG_EEEElSG_EENSD_INSE_IlSF_SG_SG_EEEENS_4plusIlEENS0_6detail8internal21uniform_decompositionIlEENS3_20blocked_thread_arrayEEEEC5Ev]+0x3f6): undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
heavy/heavy.o:tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZN6thrust6system4cuda6detail6detail17launch_calculatorINS2_36commutative_reduce_intervals_closureINS_18transform_iteratorINS_6detail21predicate_to_integralINS7_12unary_negateI22check_nonce_for_removeEElEENS7_15normal_iteratorINS_7pointerIjNS2_3tagENS_11use_defaultESG_EEEElSG_EENSD_INSE_IlSF_SG_SG_EEEENS_4plusIlEENS0_6detail8internal21uniform_decompositionIlEENS3_20blocked_thread_arrayEEEEC2Ev[_ZN6thrust6system4cuda6detail6detail17launch_calculatorINS2_36commutative_reduce_intervals_closureINS_18transform_iteratorINS_6detail21predicate_to_integralINS7_12unary_negateI22check_nonce_for_removeEElEENS7_15normal_iteratorINS_7pointerIjNS2_3tagENS_11use_defaultESG_EEEElSG_EENSD_INSE_IlSF_SG_SG_EEEENS_4plusIlEENS0_6detail8internal21uniform_decompositionIlEENS3_20blocked_thread_arrayEEEEC5Ev]+0x43b): more undefined references to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
heavy/heavy.o: In function `thrust::system::system_error::what() const':
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZNK6thrust6system12system_error4whatEv[_ZNK6thrust6system12system_error4whatEv]+0x74): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZNK6thrust6system12system_error4whatEv[_ZNK6thrust6system12system_error4whatEv]+0xa9): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
tmpxft_00006a09_00000000-4_heavy.compute_52.cudafe1.cpp:(.text._ZNK6thrust6system12system_error4whatEv[_ZNK6thrust6system12system_error4whatEv]+0xca): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
ccminer-scrypt.o: In function `scanhash_scrypt':
scrypt.cpp:(.text+0xa67b): undefined reference to `GOMP_parallel'
scrypt.cpp:(.text+0xa7ed): undefined reference to `GOMP_parallel'
collect2: error: ld returned 1 exit status
Makefile:1094: recipe for target 'ccminer' failed
make[2]: *** [ccminer] Error 1
make[2]: Leaving directory '/mining/ccminer'
Makefile:2017: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/mining/ccminer'
Makefile:621: recipe for target 'all' failed
make: *** [all] Error 2