🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Mike Batchelor Sat, 08 Oct 1994 16:17
Problems building nn-6.5.0b3 under Linux gcc-2.5.8
#6496
Author: Mike Batchelor
Date: Sat, 08 Oct 1994 16:17
46 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads