🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #1830

Re: GNU/Chess 5.03 Released

#1830
From: Thomas T. Veldhouse
Date: Thu, 21 Feb 2002 15:19
456 lines
23360 bytes
Compiled fine for me on FreeBSD 4.5-RELEASE.

gcc 2.95.3 and  gmake 3.79.1

Tom Veldhouse
veldy71@yahoo.com


On Wed, 20 Feb 2002 11:15:49 -0800, "Dann Corbit" <dcorbit@connx.com>
wrote:

>"Simon Waters" <Simon@wretched.demon.co.uk> wrote in message
>news:3C737CD0.98486B66@wretched.demon.co.uk...
>> Dann Corbit wrote:
>> >
>> > Here is my tweaked version (the stock version won't even build on my
>PC):
>> > ftp://cap.connx.com/pub/chess-engines/new-approach/GnuChess-503.exe
>>
>> Did you try using gcc?
>
>This is with the unmodified version (straight from the tar file):
>
>$ gcc --version
>2.95.3-5
>
>dcorbit@DANNFAST l:/gnuchess-5.03
>$ ./configure
>checking for a BSD compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking for mawk... no
>checking for gawk... gawk
>checking whether make sets ${MAKE}... yes
>checking for gcc... gcc
>checking for C compiler default output... a.exe
>checking whether the C compiler works... yes
>checking whether we are cross compiling... no
>checking for executable suffix... .exe
>checking for object suffix... o
>checking whether we are using the GNU C compiler... yes
>checking whether gcc accepts -g... yes
>checking for style of include used by make... GNU
>checking dependency style of gcc... gcc
>checking for a BSD compatible install... /usr/bin/install -c
>checking for mawk... (cached) gawk
>checking whether ln -s works... yes
>checking whether struct tm is in sys/time.h or time.h... time.h
>checking for sqrt in -lm... yes
>checking for tputs in -lncurses... yes
>checking for readline in -lreadline... yes
>checking how to run the C preprocessor... gcc -E
>checking for ANSI C header files... yes
>checking for fcntl.h... yes
>checking for time.h... yes
>checking for sys/file.h... yes
>checking for sys/ioctl.h... yes
>checking for sys/time.h... yes
>checking for unistd.h... yes
>checking for errno.h... yes
>checking for readline/readline.h... yes
>checking for readline/history.h... yes
>checking for gcc option to accept ANSI C... none needed
>checking for an ANSI C-conforming const... yes
>checking for inline... inline
>checking for sys/types.h... yes
>checking for sys/stat.h... yes
>checking for stdlib.h... yes
>checking for string.h... yes
>checking for memory.h... yes
>checking for strings.h... yes
>checking for inttypes.h... no
>checking for stdint.h... no
>checking for unistd.h... (cached) yes
>checking for size_t... yes
>checking whether time.h and sys/time.h may both be included... yes
>checking for long... yes
>checking size of long... 4
>checking whether byte ordering is bigendian... no
>checking return type of signal handlers... void
>checking for stdlib.h... (cached) yes
>checking for working malloc... yes
>checking for working memcmp... yes
>checking for alarm... yes
>checking for gettimeofday... yes
>checking for strchr... yes
>checking for strcspn... yes
>checking for strstr... yes
>checking for strtol... yes
>checking for strtoul... yes
>checking for strerror... yes
>checking for memset... yes
>configure: creating ./config.status
>config.status: creating Makefile
>config.status: creating src/Makefile
>config.status: creating src/config.h
>
>dcorbit@DANNFAST l:/gnuchess-5.03
>$ make
>Making all in src
>make[1]: Entering directory `/cygdrive/l/gnuchess-5.03/src'
>cd .. \
>  && CONFIG_FILES= CONFIG_HEADERS=src/config.h \
>     /bin/sh ./config.status
>config.status: creating src/config.h
>config.status: src/config.h is unchanged
>make  all-am
>make[2]: Entering directory `/cygdrive/l/gnuchess-5.03/src'
>source='atak.c' object='atak.o' libtool=no \
>depfile='.deps/atak.Po' tmpdepfile='.deps/atak.TPo' \
>depmode=gcc /bin/sh ../depcomp \
>gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c `test -f atak.c || echo
>'./'`atak.c
>In file included from atak.c:29:
>common.h:46: parse error before `BitBoard'
>common.h:46: warning: data definition has no type or storage class
>common.h:47: parse error before `HashType'
>common.h:47: warning: data definition has no type or storage class
>common.h:48: parse error before `KeyType'
>common.h:48: warning: data definition has no type or storage class
>common.h:52: parse error before `BitBoard'
>common.h:52: warning: no semicolon at end of struct or union
>common.h:53: warning: data definition has no type or storage class
>common.h:54: parse error before `blocker'
>common.h:54: warning: data definition has no type or storage class
>common.h:55: parse error before `blockerr90'
>common.h:55: warning: data definition has no type or storage class
>common.h:56: parse error before `blockerr45'
>common.h:56: warning: data definition has no type or storage class
>common.h:57: parse error before `blockerr315'
>common.h:57: warning: data definition has no type or storage class
>common.h:65: parse error before `}'
>common.h:65: warning: data definition has no type or storage class
>common.h:81: parse error before `HashType'
>common.h:81: warning: no semicolon at end of struct or union
>common.h:82: warning: data definition has no type or storage class
>common.h:84: parse error before `}'
>common.h:84: warning: data definition has no type or storage class
>common.h:88: parse error before `KeyType'
>common.h:88: warning: no semicolon at end of struct or union
>common.h:93: parse error before `}'
>common.h:93: warning: data definition has no type or storage class
>common.h:97: parse error before `KeyType'
>common.h:97: warning: no semicolon at end of struct or union
>common.h:98: warning: data definition has no type or storage class
>common.h:99: parse error before `weaked'
>common.h:99: warning: data definition has no type or storage class
>common.h:100: conflicting types for `score'
>common.h:90: previous declaration of `score'
>common.h:102: parse error before `}'
>common.h:102: warning: data definition has no type or storage class
>common.h:269: parse error before `DistMap'
>common.h:269: warning: data definition has no type or storage class
>common.h:270: parse error before `BitPosArray'
>common.h:270: warning: data definition has no type or storage class
>common.h:271: parse error before `NotBitPosArray'
>common.h:271: warning: data definition has no type or storage class
>common.h:272: parse error before `MoveArray'
>common.h:272: warning: data definition has no type or storage class
>common.h:273: parse error before `Ray'
>common.h:273: warning: data definition has no type or storage class
>common.h:274: parse error before `FromToRay'
>common.h:274: warning: data definition has no type or storage class
>common.h:275: parse error before `RankBit'
>common.h:275: warning: data definition has no type or storage class
>common.h:276: parse error before `FileBit'
>common.h:276: warning: data definition has no type or storage class
>common.h:277: parse error before `Ataks'
>common.h:277: warning: data definition has no type or storage class
>common.h:278: parse error before `PassedPawnMask'
>common.h:278: warning: data definition has no type or storage class
>common.h:279: parse error before `IsolaniMask'
>common.h:279: warning: data definition has no type or storage class
>common.h:280: parse error before `SquarePawnMask'
>common.h:280: warning: data definition has no type or storage class
>common.h:281: parse error before `Rook00Atak'
>common.h:281: warning: data definition has no type or storage class
>common.h:282: parse error before `Rook90Atak'
>common.h:282: warning: data definition has no type or storage class
>common.h:283: parse error before `Bishop45Atak'
>common.h:283: warning: data definition has no type or storage class
>common.h:284: parse error before `Bishop315Atak'
>common.h:284: warning: data definition has no type or storage class
>common.h:285: parse error before `pinned'
>common.h:285: warning: data definition has no type or storage class
>common.h:286: parse error before `rings'
>common.h:286: warning: data definition has no type or storage class
>common.h:287: parse error before `stonewall'
>common.h:287: warning: data definition has no type or storage class
>common.h:288: parse error before `pieces'
>common.h:288: warning: data definition has no type or storage class
>common.h:289: parse error before `mask_kr_trapped_w'
>common.h:289: warning: data definition has no type or storage class
>common.h:290: parse error before `mask_kr_trapped_b'
>common.h:290: warning: data definition has no type or storage class
>common.h:291: parse error before `mask_qr_trapped_w'
>common.h:291: warning: data definition has no type or storage class
>common.h:292: parse error before `mask_qr_trapped_b'
>common.h:292: warning: data definition has no type or storage class
>common.h:293: parse error before `boardhalf'
>common.h:293: warning: data definition has no type or storage class
>common.h:294: parse error before `boardside'
>common.h:294: warning: data definition has no type or storage class
>common.h:300: parse error before `Game'
>common.h:300: warning: data definition has no type or storage class
>common.h:304: parse error before `board'
>common.h:304: warning: data definition has no type or storage class
>common.h:307: parse error before `hashcode'
>common.h:307: warning: data definition has no type or storage class
>common.h:308: parse error before `ephash'
>common.h:308: warning: data definition has no type or storage class
>common.h:309: parse error before `WKCastlehash'
>common.h:309: warning: data definition has no type or storage class
>common.h:310: parse error before `WQCastlehash'
>common.h:310: warning: data definition has no type or storage class
>common.h:311: parse error before `BKCastlehash'
>common.h:311: warning: data definition has no type or storage class
>common.h:312: parse error before `BQCastlehash'
>common.h:312: warning: data definition has no type or storage class
>common.h:313: parse error before `Sidehash'
>common.h:313: warning: data definition has no type or storage class
>common.h:314: parse error before `HashKey'
>common.h:314: warning: data definition has no type or storage class
>common.h:315: parse error before `PawnHashKey'
>common.h:315: warning: data definition has no type or storage class
>common.h:316: parse error before `*'
>common.h:316: warning: data definition has no type or storage class
>common.h:317: parse error before `*'
>common.h:317: warning: data definition has no type or storage class
>common.h:352: conflicting types for `SANmv'
>common.h:83: previous declaration of `SANmv'
>common.h:422: `king' redeclared as different kind of symbol
>common.h:64: previous declaration of `king'
>common.h:422: warning: `king' was declared `extern' and later `static'
>common.h:515: parse error before `AttackTo'
>common.h:515: warning: data definition has no type or storage class
>common.h:516: parse error before `AttackXTo'
>common.h:516: warning: data definition has no type or storage class
>common.h:517: parse error before `AttackFrom'
>common.h:517: warning: data definition has no type or storage class
>common.h:518: parse error before `AttackXFrom'
>common.h:518: warning: data definition has no type or storage class
>common.h:520: parse error before `*'
>common.h:525: parse error before `BitBoard'
>common.h:558: warning: parameter names (without types) in function
>declaration
>common.h:602: parse error before `*'
>common.h:611: parse error before `Rand64'
>common.h:611: warning: data definition has no type or storage class
>In file included from common.h:640,
>                 from atak.c:29:
>inlines.h:35: parse error before `b'
>inlines.h: In function `leadz':
>inlines.h:45: parse error before `BitBoard'
>inlines.h:45: warning: no semicolon at end of struct or union
>inlines.h: At top level:
>inlines.h:47: warning: data definition has no type or storage class
>inlines.h:49: parse error before `.'
>inlines.h:73: parse error before `b'
>inlines.h: In function `nbits':
>inlines.h:82: parse error before `BitBoard'
>inlines.h:82: warning: no semicolon at end of struct or union
>inlines.h: At top level:
>inlines.h:84: warning: data definition has no type or storage class
>inlines.h:86: parse error before `.'
>atak.c: In function `SqAtakd':
>atak.c:39: syntax error before `*'
>atak.c:42: request for member `b' in something not a structure or union
>atak.c:45: subscripted value is neither array nor pointer
>atak.c:49: subscripted value is neither array nor pointer
>atak.c:53: subscripted value is neither array nor pointer
>atak.c:56: `c' undeclared (first use in this function)
>atak.c:56: (Each undeclared identifier is reported only once
>atak.c:56: for each function it appears in.)
>atak.c:57: request for member `blocker' in something not a structure or
>union
>atak.c:60: `b' undeclared (first use in this function)
>atak.c:60: subscripted value is neither array nor pointer
>atak.c:60: subscripted value is neither array nor pointer
>atak.c:61: `d' undeclared (first use in this function)
>atak.c:71: subscripted value is neither array nor pointer
>atak.c:71: subscripted value is neither array nor pointer
>atak.c: In function `GenAtaks':
>atak.c:96: syntax error before `*'
>atak.c:101: request for member `b' in something not a structure or union
>atak.c:104: `t' undeclared (first use in this function)
>atak.c:105: `b' undeclared (first use in this function)
>atak.c:105: subscripted value is neither array nor pointer
>atak.c:115: subscripted value is neither array nor pointer
>atak.c:120: request for member `blockerr45' in something not a structure or
>union
>atak.c:120: request for member `blockerr315' in something not a structure or
>union
>atak.c:125: subscripted value is neither array nor pointer
>atak.c:130: request for member `blocker' in something not a structure or
>union
>atak.c:130: request for member `blockerr90' in something not a structure or
>union
>atak.c:135: subscripted value is neither array nor pointer
>atak.c:140: request for member `blockerr45' in something not a structure or
>union
>atak.c:140: request for member `blockerr315' in something not a structure or
>union
>atak.c:140: request for member `blocker' in something not a structure or
>union
>atak.c:140: request for member `blockerr90' in something not a structure or
>union
>atak.c:145: subscripted value is neither array nor pointer
>atak.c:157: request for member `b' in something not a structure or union
>atak.c:159: request for member `b' in something not a structure or union
>atak.c:164: request for member `b' in something not a structure or union
>atak.c:166: request for member `b' in something not a structure or union
>atak.c:169: `a0' undeclared (first use in this function)
>atak.c: At top level:
>atak.c:176: parse error before `AttackTo'
>atak.c: In function `AttackTo':
>atak.c:184: syntax error before `*'
>atak.c:187: request for member `b' in something not a structure or union
>atak.c:190: `e' undeclared (first use in this function)
>atak.c:190: subscripted value is neither array nor pointer
>atak.c:193: subscripted value is neither array nor pointer
>atak.c:196: subscripted value is neither array nor pointer
>atak.c:198: `c' undeclared (first use in this function)
>atak.c:199: request for member `blocker' in something not a structure or
>union
>atak.c:202: `b' undeclared (first use in this function)
>atak.c:202: subscripted value is neither array nor pointer
>atak.c:202: subscripted value is neither array nor pointer
>atak.c:212: subscripted value is neither array nor pointer
>atak.c:212: subscripted value is neither array nor pointer
>atak.c: At top level:
>atak.c:225: parse error before `AttackXTo'
>atak.c: In function `AttackXTo':
>atak.c:236: syntax error before `*'
>atak.c:239: request for member `b' in something not a structure or union
>atak.c:240: `d' undeclared (first use in this function)
>atak.c:240: request for member `b' in something not a structure or union
>atak.c:243: `e' undeclared (first use in this function)
>atak.c:243: subscripted value is neither array nor pointer
>atak.c:246: subscripted value is neither array nor pointer
>atak.c:248: `c' undeclared (first use in this function)
>atak.c:251: `b' undeclared (first use in this function)
>atak.c:251: subscripted value is neither array nor pointer
>atak.c:252: request for member `blocker' in something not a structure or
>union
>atak.c:253: subscripted value is neither array nor pointer
>atak.c:253: subscripted value is neither array nor pointer
>atak.c:254: subscripted value is neither array nor pointer
>atak.c:254: subscripted value is neither array nor pointer
>atak.c:264: subscripted value is neither array nor pointer
>atak.c:264: subscripted value is neither array nor pointer
>atak.c:265: request for member `blocker' in something not a structure or
>union
>atak.c:266: subscripted value is neither array nor pointer
>atak.c:266: subscripted value is neither array nor pointer
>atak.c: At top level:
>atak.c:279: parse error before `AttackFrom'
>atak.c: In function `AttackFrom':
>atak.c:293: request for member `blockerr45' in something not a structure or
>union
>atak.c:293: request for member `blockerr315' in something not a structure or
>union
>atak.c:295: request for member `blocker' in something not a structure or
>union
>atak.c:295: request for member `blockerr90' in something not a structure or
>union
>atak.c:297: request for member `blockerr45' in something not a structure or
>union
>atak.c:297: request for member `blockerr315' in something not a structure or
>union
>atak.c:297: request for member `blocker' in something not a structure or
>union
>atak.c:297: request for member `blockerr90' in something not a structure or
>union
>atak.c: At top level:
>atak.c:305: parse error before `AttackXFrom'
>atak.c: In function `AttackXFrom':
>atak.c:314: syntax error before `*'
>atak.c:317: request for member `b' in something not a structure or union
>atak.c:319: request for member `blocker' in something not a structure or
>union
>atak.c:320: `b' undeclared (first use in this function)
>atak.c:331: subscripted value is neither array nor pointer
>atak.c:331: subscripted value is neither array nor pointer
>atak.c:334: `c' undeclared (first use in this function)
>atak.c:346: request for member `blocker' in something not a structure or
>union
>atak.c:348: subscripted value is neither array nor pointer
>atak.c:348: subscripted value is neither array nor pointer
>atak.c: In function `PinnedOnKing':
>atak.c:382: `BitBoard' undeclared (first use in this function)
>atak.c:382: parse error before `b'
>atak.c:384: request for member `king' in something not a structure or union
>atak.c:389: request for member `blocker' in something not a structure or
>union
>atak.c:394: `b' undeclared (first use in this function)
>atak.c:401: request for member `b' in something not a structure or union
>atak.c:401: request for member `b' in something not a structure or union
>atak.c:406: request for member `b' in something not a structure or union
>atak.c:406: request for member `b' in something not a structure or union
>atak.c: At top level:
>atak.c:413: parse error before `*'
>atak.c: In function `FindPins':
>atak.c:421: `BitBoard' undeclared (first use in this function)
>atak.c:421: parse error before `b'
>atak.c:423: `pin' undeclared (first use in this function)
>atak.c:424: `t' undeclared (first use in this function)
>atak.c:424: request for member `friends' in something not a structure or
>union
>atak.c:424: request for member `friends' in something not a structure or
>union
>atak.c:428: `p' undeclared (first use in this function)
>atak.c:428: request for member `b' in something not a structure or union
>atak.c:431: `e' undeclared (first use in this function)
>atak.c:433: `b' undeclared (first use in this function)
>atak.c:433: request for member `b' in something not a structure or union
>atak.c:439: `c' undeclared (first use in this function)
>atak.c:444: `f' undeclared (first use in this function)
>atak.c:445: request for member `friends' in something not a structure or
>union
>atak.c:453: request for member `b' in something not a structure or union
>atak.c:465: request for member `friends' in something not a structure or
>union
>atak.c:471: request for member `b' in something not a structure or union
>atak.c:473: request for member `b' in something not a structure or union
>atak.c:485: request for member `friends' in something not a structure or
>union
>atak.c: In function `MateScan':
>atak.c:507: `BitBoard' undeclared (first use in this function)
>atak.c:507: parse error before `b'
>atak.c:512: request for member `b' in something not a structure or union
>atak.c:515: request for member `king' in something not a structure or union
>atak.c:516: request for member `b' in something not a structure or union
>atak.c:517: `b' undeclared (first use in this function)
>atak.c:517: request for member `blockerr45' in something not a structure or
>union
>atak.c:517: request for member `blockerr315' in something not a structure or
>union
>atak.c:517: request for member `blocker' in something not a structure or
>union
>atak.c:517: request for member `blockerr90' in something not a structure or
>union
>atak.c:525: request for member `b' in something not a structure or union
>atak.c:526: request for member `b' in something not a structure or union
>make[2]: *** [atak.o] Error 1
>make[2]: Leaving directory `/cygdrive/l/gnuchess-5.03/src'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory `/cygdrive/l/gnuchess-5.03/src'
>make: *** [all-recursive] Error 1
>
>
>There are a lot of unportable constructs that were used, but some are always
>needed for a thing like a chess program (e.g. subsecond timing requires a
>system extension of some sort in order to be accurate).
>
>At any rate, the modified version builds easily under the Intel or Microsoft
>compilers.
Technical Details
Message-ID: <iu3a7ugmb4artr14jvdslrvcdvr8r8tt9b@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!ruti.visi.com!not-for-mail
References: <3C72CB2A.99A9458B@wretched.demon.co.uk> <a4uou801uip@enews2.newsguy.com> <3C737CD0.98486B66@wretched.demon.co.uk> <a50sd201vpn@enews4.newsguy.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,6391e19877afdf6e
X-Google-Attributes: gid10d71d,public
X-Google-Thread: 110df2,6391e19877afdf6e
X-Google-Attributes: gid110df2,public
X-Google-ArrivalTime: 2002-02-21 07:21:42 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!ruti.visi.com!not-for-mail
From: Thomas T. Veldhouse <veldy71@yahoo.com>
Newsgroups: gnu.chess,rec.games.chess.computer
Subject: Re: GNU/Chess 5.03 Released
Message-ID: <iu3a7ugmb4artr14jvdslrvcdvr8r8tt9b@4ax.com>
References: <3C72CB2A.99A9458B@wretched.demon.co.uk> <a4uou801uip@enews2.newsguy.com> <3C737CD0.98486B66@wretched.demon.co.uk> <a50sd201vpn@enews4.newsguy.com>
X-Newsreader: Forte Agent 1.9/32.560
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 457
Date: Thu, 21 Feb 2002 09:19:19 -0600
NNTP-Posting-Host: 161.225.1.12
X-Complaints-To: abuse@visi.com
X-Trace: ruti.visi.com 1014304895 161.225.1.12 (Thu, 21 Feb 2002 09:21:35 CST)
NNTP-Posting-Date: Thu, 21 Feb 2002 09:21:35 CST