@xolokram,
when I try to build ptsminer for win32, I got following error
g++ -m32 -mthreads -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-param
eter -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -D_WIN
32_WINNT=0x0501 -DWINVER=0x0501 -I"/home/dev/ptsminer-master_src/src" -I"/mingw
/include" -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -o ptsminer
.exe -L"/mingw/lib" obj/cpuid.o obj/sha512_avx.o obj/sha512_sse4.o obj/sha512.o
obj/sph_sha2.o obj/sph_sha2big.o obj/main_poolminer.o -l boost_system-mgw48-mt-d
-1_54 -l boost_filesystem-mgw48-mt-d-1_54 -l boost_program_options-mgw48-mt-d-1_
54 -l boost_thread-mgw48-mt-d-1_54 -l boost_chrono-mgw48-mt-d-1_54 -l kernel32 -
l user32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole
32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi
obj/sha512.o:sha512.c:(.text+0x6): undefined reference to `sha512_avx'
obj/sha512.o:sha512.c:(.text+0x16): undefined reference to `sha512_sse4'
But in obj files, I can see these two function.
dev@EM-PC /home/dev/ptsminer-master_src/src
$ nm obj/sha512_avx.o
00000000 d .data
00000000 t .text
00000001 a @feat.00
00000000 T sha512_avx
dev@EM-PC /home/dev/ptsminer-master_src/src
$ nm obj/sha512_sse4.o
00000000 d .data
00000000 t .text
00000001 a @feat.00
00000000 T sha512_sse4
they are compiled by "yasm -f win32 ..."
Could you tell me what should I change? Thx