Open mPak2018 opened 5 years ago
Which compiler do you use? Do you started with a clean build folder?
I see that it is FreeBSD. Could please run make VERBOSE=1
and post the
output
don`t work cmake . -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF -DHWLOC_ENABLE=OFF && make VERBOSE=1
when going make, error repeats
[ 45%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/minethd.cpp.o
/usr/bin/CC -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/minethd.cpp.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:750:3: error: call to constructor of 'const std::1::pair<const unsigned int, void (*)(const xmrstak::miner_work &, cryptonight_ctx **)>' is ambiguous
{cryptonight_r, Cryptonight_R_generator~~~~~~~~~~~~~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:289:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<2>' requested here
func_multi_selector<2>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo);
^
/usr/include/c++/v1/utility:262:5: note: candidate constructor
pair(const _T1& ~~~~~~~~~~~~~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:299:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<3>' requested here
func_multi_selector<3>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo);
^
/usr/include/c++/v1/utility:262:5: note: candidate constructor
pair(const _T1& __x, const _T2& ~~~~~~~~~~~~~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:305:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<4>' requested here
func_multi_selector<4>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo);
^
/usr/include/c++/v1/utility:262:5: note: candidate constructor
pair(const _T1& __x, const _T2& __y)
^
/usr/include/c++/v1/utility:305:9: note: candidate constructor [with _U1 = xmrstak_algo_id, _U2 = void (const xmrstak::miner_work &, cryptonight_ctx ~~~~~~~~~~~~~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:312:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<5>' requested here
func_multi_selector<5>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo);
^
/usr/include/c++/v1/utility:262:5: note: candidate constructor
pair(const _T1& x, const _T2& __y)
^
/usr/include/c++/v1/utility:305:9: note: candidate constructor [with _U1 = xmrstak_algo_id, _U2 = void (const xmrstak::miner_work &, cryptonight_ctx **), $2 = void]
pair(_U1&& u1, _U2&& u2)
^
/usr/include/c++/v1/unordered_map:798:48: note: passing argument to parameter '__il' here
unordered_map(initializer_list~~~~~~~~~~~~~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:465:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<1>' requested here
func_multi_selector<1>(ctx, set_job, ::jconf::inst()->HaveHardwareAes(), false, algo);
^
/usr/include/c++/v1/utility:262:5: note: candidate constructor
pair(const _T1& __x, const _T2& ~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:768:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<1>' requested here
multiway_work_main<1u>();
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 1]
void minethd::func_multi_selector(cryptonight_ctx~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 1]
void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector'
func_multi_selector~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:773:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<2>' requested here
multiway_work_main<2u>();
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 2]
void minethd::func_multi_selector(cryptonight_ctx~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 2]
void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector'
func_multi_selector~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:778:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<3>' requested here
multiway_work_main<3u>();
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 3]
void minethd::func_multi_selector(cryptonight_ctx~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 3]
void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector'
func_multi_selector~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:783:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<4>' requested here
multiway_work_main<4u>();
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 4]
void minethd::func_multi_selector(cryptonight_ctx~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 4]
void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector'
func_multi_selector~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:788:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<5>' requested here
multiway_work_main<5u>();
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 5]
void minethd::func_multi_selector(cryptonight_ctx~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 5]
void minethd::func_multi_selector(cryptonight_ctx** ctx, minethd::cn_on_new_job& on_new_job,
^
15 errors generated.
*** Error code 1
Stop. make[2]: stopped in /root/xmr-stak-2.10.0 *** Error code 1
Stop. make[1]: stopped in /root/xmr-stak-2.10.0 *** Error code 1
Stop.
Again, what compiler
cc -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.3 Thread model: posix
Please provide the full output from make VERBOSE=1
root@srv-rezerv1-bsd:~/xmr-stak-2.10.0 # make VERBOSE=1
/usr/local/bin/cmake -H/root/xmr-stak-2.10.0 -B/root/xmr-stak-2.10.0 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/bin/cmake -E cmake_progress_start /root/xmr-stak-2.10.0/CMakeFiles /root/xmr-stak-2.10.0/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f CMakeFiles/xmr-stak-asm.dir/build.make CMakeFiles/xmr-stak-asm.dir/depend
cd /root/xmr-stak-2.10.0 && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-asm.dir/DependInfo.cmake --color=
Dependee "/root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-asm.dir/DependInfo.cmake" is newer than depender "/root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-asm.dir/depend.internal".
Dependee "/root/xmr-stak-2.10.0/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-asm.dir/depend.internal".
Scanning dependencies of target xmr-stak-asm
make -f CMakeFiles/xmr-stak-asm.dir/build.make CMakeFiles/xmr-stak-asm.dir/build
[ 3%] Building ASM object CMakeFiles/xmr-stak-asm.dir/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_main_loop.S.o
/usr/bin/cc -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -I/usr/include -O3 -DNDEBUG -fPIC -x assembler-with-cpp -o CMakeFiles/xmr-stak-asm.dir/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_main_loop.S.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_main_loop.S
[ 6%] Building ASM object CMakeFiles/xmr-stak-asm.dir/xmrstak/backend/cpu/crypto/asm/cnR/CryptonightR_template.S.o
/usr/bin/cc -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -I/usr/include -O3 -DNDEBUG -fPIC -x assembler-with-cpp -o CMakeFiles/xmr-stak-asm.dir/xmrstak/backend/cpu/crypto/asm/cnR/CryptonightR_template.S.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/asm/cnR/CryptonightR_template.S
[ 9%] Linking C static library bin/libxmr-stak-asm.a
/usr/local/bin/cmake -P CMakeFiles/xmr-stak-asm.dir/cmake_clean_target.cmake
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/xmr-stak-asm.dir/link.txt --verbose=1
/usr/bin/ar qc bin/libxmr-stak-asm.a CMakeFiles/xmr-stak-asm.dir/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_main_loop.S.o CMakeFiles/xmr-stak-asm.dir/xmrstak/backend/cpu/crypto/asm/cnR/CryptonightR_template.S.o
/usr/bin/ranlib bin/libxmr-stak-asm.a
[ 9%] Built target xmr-stak-asm
make -f CMakeFiles/xmr-stak-c.dir/build.make CMakeFiles/xmr-stak-c.dir/depend
cd /root/xmr-stak-2.10.0 && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-c.dir/DependInfo.cmake --color=
Dependee "/root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-c.dir/DependInfo.cmake" is newer than depender "/root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-c.dir/depend.internal".
Dependee "/root/xmr-stak-2.10.0/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-c.dir/depend.internal".
Scanning dependencies of target xmr-stak-c
make -f CMakeFiles/xmr-stak-c.dir/build.make CMakeFiles/xmr-stak-c.dir/build
[ 12%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_blake256.c.o
/usr/bin/cc -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=gnu99 -o CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_blake256.c.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/c_blake256.c
[ 15%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_groestl.c.o
/usr/bin/cc -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=gnu99 -o CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_groestl.c.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/c_groestl.c
[ 18%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_jh.c.o
/usr/bin/cc -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=gnu99 -o CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_jh.c.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/c_jh.c
[ 21%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_keccak.c.o
/usr/bin/cc -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=gnu99 -o CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_keccak.c.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/c_keccak.c
[ 24%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_skein.c.o
/usr/bin/cc -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=gnu99 -o CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_skein.c.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/c_skein.c
[ 27%] Linking C static library bin/libxmr-stak-c.a
/usr/local/bin/cmake -P CMakeFiles/xmr-stak-c.dir/cmake_clean_target.cmake
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/xmr-stak-c.dir/link.txt --verbose=1
/usr/bin/ar qc bin/libxmr-stak-c.a CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_blake256.c.o CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_groestl.c.o CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_jh.c.o CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_keccak.c.o CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_skein.c.o
/usr/bin/ranlib bin/libxmr-stak-c.a
[ 27%] Built target xmr-stak-c
make -f CMakeFiles/xmr-stak-backend.dir/build.make CMakeFiles/xmr-stak-backend.dir/depend
cd /root/xmr-stak-2.10.0 && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0 /root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-backend.dir/DependInfo.cmake --color=
Dependee "/root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-backend.dir/DependInfo.cmake" is newer than depender "/root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-backend.dir/depend.internal".
Dependee "/root/xmr-stak-2.10.0/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/root/xmr-stak-2.10.0/CMakeFiles/xmr-stak-backend.dir/depend.internal".
Scanning dependencies of target xmr-stak-backend
make -f CMakeFiles/xmr-stak-backend.dir/build.make CMakeFiles/xmr-stak-backend.dir/build
[ 30%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/backendConnector.cpp.o
/usr/bin/c++ -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/backendConnector.cpp.o -c /root/xmr-stak-2.10.0/xmrstak/backend/backendConnector.cpp
[ 33%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/cpuType.cpp.o
/usr/bin/c++ -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/cpuType.cpp.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/cpuType.cpp
[ 36%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/CryptonightR_gen.cpp.o
/usr/bin/c++ -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/CryptonightR_gen.cpp.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/CryptonightR_gen.cpp
[ 39%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cn_gpu_avx.cpp.o
/usr/bin/c++ -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=c++11 -mavx2 -o CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cn_gpu_avx.cpp.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/cn_gpu_avx.cpp
[ 42%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cn_gpu_ssse3.cpp.o
/usr/bin/c++ -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cn_gpu_ssse3.cpp.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/cn_gpu_ssse3.cpp
[ 45%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cryptonight_common.cpp.o
/usr/bin/c++ -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cryptonight_common.cpp.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
[ 48%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/hwlocMemory.cpp.o
/usr/bin/c++ -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/hwlocMemory.cpp.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/hwlocMemory.cpp
[ 51%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/jconf.cpp.o
/usr/bin/c++ -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/jconf.cpp.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/jconf.cpp
[ 54%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/minethd.cpp.o
/usr/bin/c++ -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_HWLOC -DCONF_NO_OPENCL -I/root/xmr-stak-2.10.0/. -I/usr/local/include -march=native -mtune=native -msse2 -maes -O3 -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/minethd.cpp.o -c /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:750:3: error: call to constructor of 'const std::1::pair<const unsigned int, void (*)(const xmrstak::miner_work &, cryptonight_ctx
**)>' is ambiguous
{cryptonight_r, Cryptonight_R_generator~~~~~~~~~~~~~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:289:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<2>' requested here
func_multi_selector<2>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo);
^
/usr/include/c++/v1/utility:262:5: note: candidate constructor
pair(const _T1& ~~~~~~~~~~~~~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:299:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<3>' requested here
func_multi_selector<3>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo);
^
/usr/include/c++/v1/utility:262:5: note: candidate constructor
pair(const _T1& __x, const _T2& ~~~~~~~~~~~~~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:305:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<4>' requested here
func_multi_selector<4>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo);
^
/usr/include/c++/v1/utility:262:5: note: candidate constructor
pair(const _T1& __x, const _T2& __y)
^
/usr/include/c++/v1/utility:305:9: note: candidate constructor [with _U1 = xmrstak_algo_id, _U2 = void (const xmrstak::miner_work &, cryptonight_ctx ~~~~~~~~~~~~~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:312:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<5>' requested here
func_multi_selector<5>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo);
^
/usr/include/c++/v1/utility:262:5: note: candidate constructor
pair(const _T1& x, const _T2& __y)
^
/usr/include/c++/v1/utility:305:9: note: candidate constructor [with _U1 = xmrstak_algo_id, _U2 = void (const xmrstak::miner_work &, cryptonight_ctx **), $2 = void]
pair(_U1&& u1, _U2&& u2)
^
/usr/include/c++/v1/unordered_map:798:48: note: passing argument to parameter '__il' here
unordered_map(initializer_list~~~~~~~~~~~~~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:465:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<1>' requested here
func_multi_selector<1>(ctx, set_job, ::jconf::inst()->HaveHardwareAes(), false, algo);
^
/usr/include/c++/v1/utility:262:5: note: candidate constructor
pair(const _T1& __x, const _T2& ~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:768:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<1>' requested here
multiway_work_main<1u>();
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 1]
void minethd::func_multi_selector(cryptonight_ctx~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 1]
void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector'
func_multi_selector~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:773:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<2>' requested here
multiway_work_main<2u>();
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 2]
void minethd::func_multi_selector(cryptonight_ctx~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 2]
void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector'
func_multi_selector~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:778:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<3>' requested here
multiway_work_main<3u>();
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 3]
void minethd::func_multi_selector(cryptonight_ctx~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 3]
void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector'
func_multi_selector~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:783:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<4>' requested here
multiway_work_main<4u>();
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 4]
void minethd::func_multi_selector(cryptonight_ctx~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 4]
void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector'
func_multi_selector~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:788:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<5>' requested here
multiway_work_main<5u>();
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 5]
void minethd::func_multi_selector(cryptonight_ctx~~~~~
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 5]
void minethd::func_multi_selector(cryptonight_ctx** ctx, minethd::cn_on_new_job& on_new_job,
^
15 errors generated.
*** Error code 1
Stop. make[2]: stopped in /root/xmr-stak-2.10.0 *** Error code 1
Stop. make[1]: stopped in /root/xmr-stak-2.10.0 *** Error code 1
Stop.
I think you need at least Clang 3.5.0 or it doesn't have chance of working (C++11 type compiler required) So, update, or add gcc 5.1 or better and use that...
please run /usr/bin/c++ --version That we get an overview which compiler you use.
/usr/bin/c++ --version FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.3 Thread model: posix
GCC Message from gcc7-7.3.0_5:
To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using
-Wl,-rpath=/usr/local/lib/gcc7
For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently.
when compiling miner gives an error on FreeBsd `[ 45%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/minethd.cpp.o /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:750:3: error: call to constructor of 'const std::1::pair<const unsigned int, void (*)(const xmrstak::miner_work &, cryptonight_ctx **)>' is ambiguous {cryptonight_r, Cryptonight_R_generator::template cn_on_new_job},
^ x, const _T2& y)
^
/usr/include/c++/v1/utility:305:9: note: candidate constructor [with _U1 = xmrstak_algo_id, _U2 = void (const xmrstak::miner_work &, cryptonight_ctx **), $2 = void]
pair(_U1&& __u1, _U2&& u2)
^
/usr/include/c++/v1/unordered_map:798:48: note: passing argument to parameter 'il' here
unordered_map(initializer_list il);
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:750:3: error: call to constructor of 'const std::1::pair<const unsigned int, void (*)(const xmrstak::miner_work &, cryptonight_ctx **)>' is ambiguous
{cryptonight_r, Cryptonight_R_generator::template cn_on_new_job},
^ y)
^
/usr/include/c++/v1/utility:305:9: note: candidate constructor [with _U1 = xmrstak_algo_id, _U2 = void (const xmrstak::miner_work &, cryptonight_ctx ), $2 = void]
pair(_U1&& u1, _U2&& __u2)
^
/usr/include/c++/v1/unordered_map:798:48: note: passing argument to parameter 'il' here
unordered_map(initializer_list il);
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:750:3: error: call to constructor of 'const std::1::pair<const unsigned int, void ()(const xmrstak::miner_work &, cryptonight_ctx )>' is ambiguous
{cryptonight_r, Cryptonight_R_generator::template cn_on_new_job},
^ ), $2 = void]
pair(_U1&& u1, _U2&& __u2)
^
/usr/include/c++/v1/unordered_map:798:48: note: passing argument to parameter 'il' here
unordered_map(initializer_list il);
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:750:3: error: call to constructor of 'const std::1::pair<const unsigned int, void ( )(const xmrstak::miner_work &, cryptonight_ctx )>' is ambiguous
{cryptonight_r, Cryptonight_R_generator::template cn_on_new_job},
^ il);
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:750:3: error: call to constructor of 'const std::1::pair<const unsigned int, void (*)(const xmrstak::miner_work &, cryptonight_ctx **)>' is ambiguous
{cryptonight_r, Cryptonight_R_generator::template cn_on_new_job},
^ y)
^
/usr/include/c++/v1/utility:305:9: note: candidate constructor [with _U1 = xmrstak_algo_id, _U2 = void (const xmrstak::miner_work &, cryptonight_ctx ), $2 = void]
pair(_U1&& u1, _U2&& __u2)
^
/usr/include/c++/v1/unordered_map:798:48: note: passing argument to parameter 'il' here
unordered_map(initializer_list __il);
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector'
func_multi_selector(ctx, on_new_job, ::jconf::inst()->HaveHardwareAes(), bNoPrefetch, miner_algo, asm_version_str);
^ ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:879:5: error: no matching function for call to 'func_multi_selector'
func_multi_selector(ctx, on_new_job, ::jconf::inst()->HaveHardwareAes(), bNoPrefetch, miner_algo, asm_version_str);
^(ctx, on_new_job, ::jconf::inst()->HaveHardwareAes(), bNoPrefetch, miner_algo, asm_version_str);
^ ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:879:5: error: no matching function for call to 'func_multi_selector'
func_multi_selector(ctx, on_new_job, ::jconf::inst()->HaveHardwareAes(), bNoPrefetch, miner_algo, asm_version_str);
^(ctx, on_new_job, ::jconf::inst()->HaveHardwareAes(), bNoPrefetch, miner_algo, asm_version_str);
^ ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:879:5: error: no matching function for call to 'func_multi_selector'
func_multi_selector(ctx, on_new_job, ::jconf::inst()->HaveHardwareAes(), bNoPrefetch, miner_algo, asm_version_str);
^(ctx, on_new_job, ::jconf::inst()->HaveHardwareAes(), bNoPrefetch, miner_algo, asm_version_str);
^ ctx, minethd::cn_on_new_job& on_new_job,
^
/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:879:5: error: no matching function for call to 'func_multi_selector'
func_multi_selector(ctx, on_new_job, ::jconf::inst()->HaveHardwareAes(), bNoPrefetch, miner_algo, asm_version_str);
^(ctx, on_new_job, ::jconf::inst()->HaveHardwareAes(), bNoPrefetch, miner_algo, asm_version_str);
^
~~~~~~~~~~~~~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:289:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<2>' requested here func_multi_selector<2>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo); ^ /usr/include/c++/v1/utility:262:5: note: candidate constructor pair(const _T1&~~~~~~~~~~~~~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:299:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<3>' requested here func_multi_selector<3>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo); ^ /usr/include/c++/v1/utility:262:5: note: candidate constructor pair(const _T1& __x, const _T2&~~~~~~~~~~~~~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:305:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<4>' requested here func_multi_selector<4>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo); ^ /usr/include/c++/v1/utility:262:5: note: candidate constructor pair(const _T1& __x, const _T2& __y) ^ /usr/include/c++/v1/utility:305:9: note: candidate constructor [with _U1 = xmrstak_algo_id, _U2 = void (const xmrstak::miner_work &, cryptonight_ctx~~~~~~~~~~~~~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:312:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<5>' requested here func_multi_selector<5>(ctx, dm, ::jconf::inst()->HaveHardwareAes(), false, algo); ^ /usr/include/c++/v1/utility:262:5: note: candidate constructor pair(const _T1& x, const _T2& __y) ^ /usr/include/c++/v1/utility:305:9: note: candidate constructor [with _U1 = xmrstak_algo_id, _U2 = void (const xmrstak::miner_work &, cryptonight_ctx **), $2 = void] pair(_U1&& u1, _U2&& u2) ^ /usr/include/c++/v1/unordered_map:798:48: note: passing argument to parameter '__il' here unordered_map(initializer_list~~~~~~~~~~~~~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:465:4: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::func_multi_selector<1>' requested here func_multi_selector<1>(ctx, set_job, ::jconf::inst()->HaveHardwareAes(), false, algo); ^ /usr/include/c++/v1/utility:262:5: note: candidate constructor pair(const _T1& __x, const _T2&~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:768:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<1>' requested here multiway_work_main<1u>(); ^ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 1] void minethd::func_multi_selector(cryptonight_ctx~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 1] void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job, ^ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector' func_multi_selector~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:773:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<2>' requested here multiway_work_main<2u>(); ^ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 2] void minethd::func_multi_selector(cryptonight_ctx~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 2] void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job, ^ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector' func_multi_selector~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:778:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<3>' requested here multiway_work_main<3u>(); ^ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 3] void minethd::func_multi_selector(cryptonight_ctx~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 3] void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job, ^ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector' func_multi_selector~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:783:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<4>' requested here multiway_work_main<4u>(); ^ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 4] void minethd::func_multi_selector(cryptonight_ctx~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 4] void minethd::func_multi_selector(cryptonight_ctx** ctx, minethd::cn_on_new_job& on_new_job, ^ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:847:2: error: no matching function for call to 'func_multi_selector' func_multi_selector~~~~~/root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:788:2: note: in instantiation of function template specialization 'xmrstak::cpu::minethd::multiway_work_main<5>' requested here multiway_work_main<5u>(); ^ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 5] void minethd::func_multi_selector(cryptonight_ctx ctx, minethd::cn_on_new_job& on_new_job, ^ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:879:5: error: no matching function for call to 'func_multi_selector' func_multi_selector(ctx, on_new_job, ::jconf::inst()->HaveHardwareAes(), bNoPrefetch, miner_algo, asm_version_str);
^ ctx, minethd::cn_on_new_job& on_new_job,
^
15 errors generated.
*** Error code 1
~~~~~ /root/xmr-stak-2.10.0/xmrstak/backend/cpu/minethd.cpp:566:15: note: candidate template ignored: substitution failure [with N = 5] void minethd::func_multi_selector(cryptonight_ctxStop. `