🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9915

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

#9915
From: Neil W Rickert
Date: Mon, 05 Nov 2001 06:04
31 lines
2129 bytes
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.

I suggested that because I have seen similar problems in the past.
gcc needs its own "va_start", which it provides in the header files
it generates with fix-includes.  If not installed properly, you get
the Sun "va_start" instead of the gnu "va_start".

>Hope someone has some gcc/Sparc/Solaris2.8 experience to share.

I compiled nn-6.6.1 on both solaris 7 and solaris 9, using
gcc-2.95.2.  I didn't have the problem you are seeing (or any other
problem for that matter).  I haven't tried 6.6.2, since the
announcement indicated there was no need unless you had a system
where 6.6.1 was broken.

Technical Details
Message-ID: <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!newsfeed.stanford.edu!news.uchicago.edu!vixen.cso.uiuc.edu!husk.cso.niu.edu!not-for-mail
References: <s4elnfkjjy.fsf@xmission.xmission.com> <9s149o$grj$1@husk.cso.niu.edu> <9s54an$cvd$1@xmission.xmission.com>

Show Full Headers
Complete Article Headers
Message-ID: <9s5a66$br6$1@husk.cso.niu.edu>
Subject: Re: Need help compiling nn-6.6.2 for Solaris 2.8 w/ gcc 2.95.2
Date: Mon, 05 Nov 2001 06:04:54 +0000
From: Neil W Rickert <rickert+nn@cs.niu.edu>
References: <s4elnfkjjy.fsf@xmission.xmission.com> <9s149o$grj$1@husk.cso.niu.edu> <9s54an$cvd$1@xmission.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!newsfeed.stanford.edu!news.uchicago.edu!vixen.cso.uiuc.edu!husk.cso.niu.edu!not-for-mail
Newsgroups: news.software.nn
Organization: Northern Illinois University
Lines: 30
NNTP-Posting-Host: euclid.cs.niu.edu
User-Agent: nn/6.6.1