Article View: gnu.chess
Article #3358Re: Compiling problem
From: John E. Garrott
Date: Sun, 12 Oct 1997 00:00
Date: Sun, 12 Oct 1997 00:00
50 lines
1883 bytes
1883 bytes
Oyvind Nielsen wrote: > > Hello! > > I am currently trying to compile gnuchess on my 586 PC running linux > 2.0, starting from the file > > gnuchess-4.0.pl77.tar.gz > > Configure runs OK, but during make I get the following error messages > (from gcc): > > 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 anybody help me with this problem? > > Oyvind Nielsen. Oyvind, Your problem is probably curses. I had to download and install, the latest version of ncurses from Sunsite before I could compile gnuchess. Then I had to make the following changes (excerpted from my rebuild script): cd /usr/src/gnuchess-4.0.pl77/src mv configure configure.old sed 's/curses/ncurses/g' configure.old >configure ./configure mv Makefile Makefile.1 sed 's/local\/gnu//g' Makefile.1 >Makefile make make install The 1st sed statement simply changes all instances of "curses" to "ncurses" in the configure file. The second removes a reference to a non-existant "/local/gnu/install" program and allows the "/bin/install" program to work. Check that install is in your /bin. If not change this statement accordingly. Hope it works for you. Enjoy, John
Technical Details
Message-ID:
<3440CFB3.7D0B@primenet.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3440C223.30AD7FFE@met.sintef.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,6f2d582c0b33e38 X-Google-Attributes: gid10d71d,public From: "John E. Garrott" <johnga@primenet.com> Subject: Re: Compiling problem Date: 1997/10/12 Message-ID: <3440CFB3.7D0B@primenet.com> X-Deja-AN: 279773383 References: <3440C223.30AD7FFE@met.sintef.no> To: Oyvind Nielsen <oyvind.nielsen@met.sintef.no> Organization: Primenet Services for the Internet X-Posted-By: @206.165.192.221 (johnga) Newsgroups: gnu.chess