Hi --
This is possibly a duplicate message, somy apologies.
I am running OS X 10.4.11 on a MacBook Pro and get the following
output when attempting to compile crafty 21.6.
Any thoughts? I do notice that the option -archx86_64 is set. Is that
okay on Tiger?
Rick
The output follow:
<.....
cp /sw/src/crafty.doc.ascii .
cp /sw/src/crafty.doc.ps .
unzip -o /sw/src/medium.zip
Archive: /sw/src/medium.zip
inflating: book.txt
cp /sw/src/start.pgn.gz .
patch -p1 </sw/fink/dists/unstable/main/finkinfo/games/crafty.patch
patching file Makefile
patching file lock.h
patching file option.c
patching file utility.c
perl -ne 'print if /\Q*****\E/..m|\Q*/\E|;' main.c>README
gunzip ../start.pgn.gz
/var/tmp/tmp.1.w3NNey
make target=FreeBSD \
CC=gcc CXX=g++ \
CFLAGS=' -arch i386 -arch x86_64 -DCPUS=1 -Wall -pipe -O3' \
CXFLAGS=' -arch i386 -arch x86_64 -DCPUS=1 ' \
LDFLAGS='-L/sw/lib -arch i386 -arch x86_64' \
LIBS='-lstdc++' \
opt='-DBOOKDIR=\"/sw/lib/crafty\" -DTBDIR=\"/sw/lib/crafty/TB
\"' \
crafty-make
gcc -arch i386 -arch x86_64 -DCPUS=1 -Wall -pipe -O3 -DBOOKDIR=\"/sw/
lib/crafty\" -DTBDIR=\"/sw/lib/crafty/TB\" -DFreeBSD -c crafty.c
In file included from crafty.c:13:
make.c: In function 'MakeMove':
make.c:21: warning: unused variable 'i'
In file included from crafty.c:13:
make.c: In function 'MakeMove':
make.c:21: warning: unused variable 'i'
In file included from crafty.c:14:
unmake.c: In function 'UnmakeMove':
unmake.c:18: warning: unused variable 'i'
In file included from crafty.c:14:
unmake.c: In function 'UnmakeMove':
unmake.c:18: warning: unused variable 'i'
In file included from crafty.c:32:
evtest.c: In function 'EVTest':
evtest.c:65: warning: unused variable 's4'
evtest.c:65: warning: unused variable 's3'
evtest.c:65: warning: unused variable 's2'
evtest.c:65: warning: unused variable 's1'
In file included from crafty.c:32:
evtest.c: In function 'EVTest':
evtest.c:65: warning: unused variable 's4'
evtest.c:65: warning: unused variable 's3'
evtest.c:65: warning: unused variable 's2'
evtest.c:65: warning: unused variable 's1'
g++ -c -arch i386 -arch x86_64 -DCPUS=1 -DBOOKDIR=\"/sw/lib/crafty\"
-DTBDIR=\"/sw/lib/crafty/TB\" -DFreeBSD egtb.cpp
egtb.cpp:84: error: 'lock_t' does not name a type
egtb.cpp:84: error: 'lock_t' does not name a type
egtb.cpp:4483: warning: 'TB_CRC_CHECK' initialized and declared 'extern'
egtb.cpp:4483: warning: 'TB_CRC_CHECK' initialized and declared 'extern'
lipo: can't figure out the architecture type of: /var/tmp//ccKFEKF7.out
make[2]: *** [egtb.o] Error 1
make[1]: *** [crafty-make] Error 2
make: *** [darwin] Error 2
/var/tmp/tmp.1.w3NNey: line 5: ./crafty: No such file or directory
/var/tmp/tmp.1.w3NNey: line 6: ./crafty: No such file or directory
### execution of /var/tmp/tmp.1.w3NNey failed, exit code 127
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-crafty-21.6-1001
(Reading database ... 16657 files and directories currently installed.)
Removing fink-buildlock-crafty-21.6-1001 ...
Failed: phase compiling: crafty-21.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users