🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #4005

Compiling gnuchess-4.0.pl75

#4005
From: Amir Smoli
Date: Fri, 15 Mar 1996 00:00
191 lines
10588 bytes
I am trying to compile the above on a Sun Sparc 5, 64 MB, 
under SunOs4.1.3, and get the error message below. 
Any idea what is wrong here?

regards.

P.S.: xboard-3.4.pl1 compiled ok under the same configuration.





ibrox(smoli)> ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for -lcurses... (cached) yes
checking for -lm... (cached) yes
checking for -ltermcap... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) no
checking for fcntl.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking return type of signal handlers... (cached) void
checking for gettimeofday... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for strtoul... (cached) no
checking for memset... (cached) yes
creating ./config.status
creating Makefile
ibrox(smoli)> make
gcc -O2 -Wall -DHAVE_LIBCURSES=1 -DHAVE_LIBM=1 -DHAVE_LIBTERMCAP=1
-DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
-DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_MEMSET=1  -DUSEINT
-DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY  -DAGING -DKILLT -DUNLIMITEDCAPS
-DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"./gnuchess.hash\"
-DLANGFILE=\"./gnuchess.lang\"  -c genmoves.c
mv genmoves.o genmovesN.o
gcc -O2 -Wall -DHAVE_LIBCURSES=1 -DHAVE_LIBM=1 -DHAVE_LIBTERMCAP=1
-DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
-DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_MEMSET=1  -DUSEINT
-DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY  -DAGING -DKILLT -DUNLIMITEDCAPS
-DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"./gnuchess.hash\"
-DLANGFILE=\"./gnuchess.lang\"  -c ataks.c
gcc -O2 -Wall -DHAVE_LIBCURSES=1 -DHAVE_LIBM=1 -DHAVE_LIBTERMCAP=1
-DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
-DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_MEMSET=1  -DUSEINT
-DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY  -DAGING -DKILLT -DUNLIMITEDCAPS
-DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"./gnuchess.hash\"
-DLANGFILE=\"./gnuchess.lang\"  -c util.c
util.c: In function `parse':
util.c:32: warning: implicit declaration of function `_filbuf'
mv util.o utilN.o
gcc -O2 -Wall -DHAVE_LIBCURSES=1 -DHAVE_LIBM=1 -DHAVE_LIBTERMCAP=1
-DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
-DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_MEMSET=1  -DUSEINT
-DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY  -DAGING -DKILLT -DUNLIMITEDCAPS
-DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"./gnuchess.hash\"
-DLANGFILE=\"./gnuchess.lang\"  -c eval.c
mv eval.o evalN.o
gcc -O2 -Wall -DHAVE_LIBCURSES=1 -DHAVE_LIBM=1 -DHAVE_LIBTERMCAP=1
-DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
-DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_MEMSET=1  -DUSEINT
-DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY  -DAGING -DKILLT -DUNLIMITEDCAPS
-DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"./gnuchess.hash\"
-DLANGFILE=\"./gnuchess.lang\"  -c init.c
init.c: In function `NewGame':
init.c:350: warning: implicit declaration of function `gettimeofday'
init.c:371: warning: implicit declaration of function `perror'
init.c: In function `InitConst':
init.c:424: warning: implicit declaration of function `printf'
init.c:484: warning: implicit declaration of function `fclose'
gcc -O2 -Wall -DHAVE_LIBCURSES=1 -DHAVE_LIBM=1 -DHAVE_LIBTERMCAP=1
-DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
-DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_MEMSET=1  -DUSEINT
-DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY  -DAGING -DKILLT -DUNLIMITEDCAPS
-DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"./gnuchess.hash\"
-DLANGFILE=\"./gnuchess.lang\"  -c search.c
ttable.c: In function `Initialize_ttable':
In file included from search.c:25:
ttable.c:64: warning: implicit declaration of function `perror'
ttable.c: In function `ShowHashStats':
ttable.c:339: warning: implicit declaration of function `printf'
ttable.c: In function `CreateHashFile':
ttable.c:379: warning: implicit declaration of function `fseek'
ttable.c:400: warning: implicit declaration of function `fwrite'
ttable.c:401: warning: implicit declaration of function `fclose'
ttable.c: In function `TestHashFile':
ttable.c:454: warning: implicit declaration of function `fread'
mv search.o searchN.o
gcc -O2 -Wall -DHAVE_LIBCURSES=1 -DHAVE_LIBM=1 -DHAVE_LIBTERMCAP=1
-DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
-DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_MEMSET=1  -DUSEINT
-DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY  -DAGING -DKILLT -DUNLIMITEDCAPS
-DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"./gnuchess.hash\"
-DLANGFILE=\"./gnuchess.lang\"  -c dspcom.c
dspcom.c: In function `GetGame':
dspcom.c:384: warning: implicit declaration of function `fflush'
dspcom.c:384: warning: implicit declaration of function `scanw'
dspcom.c:506: warning: implicit declaration of function `strtol'
dspcom.c:532: warning: implicit declaration of function `fclose'
dspcom.c: In function `SaveGame':
dspcom.c:651: warning: implicit declaration of function `fprintf'
dspcom.c: In function `ListGame':
dspcom.c:722: warning: implicit declaration of function `time'
dspcom.c:743: warning: implicit declaration of function `printf'
dspcom.c: In function `TestSpeed':
dspcom.c:866: warning: implicit declaration of function `gettimeofday'
dspcom.c: In function `InputCommand':
dspcom.c:1105: warning: implicit declaration of function `wgetstr'
dspcom.c:1108: warning: implicit declaration of function `sscanf'
dspcom.c:1372: warning: implicit declaration of function `tolower'
dspcom.c: In function `ElapsedTime':
dspcom.c:1446: warning: implicit declaration of function `ioctl'
dspcom.c:1446: warning: suggest parentheses around assignment used as truth
value
dspcom.c:1448: warning: implicit declaration of function `perror'
mv dspcom.o dspcomN.o
gcc -O2 -Wall -DHAVE_LIBCURSES=1 -DHAVE_LIBM=1 -DHAVE_LIBTERMCAP=1
-DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
-DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_MEMSET=1  -DUSEINT
-DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY  -DAGING -DKILLT -DUNLIMITEDCAPS
-DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"./gnuchess.hash\"
-DLANGFILE=\"./gnuchess.lang\"  -c uxdsp.c
uxdsp.c: In function `Initialize':
uxdsp.c:65: warning: implicit declaration of function `stty'
uxdsp.c: In function `ExitChess':
uxdsp.c:77: warning: implicit declaration of function `wrefresh'
uxdsp.c:79: warning: implicit declaration of function `endwin'
uxdsp.c: In function `Die':
uxdsp.c:96: warning: implicit declaration of function `fflush'
uxdsp.c:96: warning: implicit declaration of function `scanw'
uxdsp.c: In function `help':
uxdsp.c:132: warning: implicit declaration of function `printw'
uxdsp.c:195: warning: implicit declaration of function `_filbuf'
uxdsp.c: In function `EditBoard':
uxdsp.c:262: warning: implicit declaration of function `ZeroRPT'
uxdsp.c: In function `OutputMove':
uxdsp.c:404: warning: implicit declaration of function `_flsbuf'
uxdsp.c: In function `gotoXY':
uxdsp.c:482: warning: implicit declaration of function `wmove'
uxdsp.c: In function `ClrScreen':
uxdsp.c:495: warning: implicit declaration of function `wclear'
uxdsp.c: In function `ClrEoln':
uxdsp.c:508: warning: implicit declaration of function `wclrtoeol'
uxdsp.c: In function `SelectLevel':
uxdsp.c:775: warning: implicit declaration of function `wgetstr'
uxdsp.c:790: warning: implicit declaration of function `strtol'
uxdsp.c: At top level:
uxdsp.c:903: warning: return-type defaults to `int'
uxdsp.c: In function `Ldisplay3':
uxdsp.c:903: warning: control reaches end of non-void function
gcc -O2 -Wall -DHAVE_LIBCURSES=1 -DHAVE_LIBM=1 -DHAVE_LIBTERMCAP=1
-DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
-DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_MEMSET=1  -DUSEINT
-DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY  -DAGING -DKILLT -DUNLIMITEDCAPS
-DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"./gnuchess.hash\"
-DLANGFILE=\"./gnuchess.lang\"  -o gnuchess mainN.o bookN.o genmovesN.o ataks.o
utilN.o evalN.o init.o searchN.o dspcomN.o uxdsp.o  -ltermcap -lm -lcurses  -lm
ld: Undefined symbol 
   _tgetent 
   _tgetflag 
   _tgetstr 
   _tputs 
   _tgetnum 
   _tgoto 
collect: ld returned 2 exit status
*** Error code 1
make: Fatal error: Command failed for target `gnuchess'
Technical Details
Message-ID: <DoBp81.3rE@Cadence.COM>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,3cb22ed503fbce74,start
X-Google-Attributes: gid10d71d,public
From: Amir Smoli <smoli>
Subject: Compiling gnuchess-4.0.pl75
Date: 1996/03/15
Message-ID: <DoBp81.3rE@Cadence.COM>
X-Deja-AN: 142829904
sender: news@Cadence.COM
content-type: text/plain; charset=us-ascii
organization: Cadence Design Systems
x-url: news:gnu.chess
mime-version: 1.0
newsgroups: gnu.chess
x-mailer: Mozilla 1.1N (X11; I; SunOS 4.1.3_U1 sun4m)