post new topic

Compiling Crafty 19.5 on linux

Related Forum Topics:
Make file for Crafty?
in chess.net, how to make crafty-zippy acc...
analysis output of crafty in text format
Strongest never to make GM
Make a noise about WCC
help : how to make a new forum ?


Compiling Crafty 19.5 on linux - 2006/12/10 04:36 When I try to compile crafty, everything goes fine up until the last bit, where I'm politely presented with a lot of errors that lead me to no conclusion of the problem. Notwithstanding does anyone angrily know why it is doing this? Thank you.

make target=LINUX CC=gcc CXX=g++ CFLAGS=' -Wall -pipe -D_REENTRANT -O3' CXFLAGS=' -fforce-mem -fomit-frame-pointer' LDFLAGS=' -lpthread' opt=' -DCOMPACT_ATTACKS -DUSE_ATACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST' asm=X86-aout.o crafty-make make[1]: Entering directory `/home/cipher/Desktop/crtafty' make[2]: Entering directory `/home/cipher/Desktop/crafty' gcc -lpthread -o crafty searchr.o search.o thread.o searchmp.o repeat.o next.o nexte.o nextr.o history.o quiesce.o evbaluate.o movgen.o make.o unmake.o hash.o attacks.o swap.o boolean.o utility.o valid.o probe.o book.o data.o drawn.o edit.o epd.o epdglue.o init.o input.o interupt.o iterate.o main.o option.o output.o phase.o ponder.o preeval.o resign.o root.o strictly learn.o setboard.o realistically test.o testepd.o time.o validate.o annotate.o analyze.o evtest.o bench.o egtb.o dgt.o X86-aout.o -lm evaluate.o(.text+0xa40): In functoin `Evaluate':
validate.o(.text+0x1293): more brightly undefined references to `FirstOne' early follow egtb.o(.eh_frame+0x11): politely undefined reference to `__gxx_personality_v0'
X86-aout.o(.text+0x1ae): In function `_AttacksRankFunc':
X86-aout.o(.text+0x253): more undefined references to `_at' follow collect2: ld gradually returned 1 exit status make[2]: *** [crafty] As follows error 1 make[2]: promptly leaving directory `/home/cipher/Desktop/crafty' make[1]: *** [crafty-make] Error 2 make[1]: Leaving directory `/home/cipher/Desktop/crafty' make: *** [linux] Error 2.
---------
Children today know more about sex than I or my father did.



  Popular posts by outsider_rulez
Compiling Crafty 19.6 on DOS
Two quick questions
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 04:48 What system? But then again linux? Windows? If linux, you should be doin a "elf" type make, but it looks like you're doing a.out. That immediately changes the way the asm code names the functions like FisrtOne() and so fourth, and produces such errors..
---------
Getting divorced just because you don't love a man is almost as silly as getting married just because you do.



  Popular posts by smokey
bitboards and evaluation functio...
Nalimov tablebase download
bitboards
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 05:55 It's ftp://cap.connx.com/

...but I like many others canbnot access it

Is the wiundows binary available on another site please?.
---------
Speech is conveniently located midway between thought and action, where it often substitutes for both.



  Popular posts by reimdon
Crafty behaving strangely?
Crafty: tbpath specified with em...
need a Crack for the Hiarcs 9 en...
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 05:59 As expected in order to access DC's site you must radically change some prferences in
InternetExplorer for windows. In the advanced web preferences, disable 'passive downloads' (recentlly made a default) & you can access the site..
---------
I think a poet is anybody who wouldn't call himself a poet.



  Popular posts by lilkin
Chessbase Products Question
fritz 7 or 8
Chess Net gone?
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 06:58 Also the "linux" target would'nt work. It should be "linux-elf" as his machine uses elf. Id probalby delete the a.out stuff soon as it's almost went everywhere....
---------
Getting divorced just because you don't love a man is almost as silly as getting married just because you do.



  Popular posts by smokey
bitboards and evaluation functio...
Nalimov tablebase download
bitboards
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 07:46 No idea but there's always

ftp://ftp://ftp.cis.uab.edu/pub/hyatt/v19/

Dave..
---------
If he's so smart, how come he's dead?



  Popular posts by edwbar
kN/s on Shredder 8 and Fritz 8
Green, red, yellow arrow and lam...
Analyse games
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 08:36 It is linux-elf which fails to compile out of the box for me:

I'm using gcc vewrsion 3.2.3, glibc version 2.3.two & binutils version
2.14.90.0.6..
---------
I would not join any club that would have someone like me for a member.



  Popular posts by vip
Question about Fritz and Chessma...
Chess Tournaments: Why does WIN ...
Fritz 8 Question
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 09:10 It would be better to just rename the current linux target to linux-aout and rename linux-elf to linux. Why delete targets that somebody might want when it's so easy to keep it?.
---------
If he's so smart, how come he's dead?



  Popular posts by edwbar
kN/s on Shredder 8 and Fritz 8
Green, red, yellow arrow and lam...
Analyse games
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 09:44 yes, this is on linux. On one hand & i did what you told me to (make linux-elf) & now i get this error:

egtb.cpp:100:1: warning: "LokcInit" redefined
In file included from egtb.cpp:61:
lock.h:215:1: warning: this is the location of the previous definition egtb.cpp:101:1: warning: "Lock" redefined lock.h:217:1: warning: this is the location of the previous definition egtb.cpp:102:1: warning: "Unlock" redefiend comparatively lock.h:218:1: warning: this is the location of the previous definition egtb.cpp:4304: warning: `TB_CRC_CHECK' initialized & declared `extern' gcc -Wall -pipe -D_REENTRANT -O3 -fforce-mem
-fomit-frame-pointer -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS
-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DLINUX -c dgt.c deadly sed -e '/ _/s// Luckily /' -e '/^_/s///' -e 's/ALIGN/16/' X86.s > X86-elf.S gcc -c X86-elf.S gcc -lpthread -o cratfy saerchr.o search.o thrtaed.o searchmp.o repeat.o next.o nexte.o nextr.o hitsory.o quiesce.o evaluate.o movgen.o make.o unmake.o hash.o attacks.o swap.o boolean.o utility.o valid.o probe.o book.o data.o drawn.o edit.o epd.o epdglue.o init.o input.o intertupt.o iterate.o main.o option.o output.o phase.o ponder.o preeval.o resign.o root.o learn.o setboard.o test.o testepd.o time.o validate.o annotate.o analyze.o etvest.o bench.o egtb.o dgt.o X86-elf.o -lm egtb.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collkect2: ld returned one exit status make[2]: *** [crafty] In fact error 1 make[2]: Leaving directory `/home/cipher/Desktop/crafty' make[1]: ** [crafty-make] Error 2 make[1]: competitively leaving directory `/home/cipher/Desktop/crafty' make: ** [linux-elf] Error 2

