🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #4198

Trouble compiling on Sun

#4198
From: Dan Tomso
Date: Fri, 01 Dec 1995 00:00
28 lines
1740 bytes
Greetings.
	I'm not sure if this is the right place to post this, but I'm 
having trouble compling gnuchess4.0 pl75 on my Sparcstation.  This is 
the message I get:

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 genm
ovesN.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 
collect2: ld returned 2 exit status
*** Error code 1
make: Fatal error: Command failed for target `gnuchess'

	Any insights or help?  Thanks.
				DT
Technical Details
Message-ID: <49nfpf$c8s@news.duke.edu>
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,1d532a73e4ecda0e,start
X-Google-Attributes: gid10d71d,public
From: djt@rpiv.mc.duke.edu (Dan Tomso)
Subject: Trouble compiling on Sun
Date: 1995/12/01
Message-ID: <49nfpf$c8s@news.duke.edu>
X-Deja-AN: 120791980
organization: Duke University, Durham, NC, USA
newsgroups: gnu.chess