Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble installing XMR-STAK-GPU on ubuntu22.04 Jammy #2776

Open
DrMatrixBMC opened this issue Nov 14, 2024 · 0 comments
Open

Trouble installing XMR-STAK-GPU on ubuntu22.04 Jammy #2776

DrMatrixBMC opened this issue Nov 14, 2024 · 0 comments

Comments

@DrMatrixBMC
Copy link

root@ns31686686:/xmr-stak/build# make install
Scanning dependencies of target xmr-stak-asm
[ 2%] Building ASM object CMakeFiles/xmr-stak-asm.dir/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_main_loop.S.o
[ 4%] Building ASM object CMakeFiles/xmr-stak-asm.dir/xmrstak/backend/cpu/crypto/asm/cnR/CryptonightR_template.S.o
[ 6%] Linking C static library bin/libxmr-stak-asm.a
[ 6%] Built target xmr-stak-asm
[ 8%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_blake256.c.o
[ 11%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_groestl.c.o
[ 13%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_jh.c.o
[ 15%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_keccak.c.o
[ 17%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_skein.c.o
[ 20%] Linking C static library bin/libxmr-stak-c.a
[ 20%] Built target xmr-stak-c
[ 22%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/backendConnector.cpp.o
In file included from /usr/include/CL/cl.h:20,
from /root/xmr-stak/xmrstak/backend/amd/amd_gpu/gpu.hpp:9,
from /root/xmr-stak/xmrstak/backend/amd/minethd.hpp:3,
from /root/xmr-stak/xmrstak/backend/backendConnector.cpp:38:
/usr/include/CL/cl_version.h:22:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^
[ 24%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/cpuType.cpp.o
[ 26%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/CryptonightR_gen.cpp.o
[ 28%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cn_gpu_avx.cpp.o
[ 31%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cn_gpu_ssse3.cpp.o
[ 33%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cryptonight_common.cpp.o
[ 35%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/hwlocMemory.cpp.o
[ 37%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/jconf.cpp.o
[ 40%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/minethd.cpp.o
[ 42%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/globalStates.cpp.o
[ 44%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/http/httpd.cpp.o
/root/xmr-stak/xmrstak/http/httpd.cpp: In member function ‘bool httpd::start_daemon()’:
/root/xmr-stak/xmrstak/http/httpd.cpp:162:17: error: invalid conversion from ‘int ()(void, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int ()(void, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result ()(void, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive]
162 | &httpd::req_handler,
| ^~~~~~~~~~~~~~~~~~~
| |
| int ()(void, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int ()(void, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}
In file included from /root/xmr-stak/xmrstak/http/httpd.cpp:38:
/usr/include/microhttpd.h:2701:45: note: initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
2701 | MHD_AccessHandlerCallback dh, void *dh_cls,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^

make[2]: *** [CMakeFiles/xmr-stak-backend.dir/build.make:216: CMakeFiles/xmr-stak-backend.dir/xmrstak/http/httpd.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:146: CMakeFiles/xmr-stak-backend.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant