Article View: news.software.nn
Article #6496Problems building nn-6.5.0b3 under Linux gcc-2.5.8
From: Mike Batchelor
Date: Sat, 08 Oct 1994 16:17
Date: Sat, 08 Oct 1994 16:17
46 lines
2753 bytes
2753 bytes
Contrary to what the author of newspak-2.3 indicated (Vince Skahan), I'm
not able to drop in the config.h and s-linux.h files his package produced
into the nn-6.5.0b2 (or 2) source tree, and build the thing. It worked
wonders on nn-6.4.18, though.
The first problem was an infinite recursion from <varargs.h>, which
included itself if __GNUC__ was not #defined. Why it wasn't #defined, I
don't know, since I thought that was a compiler define, and should always
be true. I'm not much of a C programmer, by the way. It was suggested to
me to just comment out the recursive #include, so I did. (Why have I never
run into this before?)
Now I am running into this:
In file included from config.h:412,
from nn.c:7:
global.h:749: parse error before `zZap'
global.h:753: parse error before `zZap'
global.h:775: parse error before `zZap'
This from three lines like:
void tvprintf __APROTO((va_list zZap));
I can find va_list in only a few places:
./global.c:static enter_log __APROTO((int type, va_list zZap));
./global.h:void tvprintf __APROTO((va_list zZap));
./global.h:void so_vprintf __APROTO((va_list zZap));
./global.h:void vmsg __APROTO((va_list zZap));
./vararg.h:#define va_tdcl va_list va_tail;
./vararg.h:#define use_vararg va_list zZap
And of course, in <varargs.h>, where it gets #defined and #undefed all
over the place (via _VA_LIST_ and _gnuc_va_list), but I am not sure why it
winds up not getting #defined in the end. It should be pretty obvious by
now that I haven't a clue what va_list really is, but it seems clear that
it isn't getting declared somewhere along the way. Any tips would be
appreciated.
--
\\\\\\\\\\\\\\\\\\\\ Mike Batchelor XXX mikebat@clark.net ///////////////////
Live in the Greater DC area? Tired of long distance calls to nearby places?
Look at http://www.clark.net/pub/mikebat/www/balt-wash-telco/index.html
Technical Details
Message-ID:
<376gnc$a2h@explorer.clark.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.help.mbox.zip!bga.com!news.sprintlink.net!news.clark.net!news.clark.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <376gnc$a2h@explorer.clark.net> Subject: Problems building nn-6.5.0b3 under Linux gcc-2.5.8 Date: Sat, 08 Oct 1994 16:17:48 +0000 From: mikebat@clark.net (Mike Batchelor) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.help.mbox.zip!bga.com!news.sprintlink.net!news.clark.net!news.clark.net!not-for-mail Newsgroups: comp.os.linux.help,news.software.nn Organization: People for the Ethical Treatment of Airheads Lines: 45 NNTP-Posting-Host: clark.net Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: NN version 6.5.0 #6 (NOV)