You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
was trying to setup build for xmrig-cuda in ubunut, but getting error,
`/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with '...':
435 | function(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:435:145: note: '_ArgTypes'
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with '...':
530 | operator=(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:530:146: note: '_ArgTypes'
CMake Error at xmrig-cu_generated_AstroBWT.cu.o.Release.cmake:280 (message):
Error generating file
/workspace/xmrig-cuda/build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/./xmrig-cu_generated_AstroBWT.cu.o
make[2]: *** [CMakeFiles/xmrig-cu.dir/build.make:141: CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/xmrig-cu_generated_AstroBWT.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with '...':
435 | function(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:435:145: note: '_ArgTypes'
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with '...':
530 | operator=(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:530:146: note: '_ArgTypes'
CMake Error at xmrig-cu_generated_AstroBWT_v2.cu.o.Release.cmake:280 (message):
Error generating file
/workspace/xmrig-cuda/build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero_he/./xmrig-cu_generated_AstroBWT_v2.cu.o
make[2]: *** [CMakeFiles/xmrig-cu.dir/build.make:148: CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero_he/xmrig-cu_generated_AstroBWT_v2.cu.o] Error 1
/workspace/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero
/workspace/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero
/workspace/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero
/workspace/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero
/workspace/xmrig-cuda/src/cuda_extra.cu: In function 'void cryptonight_extra_cpu_prepare(nvid_ctx*, uint32_t, const xmrig_cuda::Algorithm&)':
/workspace/xmrig-cuda/src/cuda_extra.cu:415:170: warning: passing argument 5 to 'restrict'-qualified parameter aliases with argument 6 [-Wrestrict]
415 | CUDA_CHECK_KERNEL(ctx->device_id, cryptonight_extra_gpu_prepareAlgorithm::CN_0<<<grid, block >>>(wsize, ctx->d_input, ctx->inputlen, startNonce,
| ^
/workspace/xmrig-cuda/src/cuda_extra.cu: In function 'int cuda_get_deviceinfo(nvid_ctx*)':
/workspace/xmrig-cuda/src/cuda_extra.cu:571:26: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
571 | if (ctx->device_blocks > max_blocks) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
make[1]: *** [CMakeFiles/Makefile2:124: CMakeFiles/xmrig-cu.dir/all] Error 2
make: *** [Makefile:104: all] Error 2`
Help me resolve this issue.
The text was updated successfully, but these errors were encountered:
dayanandgarg
changed the title
make failed make -j$(nproc)
make failed "make -j$(nproc)"
Oct 3, 2022
was trying to setup build for xmrig-cuda in ubunut, but getting error,
Help me resolve this issue.
The text was updated successfully, but these errors were encountered: