I can not build base x64 exe:
bitboard.c: In function 'bitboards_init':
bitboard.c:175:29: warning: implicit declaration of function 'popcount16'; did you mean 'popcount'? [-Wimplicit-function-declaration]
PopCnt16[i] = (uint8_t) popcount16(i);
^~~~~~
popcount
I can not build base x64 exe: bitboard.c: In function 'bitboards_init': bitboard.c:175:29: warning: implicit declaration of function 'popcount16'; did you mean 'popcount'? [-Wimplicit-function-declaration] PopCnt16[i] = (uint8_t) popcount16(i); ^
~~~~~ popcount=========================
Config: debug: 'no' optimize: 'yes' arch: 'x86_64' bits: '64' prefetch: 'yes' popcnt: 'no' sse: 'yes' pext: 'no'
Flags: CC: gcc CFLAGS: -Wall -std=c11 -D__USE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA LDFLAGS: -lm
Testing config sanity. If this fails, try 'make help' ...
Step 1/4. Building instrumented executable ... make ARCH=x86-64 COMP=mingw gcc-profile-make make[1]: Entering directory
/g/MinGW/CFish/Test_22/Cfish-master_x64_test/Cfish-master/src' make ARCH=x86-64 COMP=mingw \ EXTRACFLAGS='-fprofile-generate' \ EXTRALDFLAGS='-lgcov' \ all make[2]: Entering directory
/g/MinGW/CFish/Test_22/Cfish-master_x64_test/Cfish-master/src' gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o benchmark.o benchmark.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o bitbase.o bitbase.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o bitboard.o bitboard.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o endgame.o endgame.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o evaluate.o evaluate.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o main.o main.c bitboard.c: In function 'bitboards_init': bitboard.c:175:29: warning: implicit declaration of function 'popcount16'; did you mean 'popcount'? [-Wimplicit-function-declaration] PopCnt16[i] = (uint8_t) popcount16(i); ^~~~~~ popcount gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o material.o material.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o misc.o misc.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o movegen.o movegen.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o movepick.o movepick.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o pawns.o pawns.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o position.o position.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o psqt.o psqt.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o search.o search.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o tbprobe.o tbprobe.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o thread.o thread.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o timeman.o timeman.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o tt.o tt.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o uci.o uci.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o ucioption.o ucioption.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o numa.o numa.c gcc -Wall -std=c11 -fprofile-generate -DUSE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o settings.o settings.c gcc -Wall -std=c11 -fprofile-generate -D__USE_MINGW_ANSI_STDIO=1 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -march=native -DNUMA -c -o polybook.o polybook.c gcc -o cfish benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o material.o misc.o movegen.o movepick.o pawns.o position.o psqt.o search.o tbprobe.o thread.o timeman.o tt.o uci.o ucioption.o numa.o settings.o polybook.o -lgcov -lm bitboard.o:bitboard.c:(.text+0x2ca): undefined reference topopcount16' collect2.exe: error: ld returned 1 exit status make[2]: *** [cfish] Error 1 make[2]: Leaving directory
/g/MinGW/CFish/Test_22/Cfish-master_x64_test/Cfish-master/src' make[1]: [gcc-profile-make] Error 2 make[1]: Leaving directory `/g/MinGW/CFish/Test_22/Cfish-master_x64_test/Cfish-master/src' make: [profile-build] Error 2 strip: 'CFish.exe': No such file