🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8849

parse error before `0' -- nn-tk.16.2.tar.gz/Linux

#8849
From: PJ
Date: Tue, 23 Dec 1997 00:00
48 lines
1943 bytes
Hello, I have a linux box with recent ncurses (4.1 with patches)
using gcc-2.7.2.3 and libc 5.4.38.

I do a :

tar -xvzf nn-tk.16.2.tar.gz
cd nn
./configure
emacs config.h  [ emacs compiled ok ]
 IN config.h I comment out #define TK
and make a couple other minor customizations..
and this is what I get ...

Configuration number updated to 116
gcc  -Iconf   -g -O      -c global.c -o global.o
gcc  -Iconf   -g -O      -c options.c -o options.o
gcc  -Iconf   -g -O      -c db.c -o db.o
gcc  -Iconf   -g -O      -c nntp.c -o nntp.o
gcc  -Iconf   -g -O      -c init.c -o init.o
gcc  -Iconf   -g -O      -c variable.c -o variable.o
gcc  -Iconf   -g -O      -c term.c -o term.o
In file included from term.c:58:
/usr/include/term.h:669: parse error before `0'
term.c: In function `clrdisp':
term.c:788: warning: passing arg 3 of `tputs' from incompatible pointer type
term.c: In function `clrpage':
term.c:909: warning: passing arg 3 of `tputs' from incompatible pointer type
term.c:912: warning: passing arg 3 of `tputs' from incompatible pointer type
make[1]: *** [term.o] Error 1
make[1]: Leaving directory `/home/pjordan/nn'
make: *** [all] Error 2
scarlet:~/nn$



On line 669 of term.h is :

/usr/include/term.h:extern NCURSES_CONST char *const boolnames[];

Sooo.. I'm baffled.
I kinda think it has something to do with TRUE and FALSE... ??

Anybody ?

Peter

Technical Details
Message-ID: <slrn69uq46.pmo.pjordan@scarlet.blackwire.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn69uq46.pmo.pjordan@scarlet.blackwire.com>
Subject: parse error before `0' -- nn-tk.16.2.tar.gz/Linux
Date: Tue, 23 Dec 1997 00:00:00 +0000
From: pjordan@scarlet.blackwire.com (PJ)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 309774784
Organization: Stop Spam and Eridaticate KillFiles
Newsgroups: news.software.nn