🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9510

Re: nn with nntp on Linux, compile problems

#9510
From: Douglas Brick
Date: Fri, 21 Apr 2000 00:00
43 lines
2445 bytes
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

sam@s.netic.de (Sascha Geschwandtner) writes:

> Douglas Brick <dbrick@eve.speakeasy.net> writes:
> 
> >If I use the "use terminfo" option, the compile breaks, with an error
> >message about varargs.
> 
> Perhaps there are some header files missing?
> Did you install ncurses-devel?

                                * * *

Men have a much better time of it than woemn; for one thing, they
marry later; for another thing they die earlier.
                               H.L. Mencken (1880-1956)


Technical Details
Message-ID: <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
References: <87snwhyezz.fsf@eve.speakeasy.net> <8dmmge$qs$1@vertiron.dyndns.org>

Show Full Headers
Complete Article Headers
Message-ID: <87hfcvme88.fsf@eve.speakeasy.net>
Subject: Re: nn with nntp on Linux, compile problems
Date: Fri, 21 Apr 2000 00:00:00 +0000
From: Douglas Brick <dbrick@eve.speakeasy.net>
References: <87snwhyezz.fsf@eve.speakeasy.net> <8dmmge$qs$1@vertiron.dyndns.org>
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: 614063430
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@GigaNews.Com
X-Trace: sv2-39HPoIREsjZec3owWiK5WXTgYtN9Q+Qnmu/53N23cgJpU6RjNWiS5N1uM62k+3nMOpg/jK+ryJm8mct!bwZYD2S8NsJA8EGN509VxalE70CS
Organization: Speakeasy Cafe
NNTP-Posting-Date: Fri, 21 Apr 2000 14:43:51 CDT
Newsgroups: news.software.nn