Article View: news.software.nn
Article #9509Re: nn with nntp on Linux, compile problems
From: Matthew Clarke
Date: Sat, 22 Apr 2000 00:00
Date: Sat, 22 Apr 2000 00:00
48 lines
2551 bytes
2551 bytes
Douglas Brick <dbrick@eve.speakeasy.net> writes: >Yes, I get the same error whether I use ncurses or regular curses. >If I remember correctly, the error said something like "only one >argument given to varargs".... hmmm, guess I'd better try compiling it >again.... >Here's the error sequence during make: >gcc -Iconf -O2 -O -c term.c -o term.o >In file included from /usr/include/curses.h:72, > from term.c:29: >/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h:90: >warning: `va_start' redefined >/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/varargs.h:106: >warning: this is the location of the previous definition >term.c:882: macro `va_start' used with just one arg >term.c:1017: macro `va_start' used with just one arg >term.c:1090: macro `va_start' used with just one arg >term.c:2020: macro `va_start' used with just one arg >term.c:2037: macro `va_start' used with just one arg >term.c:2137: macro `va_start' used with just one arg >make[1]: *** [term.o] Error 1 >make[1]: Leaving directory `/usr/local/src/news/nn-6.5.6' >make: *** [all] Error 2 I ran into this, too, but didn't keep notes, and can't remember what I did to fix it. Unpacking a fresh source tree and doing a recursive diff, I see these two changes in conf/s-linux.h, which might be the fix. - changed "#define HAVE_TERMIO_H" to "#define HAVE_TERMIOS_H" - changed "#define TERMLIB -ltermcap" to "#define TERMLIB -lncurses" See if those changes make any difference. If not, E-mail me, and I'll recreate the problem and keep notes this time. see ya... Matt. -- work: clamat@van.maves.ca (Maves International Software, Inc.) play: Matthew_Clarke@mindlink.bc.ca or CompuServe: 74040,2221 "Has anybody else noticed that Space 1999 can now be classified as an alternate history show rather than science fiction?" -- Joe Zeff, in a.s.r.
Technical Details
Message-ID:
<clamat.956385562@ds0>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-mailReferences:
<87snwhyezz.fsf@eve.speakeasy.net> <8dmmge$qs$1@vertiron.dyndns.org> <87hfcvme88.fsf@eve.speakeasy.net>Show Full Headers
Complete Article Headers
Message-ID: <clamat.956385562@ds0> Subject: Re: nn with nntp on Linux, compile problems Date: Sat, 22 Apr 2000 00:00:00 +0000 From: Matthew Clarke <Matthew_Clarke@mindlink.bc.ca> References: <87snwhyezz.fsf@eve.speakeasy.net> <8dmmge$qs$1@vertiron.dyndns.org> <87hfcvme88.fsf@eve.speakeasy.net> 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: 614227734 X-Trace: deep 956386875 16355 204.174.30.119 Newsgroups: news.software.nn