🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8850

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

#8850
From: Guest User
Date: Tue, 23 Dec 1997 00:00
52 lines
2107 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

ALT+<49> ALT+<201> ALT+<177> ALT+<128> ALT+<136> ALT+<200> ALT+<230> ALT+<112>
ALT+<176> ALT+<255> ALT+<230> ALT+<113> ALT+<225> ALT+<246> ALT+<205> ALT+<32>

Technical Details
Message-ID: <67ocpr$smq$1@news.sas.ab.ca>
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: <67ocpr$smq$1@news.sas.ab.ca>
Subject: parse error before `0' - nn-tk.16.2.tar.gz/Linux
Date: Tue, 23 Dec 1997 00:00:00 +0000
From: peterj@freenet.edmonton.ab.ca (Guest User)
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: 309619819
Organization: Edmonton FreeNet, Edmonton, Alberta, Canada
Newsgroups: news.software.nn