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
GMP_INCLUDES=/usr/local/include INFO: Using CUDA version 10.1 -- Configuring done WARNING: Target "multiminer" requests linking to directory "/usr/lib/x86_64-linux-gnu/stubs". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "multiminer" requests linking to directory "/usr/lib/x86_64-linux-gnu". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "mm_gpu_gate" requests linking to directory "/usr/lib/x86_64-linux-gnu/stubs". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "mm_gpu_gate" requests linking to directory "/usr/lib/x86_64-linux-gnu". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "mm_gpu_gate" requests linking to directory "/usr/lib/x86_64-linux-gnu/stubs". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "argon2-cuda" requests linking to directory "/usr/lib/x86_64-linux-gnu/stubs". Targets may link only to libraries. CMake is dropping the item. -- Generating done -- Build files have been written to: /home/test/multiminer/winbuild
When make, it shows:
test@sandbox:~/multiminer/winbuild$ make
Scanning dependencies of target argon2
[ 0%] Building C object algo/argon2/argon2d/argon2-gpu/ext/argon2/CMakeFiles/argon2.dir/lib/argon2.c.obj
In file included from /usr/include/stdlib.h:394,
from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:15:
/usr/include/sys/types.h:108:19: error: conflicting types for ‘ssize_t’
108 | typedef __ssize_t ssize_t;
| ^~~~~~~
In file included from /usr/share/mingw-w64/include/crtdefs.h:10,
from /usr/share/mingw-w64/include/stddef.h:7,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/include/stddef.h:1,
from /usr/include/string.h:33,
from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:14:
/usr/share/mingw-w64/include/corecrt.h:50:35: note: previous declaration of ‘ssize_t’ was here
50 | __MINGW_EXTENSION typedef __int64 ssize_t;
| ^~~~~~~
In file included from /usr/include/sys/types.h:129,
from /usr/include/stdlib.h:394,
from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:15:
/usr/include/bits/types/time_t.h:7:18: error: conflicting types for ‘time_t’
7 | typedef __time_t time_t;
| ^~~~~~
In file included from /usr/share/mingw-w64/include/crtdefs.h:10,
from /usr/share/mingw-w64/include/stddef.h:7,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/include/stddef.h:1,
from /usr/include/string.h:33,
from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:14:
/usr/share/mingw-w64/include/corecrt.h:143:20: note: previous declaration of ‘time_t’ was here
143 | typedef __time64_t time_t;
| ^~~~~~
In file included from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/include/argon2.h:16,
from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:18:
/usr/include/stdint.h:90:27: error: conflicting types for ‘uintptr_t’
90 | typedef unsigned long int uintptr_t;
| ^~~~~~~~~
In file included from /usr/share/mingw-w64/include/crtdefs.h:10,
from /usr/share/mingw-w64/include/stddef.h:7,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/include/stddef.h:1,
from /usr/include/string.h:33,
from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:14:
/usr/share/mingw-w64/include/corecrt.h:80:44: note: previous declaration of ‘uintptr_t’ was here
80 | __MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
| ^~~~~~~~~
In file included from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/include/argon2.h:16,
from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:18:
/usr/include/stdint.h:106: warning: "__INT64_C" redefined
106 | # define __INT64_C(c) c ## L
|
<built-in>: note: this is the location of the previous definition
In file included from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/include/argon2.h:16,
from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:18:
/usr/include/stdint.h:107: warning: "__UINT64_C" redefined
107 | # define __UINT64_C(c) c ## UL
|
<built-in>: note: this is the location of the previous definition
In file included from /home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:20:
/home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c: In function ‘argon2_hash’:
/home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/core.h:27:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
27 | #define CONST_CAST(x) (x)(uintptr_t)
| ^
/home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:157:19: note: in expansion of macro ‘CONST_CAST’
157 | context.pwd = CONST_CAST(uint8_t *)pwd;
| ^~~~~~~~~~
/home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/core.h:27:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
27 | #define CONST_CAST(x) (x)(uintptr_t)
| ^
/home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:157:19: note: in expansion of macro ‘CONST_CAST’
157 | context.pwd = CONST_CAST(uint8_t *)pwd;
| ^~~~~~~~~~
/home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/core.h:27:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
27 | #define CONST_CAST(x) (x)(uintptr_t)
| ^
/home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:159:20: note: in expansion of macro ‘CONST_CAST’
159 | context.salt = CONST_CAST(uint8_t *)salt;
| ^~~~~~~~~~
/home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/core.h:27:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
27 | #define CONST_CAST(x) (x)(uintptr_t)
| ^
/home/test/multiminer/algo/argon2/argon2d/argon2-gpu/ext/argon2/lib/argon2.c:159:20: note: in expansion of macro ‘CONST_CAST’
159 | context.salt = CONST_CAST(uint8_t *)salt;
| ^~~~~~~~~~
make[2]: *** [algo/argon2/argon2d/argon2-gpu/ext/argon2/CMakeFiles/argon2.dir/build.make:64: algo/argon2/argon2d/argon2-gpu/ext/argon2/CMakeFiles/argon2.dir/lib/argon2.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:282: algo/argon2/argon2d/argon2-gpu/ext/argon2/CMakeFiles/argon2.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Please, tell me what needs to be fixed to remove these errors?
The text was updated successfully, but these errors were encountered:
Hello! This is my cmake parameters (I'm using MinGW to cross-compile it onto Windows x64 under Ubuntu 20):
cmake -DCMAKE_SYSTEM_NAME=Windows \ -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc \ -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \ -DOPENSSL_ROOT_DIR=/home/test/openssl-OpenSSL_1_1_1l \ -DCUDA_TOOLKIT_ROOT_DIR=/usr/bin/nvcc \ -DOpenCL_LIBRARY=/usr/lib/x86_64-linux-gnu/ \ -DCUDA_CUDART_LIBRARY=/usr/lib/x86_64-linux-gnu/stubs \ -DOPENSSL_LIBRARIES=/usr/lib/x86_64-linux-gnu/ ..
Got some warnings after it:
GMP_INCLUDES=/usr/local/include INFO: Using CUDA version 10.1 -- Configuring done WARNING: Target "multiminer" requests linking to directory "/usr/lib/x86_64-linux-gnu/stubs". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "multiminer" requests linking to directory "/usr/lib/x86_64-linux-gnu". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "mm_gpu_gate" requests linking to directory "/usr/lib/x86_64-linux-gnu/stubs". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "mm_gpu_gate" requests linking to directory "/usr/lib/x86_64-linux-gnu". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "mm_gpu_gate" requests linking to directory "/usr/lib/x86_64-linux-gnu/stubs". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "argon2-cuda" requests linking to directory "/usr/lib/x86_64-linux-gnu/stubs". Targets may link only to libraries. CMake is dropping the item. -- Generating done -- Build files have been written to: /home/test/multiminer/winbuild
When make, it shows:
Please, tell me what needs to be fixed to remove these errors?
The text was updated successfully, but these errors were encountered: