roy@roy-laptop:~/chess/crafty/crafty-22.7$ make linux-amd64
make target=LINUX \
CC=gcc CXX=g++ \
CFLAGS=' -Wall -pipe \
-fbranch-probabilities -fomit-frame-pointer -O3 -march=k8' \
CXFLAGS= \
LDFLAGS=' -lpthread -lnuma -lstdc++' \
opt=' -DINLINE64 -DCPUS=8 -DNUMA -DLIBNUMA' \
crafty-make
make[1]: Entering directory `/home/roy/chess/crafty/crafty-22.7'
make[2]: Entering directory `/home/roy/chess/crafty/crafty-22.7'
gcc -Wall -pipe \
-fbranch-probabilities -fomit-frame-pointer -O3 -march=k8 -DINLINE64 -DCPUS=8 -DNUMA -DLIBNUMA -DLINUX -c crafty.c
In file included from crafty.c:21:
utility.c: In function ‘BookClusterIn’:
utility.c:71: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
utility.c: In function ‘BookClusterOut’:
utility.c:105: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
utility.c: In function ‘RestoreGame’:
utility.c
In file included from crafty.c:23:
book.c: In function ‘Book’:
book.c:94: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
book.c:98: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
book.c:132: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
book.c:137: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
book.c: In function ‘BookPonderMove’:
book.c:834: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
book.c:838: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
book.c: In function ‘BookUp’:
book.c
book.c
book.c
In file included from crafty.c:24:
analyze.c: In function ‘Analyze’:
analyze.c:148: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
In file included from crafty.c:33:
init.c: In function ‘Initialize’:
init.c:75: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
In file included from crafty.c:37:
learn.c: In function ‘LearnBook’:
learn.c:215: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
In file included from crafty.c:38:
main.c:9:20: error: numa.h: No such file or directory
In file included from crafty.c:38:
main.c: In function ‘main’:
main.c
main.c
main.c
main.c:4001: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
main.c:4042: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
main.c:4054: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
main.c:4123: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
main.c:4148: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
In file included from crafty.c:39:
option.c: In function ‘Option’:
option.c:70: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
option.c:934: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
option.c
option.c
option.c
option.c
option.c
In file included from crafty.c:43:
resign.c: In function ‘ResignOrDraw’:
resign.c:107: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
resign.c:128: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
make[2]: *** [crafty.o] Error 1
make[2]: Leaving directory `/home/roy/chess/crafty/crafty-22.7'
make[1]: *** [crafty-make] Error 2
make[1]: Leaving directory `/home/roy/chess/crafty/crafty-22.7'
make: *** [linux-amd64] Error 2
roy@roy-laptop:~/chess/crafty/crafty-22.7$
Thanks,
Roy