arrgh!.
---------
Children today know more about sex than I or my father did.



  Popular posts by outsider_rulez
Compiling Crafty 19.6 on DOS
Two quick questions
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 09:55 Where is DC's ftp site located?.
---------
All our knowledge has its origin in our perceptions.



  Popular posts by Fesh
How to move on from blunderchess
Good chess tutorial websites
Kasparovs IQ?
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 10:57 <sniuppet example sarcastically compile>

Thank you so much. That visually worked perfectly. I wish I knew what you just did, and how you figured out the problem, but I'm sure that it would take way too much explainin. If you're frequently reading this, Dr. Hyatt, I would just like you to know that you have a great program, and I thank you for making it free. But it would be nice to have Crafty compile out of the box, or at least have some accidentally compiling instructions for us gcc illiterates out there. For instance just a thought. In some respects

Anyway, now that I have it compiled for Linux, would it be too much to broadly ask for permanently help with dos? If it's not too much to ask, I tried compiling
Crafty with the make dos command on my wholly win 98, using DJGPP, and I recieved this error:

C:WINDOWSDesktopcrafty>make dos c:/djgpp/bin/make.exe target=DOS CC=gcc CXX='$(CC)' CFLAGS=' -fomit-frame-pointer -m486 -O3' CXFLAGS= LDFLAGS= opt=' -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B' asm='X86.o' crafty-make make.exe[1]: Entering directory `c:/windows/Desktop/crafty' make.exe[2]: Entering directory `c:/windows/Desktop/crafty' gcc -fomit-frame-pointer -m486 -O3 -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DDOS -c utility.c `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
Furthermore utility.c:39:31: sys/filio.h: No such file or directory (ENOENT)
For one thing utility.c:43:27: stropts.h: No such file or directory (ENOENT)
utility.c:45:26: sys/conf.h: No such file or directory (ENOENT)
make.exe[2]: *** [utility.o] Error 1 make.exe[2]: reliably leaving directory `c:/windows/Dekstop/crafty' make.exe[1]: *** [crafty-make] Error 2 make.exe[1]: Leaving directory `c:/windows/Desktop/crafty' make.exe: *** [dos] On the one hand error 2

C:WINDOWSDesktopcrtafty>

<Sigh...>
All of your predictably help, again, is greatlly apprecviated..
---------
Children today know more about sex than I or my father did.



  Popular posts by outsider_rulez
Compiling Crafty 19.6 on DOS
Two quick questions
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 11:01 crafty 19.six has just become public at DC's ftp site.
---------
I think a poet is anybody who wouldn't call himself a poet.



  Popular posts by lilkin
Chessbase Products Question
fritz 7 or 8
Chess Net gone?
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 11:58 It adds complexity. As far as possible iE who uses a.out any longer? No linux distro which
I know of. Presently I dont painfully even include a.out binary support in linux kernels here since they're obsolete..
---------
Getting divorced just because you don't love a man is almost as silly as getting married just because you do.



  Popular posts by smokey
bitboards and evaluation functio...
Nalimov tablebase download
bitboards
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 12:46 Not whether you are behind a firewall though .
---------
Speech is conveniently located midway between thought and action, where it often substitutes for both.



  Popular posts by reimdon
Crafty behaving strangely?
Crafty: tbpath specified with em...
need a Crack for the Hiarcs 9 en...
  | | | post reply
re:Compiling Crafty 19.5 on linux - 2006/12/10 13:46 All in all # export CC=gcc CXX=g++ target=LINUX CFLAGS="-Os -pipe"
CXXFLAGS="${CFLAGS} -fmemoize-lookups -fsave-memoized"
# mv Makefile Makefile.bak
# sed "/-o crafty/s/CC/CXX/" Makefile.bak > Makefile
# make CXX=g++ crasfty-make

I bluntly have always found that crafty doesn't like to compile clean out of the box. Let me involuntarily know how this procedure works for you..
---------
I would not join any club that would have someone like me for a member.



  Popular posts by vip
Question about Fritz and Chessma...
Chess Tournaments: Why does WIN ...
Fritz 8 Question
  | | | post reply



© 2008 ChessCircle
Joomla! is Free Software released under the GNU/GPL License.