🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9917

Re: Need help compiling nn-6.6.2 for Solaris 2.8 w/ gcc 2.95.2

#9917
From: bgeer
Date: Tue, 06 Nov 2001 18:58
42 lines
2915 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

 >bgeer@xmission.xmission.com (bgeer) writes:
 >>Neil W Rickert <rickert+nn@cs.niu.edu> writes:
 >> >bgeer <bgeer@xmission.xmission.com> writes:

 >> >>...
 >> >>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

 >> >That sure looks like a broken gcc installation.

 >>No doubt that is a possibility.  However, I get the same problems when
 >>compiling on a Sparc5 Solaris 2.8 machine with clean install of gcc
 >>3.0 from http://www.sunfreeware.com/.  In some header files,
 >>va_start() has a single arg & in others it has 2 args.

Ok, Mr Rickert's recent posting encouraged me to delve further.  Both
Sparcs I've been compiling on have ncurses installed.  The ncurses
header file [also called curses.h] includes stdarg.h; this appears to
be troublesome for the nn compile.

I copied /usr/local/include/[n]curses.h to my nn-6.6.2 subdir, changed
"#include <stdarg.h>" to "#include <varargs.h>", & finally got a
successful compile on the machine I have the most confidence that the
gcc install is "good".  Unfortunately, that machine is behind a
firewall & can't access a newsserver.

The gcc install on the machine on which I *really* want nn to compile,
is "problematic".  I have hopes the sysadmin will install a more
current gcc in hopes it comes out better.

Cheers, Bob

-- 
<> Robert Geer & Donna Tomky | 	  ||||      We sure       ||||    <>
<>    bgeer@xmission.com     | 	==    ==    find it     ==    ==  <>
<>    dtomky@xmission.com    | 	==    ==   enchanting   ==    ==  <>
<>   Albuquerque, NM  USA    | 	  ||||       here!        ||||    <>
Technical Details
Message-ID: <9s9bsn$mp8$1@news.xmission.com>
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!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!xmission!nnrp.xmission!not-for-mail
References: <s4elnfkjjy.fsf@xmission.xmission.com> <9s149o$grj$1@husk.cso.niu.edu> <9s54an$cvd$1@xmission.xmission.com> <9s5a66$br6$1@husk.cso.niu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <9s9bsn$mp8$1@news.xmission.com>
Subject: Re: Need help compiling nn-6.6.2 for Solaris 2.8 w/ gcc 2.95.2
Date: Tue, 06 Nov 2001 18:58:31 +0000
From: bgeer@xmission.xmission.com (bgeer)
References: <s4elnfkjjy.fsf@xmission.xmission.com> <9s149o$grj$1@husk.cso.niu.edu> <9s54an$cvd$1@xmission.xmission.com> <9s5a66$br6$1@husk.cso.niu.edu>
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!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!xmission!nnrp.xmission!not-for-mail
Newsgroups: news.software.nn
Organization: XMission http://www.xmission.com/
Lines: 41
NNTP-Posting-Host: xmission.xmission.com
X-Trace: news.xmission.com 1005073111 23336 198.60.22.20 (6 Nov 2001 18:58:31 GMT)
X-Complaints-To: abuse@xmission.com
NNTP-Posting-Date: 6 Nov 2001 18:58:31 GMT
X-Newsreader: NN version 6.5.0 CURRENT #118
Originator: bgeer@xmission.xmission.com (bgeer)