Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Trying to compile crafty

Author: Mike Byrne

Date: 04:31:15 12/11/03

Go up one level in this thread


On December 10, 2003 at 04:13:39, Nolan Denson wrote:

>Anyone understand why i may be getting the following errors:
>
>I get the following error when my utility.c files is included in my crafty.c
>file.  When i delete it .. you will see the other error i get.
>
>ompiling...
>icl BLOB.C
>c:\Crafty\utility.c(2337): error: identifier "DWORD_PTR" is undefined
>    DWORD_PTR dwMask;
>    ^
>c:\Crafty\utility.c(2410): error: identifier "DWORD_PTR" is undefined
>      SetThreadAffinityMask(GetCurrentThread(), (DWORD_PTR) ullMask);
>                                                 ^
>c:\Crafty\utility.c(2410): error: expected a ")"
>      SetThreadAffinityMask(GetCurrentThread(), (DWORD_PTR) ullMask);
>                                                            ^
>c:\Crafty\utility.c(2412): error: expected a ")"
>      SetThreadAffinityMask(hThread, (DWORD_PTR) ullMask);
>                                                 ^
>c:\Crafty\utility.c(2424): error: identifier "DWORD_PTR" is undefined
>    DWORD_PTR dwAffinityMask;
>    ^
>c:\Crafty\utility.c(2448): error: identifier "DWORD_PTR" is undefined
>    DWORD_PTR dwAffinityMask;
>    ^
>compilation aborted for c:\Crafty\BLOB.C (code 2)
>Error executing xicl6.exe.
>
>Crafty.exe - 6 error(s), 0 warning(s)
>
>This is what happens when i delete the utility.c file from the crafty.c
>
>
>Linking...
>xilink6: executing 'C:\PROGRA~1\MICROS~3\VC98\Bin\link.exe'
>BLOB.OBJ : error LNK2001: unresolved external symbol _Print
>BLOB.OBJ : error LNK2001: unresolved external symbol @Read@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @NewGame@4
>BLOB.OBJ : error LNK2001: unresolved external symbol @ReadClock@4
>BLOB.OBJ : error LNK2001: unresolved external symbol @ReadParse@12
>BLOB.OBJ : error LNK2001: unresolved external symbol @Reverse@0
>BLOB.OBJ : error LNK2001: unresolved external symbol @Normal@0
>BLOB.OBJ : error LNK2001: unresolved external symbol @DisplayTime@4
>BLOB.OBJ : error LNK2001: unresolved external symbol @Kibitz@40
>BLOB.OBJ : error LNK2001: unresolved external symbol @DisplayChessBoard@236
>BLOB.OBJ : error LNK2001: unresolved external symbol @LegalMove@16
>BLOB.OBJ : error LNK2001: unresolved external symbol @RestoreGame@0
>BLOB.OBJ : error LNK2001: unresolved external symbol @CheckInput@0
>BLOB.OBJ : error LNK2001: unresolved external symbol @PinnedOnKing@12
>BLOB.OBJ : error LNK2001: unresolved external symbol @InterposeSquares@12
>BLOB.OBJ : error LNK2001: unresolved external symbol @Display2BitBoards@16
>BLOB.OBJ : error LNK2001: unresolved external symbol @DisplayChessMove@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @StrCnt@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @PrintKM@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @Pass@0
>BLOB.OBJ : error LNK2001: unresolved external symbol @FTbSetCacheSize@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @ParseTime@4
>BLOB.OBJ : error LNK2001: unresolved external symbol @DisplayHHMM@4
>BLOB.OBJ : error LNK2001: unresolved external symbol @DisplayPieceBoards@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @IInitializeTb@4
>BLOB.OBJ : error LNK2001: unresolved external symbol @ReadClear@0
>BLOB.OBJ : error LNK2001: unresolved external symbol @WinFreeInterleaved@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @WinMallocInterleaved@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @ReadPGN@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @ReadNextMove@16
>BLOB.OBJ : error LNK2001: unresolved external symbol @EGTBPV@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @DisplayEvaluation@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @ClearHashTableScores@4
>BLOB.OBJ : error LNK2001: unresolved external symbol @HasOpposition@12
>BLOB.OBJ : error LNK2001: unresolved external symbol @DisplayTimeKibitz@4
>BLOB.OBJ : error LNK2001: unresolved external symbol @ReadChessMove@16
>BLOB.OBJ : error LNK2001: unresolved external symbol @DisplayEvaluationKibitz@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @FormatPV@272
>BLOB.OBJ : error LNK2001: unresolved external symbol @IDescFindFromCounters@4
>BLOB.OBJ : error LNK2001: unresolved external symbol @FRegisteredFun@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @PfnIndCalcFun@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @WinStartThread@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @DisplayPV@24
>BLOB.OBJ : error LNK2001: unresolved external symbol @CopyToSMP@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @CopyFromSMP@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @Random32@0
>BLOB.OBJ : error LNK2001: unresolved external symbol @WinMalloc@8
>BLOB.OBJ : error LNK2001: unresolved external symbol @DisplayTreeState@16
>BLOB.OBJ : error LNK2001: unresolved external symbol @Random64@0
>BLOB.OBJ : error LNK2001: unresolved external symbol @KingPawnSquare@16
>BLOB.OBJ : error LNK2001: unresolved external symbol _init_r45
>BLOB.OBJ : error LNK2001: unresolved external symbol _init_l45
>BLOB.OBJ : error LNK2001: unresolved external symbol _init_l90
>BLOB.OBJ : error LNK2001: unresolved external symbol
>@ComputeAttacksAndMobility@0
>Release/Crafty.exe : fatal error LNK1120: 54 unresolved externals
>Error executing xilink6.exe.

you can't delete utility.c ..all the new "Numa" stuff is causing the errors in
msvc 6.0 ...and it's hard to figure what to take out and what to leave in if you
want smp ...I haven't been able to do it yet ...unless you turn smp off which I
know you don't want to do ..



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.