🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #3607

Compiling GNUChess

#3607
From: Jan-Frode Myklebust
Date: Tue, 25 Feb 1997 00:00
19 lines
1656 bytes
I am trying to compile gnuchess under linux, but I get an error during the compiling. I have gcc 2.7.2 and linux kernel 2.0.29. The error I get is:

gcc -I. -O2 -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=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 -DSIZEOF_LONG=4 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1  -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/local/lib/gnuchess.hash\" -DLANGFILE=\"/usr/local/lib/gnuchess
.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\"  -o gnuchess mainN.o bookN.o genmovesN.o ataks.o utilN.o evalN.o init.o searchN.o dspcomN.o uxdsp.o  -lcurses -ltermcap  -lm
dspcomN.o: In function `InputCommand':
dspcomN.o(.text+0x1c7e): undefined reference to `wgetnstr'
uxdsp.o: In function `SelectLevel':
uxdsp.o(.text+0x12b2): undefined reference to `wgetnstr'
make: *** [gnuchess] Error 1


Can somebody please help me??

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jan-Frode Myklebust             s768@ii.uib.no
Institute of Informatics, University of Bergen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <5eud1d$gfm$1@toralf.uib.no>
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,fa953d10a07e58b8,start
X-Google-Attributes: gid10d71d,public
From: s768@ugress.uib.no (Jan-Frode Myklebust)
Subject: Compiling GNUChess
Date: 1997/02/25
Message-ID: <5eud1d$gfm$1@toralf.uib.no>
X-Deja-AN: 221284078
Organization: University of Bergen, Norway
Newsgroups: gnu.chess