Compile by make win failed on Linux Mint
#1
Hello Moderator and everybody

I'm new user for this forum. 

I tried to cross compiled Hashcat for Windows on Linux Mint multiple times but failed on final step , result as below

kasemcyber@AtomicPi:~/hashcat$ make win
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/affinity.WIN.o src/affinity.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/autotune.WIN.o src/autotune.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/backend.WIN.o src/backend.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/benchmark.WIN.o src/benchmark.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/bitmap.WIN.o src/bitmap.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/bitops.WIN.o src/bitops.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/combinator.WIN.o src/combinator.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/common.WIN.o src/common.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/convert.WIN.o src/convert.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/cpt.WIN.o src/cpt.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/cpu_crc32.WIN.o src/cpu_crc32.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/debugfile.WIN.o src/debugfile.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/dictstat.WIN.o src/dictstat.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/dispatch.WIN.o src/dispatch.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/dynloader.WIN.o src/dynloader.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/event.WIN.o src/event.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/ext_ADL.WIN.o src/ext_ADL.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/ext_cuda.WIN.o src/ext_cuda.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/ext_nvapi.WIN.o src/ext_nvapi.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/ext_nvml.WIN.o src/ext_nvml.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/ext_nvrtc.WIN.o src/ext_nvrtc.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/ext_OpenCL.WIN.o src/ext_OpenCL.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/ext_sysfs.WIN.o src/ext_sysfs.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/ext_lzma.WIN.o src/ext_lzma.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/filehandling.WIN.o src/filehandling.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/folder.WIN.o src/folder.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/hashcat.WIN.o src/hashcat.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/hashes.WIN.o src/hashes.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/hlfmt.WIN.o src/hlfmt.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/hwmon.WIN.o src/hwmon.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/induct.WIN.o src/induct.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/interface.WIN.o src/interface.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/keyboard_layout.WIN.o src/keyboard_layout.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/locking.WIN.o src/locking.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/logfile.WIN.o src/logfile.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/loopback.WIN.o src/loopback.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/memory.WIN.o src/memory.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/monitor.WIN.o src/monitor.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/mpsp.WIN.o src/mpsp.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/outfile_check.WIN.o src/outfile_check.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/outfile.WIN.o src/outfile.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/pidfile.WIN.o src/pidfile.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/potfile.WIN.o src/potfile.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/restore.WIN.o src/restore.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/rp.WIN.o src/rp.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/rp_cpu.WIN.o src/rp_cpu.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/selftest.WIN.o src/selftest.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/slow_candidates.WIN.o src/slow_candidates.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/shared.WIN.o src/shared.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/status.WIN.o src/status.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/stdout.WIN.o src/stdout.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/straight.WIN.o src/straight.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/terminal.WIN.o src/terminal.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/thread.WIN.o src/thread.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/timer.WIN.o src/timer.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/tuningdb.WIN.o src/tuningdb.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/usage.WIN.o src/usage.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/user_options.WIN.o src/user_options.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/wordlist.WIN.o src/wordlist.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_general.WIN.o src/emu_general.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_common.WIN.o src/emu_inc_common.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_platform.WIN.o src/emu_inc_platform.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_scalar.WIN.o src/emu_inc_scalar.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_simd.WIN.o src/emu_inc_simd.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_rp.WIN.o src/emu_inc_rp.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_rp_optimized.WIN.o src/emu_inc_rp_optimized.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_truecrypt_crc32.WIN.o src/emu_inc_truecrypt_crc32.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_truecrypt_keyfile.WIN.o src/emu_inc_truecrypt_keyfile.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_truecrypt_xts.WIN.o src/emu_inc_truecrypt_xts.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_veracrypt_xts.WIN.o src/emu_inc_veracrypt_xts.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_hash_md4.WIN.o src/emu_inc_hash_md4.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_hash_md5.WIN.o src/emu_inc_hash_md5.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_hash_ripemd160.WIN.o src/emu_inc_hash_ripemd160.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_hash_sha1.WIN.o src/emu_inc_hash_sha1.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_hash_sha256.WIN.o src/emu_inc_hash_sha256.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_hash_sha384.WIN.o src/emu_inc_hash_sha384.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_hash_sha512.WIN.o src/emu_inc_hash_sha512.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_hash_streebog256.WIN.o src/emu_inc_hash_streebog256.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_hash_streebog512.WIN.o src/emu_inc_hash_streebog512.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_cipher_aes.WIN.o src/emu_inc_cipher_aes.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_cipher_camellia.WIN.o src/emu_inc_cipher_camellia.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_cipher_des.WIN.o src/emu_inc_cipher_des.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_cipher_kuznyechik.WIN.o src/emu_inc_cipher_kuznyechik.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_cipher_serpent.WIN.o src/emu_inc_cipher_serpent.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/emu_inc_cipher_twofish.WIN.o src/emu_inc_cipher_twofish.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/brain.WIN.o src/brain.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/Alloc.WIN.o deps/LZMA-SDK/C/Alloc.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/Lzma2Dec.WIN.o deps/LZMA-SDK/C/Lzma2Dec.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/LzmaDec.WIN.o deps/LZMA-SDK/C/LzmaDec.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/adler32.WIN.o deps/zlib//adler32.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/crc32.WIN.o deps/zlib//crc32.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/deflate.WIN.o deps/zlib//deflate.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/inflate.WIN.o deps/zlib//inflate.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/inffast.WIN.o deps/zlib//inffast.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/inftrees.WIN.o deps/zlib//inftrees.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/trees.WIN.o deps/zlib//trees.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/gzread.WIN.o deps/zlib//gzread.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/gzwrite.WIN.o deps/zlib//gzwrite.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/gzclose.WIN.o deps/zlib//gzclose.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/zutil.WIN.o deps/zlib//zutil.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/gzlib.WIN.o deps/zlib//gzlib.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/contrib/minizip/unzip.WIN.o deps/zlib//contrib/minizip/unzip.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON -Wno-implicit-fallthrough -Wno-implicit-function-declaration -Wno-unused-parameter -DIOAPI_NO_64 -c -o obj/contrib/minizip/ioapi.WIN.o deps/zlib//contrib/minizip/ioapi.c
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  -c -o obj/xxhash.WIN.o deps/xxHash/xxhash.c
x86_64-w64-mingw32-ar rcs obj/combined.WIN.a obj/affinity.WIN.o obj/autotune.WIN.o obj/backend.WIN.o obj/benchmark.WIN.o obj/bitmap.WIN.o obj/bitops.WIN.o obj/combinator.WIN.o obj/common.WIN.o obj/convert.WIN.o obj/cpt.WIN.o obj/cpu_crc32.WIN.o obj/debugfile.WIN.o obj/dictstat.WIN.o obj/dispatch.WIN.o obj/dynloader.WIN.o obj/event.WIN.o obj/ext_ADL.WIN.o obj/ext_cuda.WIN.o obj/ext_nvapi.WIN.o obj/ext_nvml.WIN.o obj/ext_nvrtc.WIN.o obj/ext_OpenCL.WIN.o obj/ext_sysfs.WIN.o obj/ext_lzma.WIN.o obj/filehandling.WIN.o obj/folder.WIN.o obj/hashcat.WIN.o obj/hashes.WIN.o obj/hlfmt.WIN.o obj/hwmon.WIN.o obj/induct.WIN.o obj/interface.WIN.o obj/keyboard_layout.WIN.o obj/locking.WIN.o obj/logfile.WIN.o obj/loopback.WIN.o obj/memory.WIN.o obj/monitor.WIN.o obj/mpsp.WIN.o obj/outfile_check.WIN.o obj/outfile.WIN.o obj/pidfile.WIN.o obj/potfile.WIN.o obj/restore.WIN.o obj/rp.WIN.o obj/rp_cpu.WIN.o obj/selftest.WIN.o obj/slow_candidates.WIN.o obj/shared.WIN.o obj/status.WIN.o obj/stdout.WIN.o obj/straight.WIN.o obj/terminal.WIN.o obj/thread.WIN.o obj/timer.WIN.o obj/tuningdb.WIN.o obj/usage.WIN.o obj/user_options.WIN.o obj/wordlist.WIN.o obj/emu_general.WIN.o obj/emu_inc_common.WIN.o obj/emu_inc_platform.WIN.o obj/emu_inc_scalar.WIN.o obj/emu_inc_simd.WIN.o obj/emu_inc_rp.WIN.o obj/emu_inc_rp_optimized.WIN.o obj/emu_inc_truecrypt_crc32.WIN.o obj/emu_inc_truecrypt_keyfile.WIN.o obj/emu_inc_truecrypt_xts.WIN.o obj/emu_inc_veracrypt_xts.WIN.o obj/emu_inc_hash_md4.WIN.o obj/emu_inc_hash_md5.WIN.o obj/emu_inc_hash_ripemd160.WIN.o obj/emu_inc_hash_sha1.WIN.o obj/emu_inc_hash_sha256.WIN.o obj/emu_inc_hash_sha384.WIN.o obj/emu_inc_hash_sha512.WIN.o obj/emu_inc_hash_streebog256.WIN.o obj/emu_inc_hash_streebog512.WIN.o obj/emu_inc_cipher_aes.WIN.o obj/emu_inc_cipher_camellia.WIN.o obj/emu_inc_cipher_des.WIN.o obj/emu_inc_cipher_kuznyechik.WIN.o obj/emu_inc_cipher_serpent.WIN.o obj/emu_inc_cipher_twofish.WIN.o obj/brain.WIN.o obj/Alloc.WIN.o obj/Lzma2Dec.WIN.o obj/LzmaDec.WIN.o obj/adler32.WIN.o obj/crc32.WIN.o obj/deflate.WIN.o obj/inflate.WIN.o obj/inffast.WIN.o obj/inftrees.WIN.o obj/trees.WIN.o obj/gzread.WIN.o obj/gzwrite.WIN.o obj/gzclose.WIN.o obj/zutil.WIN.o obj/gzlib.WIN.o obj/contrib/minizip/unzip.WIN.o obj/contrib/minizip/ioapi.WIN.o obj/xxhash.WIN.o
x86_64-w64-mingw32-gcc  -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON      -o hashcat.exe src/main.c obj/combined.WIN.a /opt/win-iconv-64/lib/libiconv.a  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -DCOMPTIME=1566990075 -DVERSION_TAG=\"v5.1.0-1397-g7f4df9eb\"
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_18400.c obj/combined.WIN.a -o modules/module_18400.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_08200.c obj/combined.WIN.a -o modules/module_08200.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_05700.c obj/combined.WIN.a -o modules/module_05700.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_06600.c obj/combined.WIN.a -o modules/module_06600.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_07200.c obj/combined.WIN.a -o modules/module_07200.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_00150.c obj/combined.WIN.a -o modules/module_00150.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_01440.c obj/combined.WIN.a -o modules/module_01440.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_11760.c obj/combined.WIN.a -o modules/module_11760.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_05200.c obj/combined.WIN.a -o modules/module_05200.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_16000.c obj/combined.WIN.a -o modules/module_16000.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_06232.c obj/combined.WIN.a -o modules/module_06232.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_20300.c obj/combined.WIN.a -o modules/module_20300.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_06223.c obj/combined.WIN.a -o modules/module_06223.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
x86_64-w64-mingw32-gcc    -W -Wall -Wextra -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash -fPIC -I/opt/win-iconv-64/include/ -DWITH_HWMON  src/modules/module_09820.c obj/combined.WIN.a -o modules/module_09820.dll  -s -Wl,--dynamicbase -Wl,--nxcompat -lpsapi -lws2_32  -shared -fPIC -D MODULE_INTERFACE_VERSION_CURRENT=520
obj/combined.WIN.a(wordlist.WIN.o):wordlist.cSad.text+0x3b8): undefined reference to `iconv'
obj/combined.WIN.a(wordlist.WIN.o):wordlist.cSad.text+0xae7): undefined reference to `iconv'
obj/combined.WIN.a(wordlist.WIN.o):wordlist.cSad.text+0xf6e): undefined reference to `iconv_open'
obj/combined.WIN.a(wordlist.WIN.o):wordlist.cSad.text+0x1029): undefined reference to `iconv_close'
obj/combined.WIN.a(backend.WIN.o):backend.cSad.text+0x8f2b): undefined reference to `iconv'
obj/combined.WIN.a(backend.WIN.o):backend.cSad.text+0x92da): undefined reference to `iconv'
obj/combined.WIN.a(backend.WIN.o):backend.cSad.text+0x937a): undefined reference to `iconv_open'
obj/combined.WIN.a(dispatch.WIN.o):dispatch.cSad.text+0x272): undefined reference to `iconv'
obj/combined.WIN.a(dispatch.WIN.o):dispatch.cSad.text+0x457): undefined reference to `iconv_open'
obj/combined.WIN.a(dispatch.WIN.o):dispatch.cSad.text+0x486): undefined reference to `iconv_close'
collect2: error: ld returned 1 exit status
src/Makefile:658: recipe for target 'hashcat.exe' failed
make: *** [hashcat.exe] Error 1
make: *** Waiting for unfinished jobs...


How to finish this?

Thank you
Kasem
Reply
#2
wow that's quite a special case that you want to cross-compile it. All other cases are quite good documented but normally only the devs needs to build the windows binaries from linux.

It's documented (but not really good documented) in the source itself Wink

https://github.com/hashcat/hashcat/blob/...#L555-L560

(the directory /opt/win-iconv-64 should also match, otherwise you need to adapt the Makefile itself)

hope this helps !
Reply