🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9913

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

#9913
From: bgeer
Date: Mon, 05 Nov 2001 04:24
45 lines
2854 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

 >bgeer <bgeer@xmission.xmission.com> writes:

 >>I need some compile help.  nn-6.6.2 won't compile after untarring.

 >>"uname -a" reveals "SunOS xmission 5.8 Generic_108528-07 sun4u sparc"

 >>"gcc --version" results in "2.95.2".

 >>Here is the result of compiling with no changes other than identifying
 >>the news server & domain in config.h:


 >>gcc  -Iconf -D_MSE_INT_H -D__EXTENSIONS__  -g    -c -o term.o term.c
 >>In file included from /usr/local/include/stdarg.h:30,
 >>                 from /usr/local/include/curses.h:78,
 >>                 from term.c:29:
 >>/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include/va-sparc.h:29:
 >>warning: `va_start' redefined
 >>/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include/va-sparc.h:41:
 >>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

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

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


-- 
<> Robert Geer & Donna Tomky | 	  ||||      We sure       ||||    <>
<>    bgeer@xmission.com     | 	==    ==    find it     ==    ==  <>
<>    dtomky@xmission.com    | 	==    ==   enchanting   ==    ==  <>
<>   Albuquerque, NM  USA    | 	  ||||       here!        ||||    <>
Technical Details
Message-ID: <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!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>

Show Full Headers
Complete Article Headers
Message-ID: <9s54an$cvd$1@xmission.xmission.com>
Subject: Re: Need help compiling nn-6.6.2 for Solaris 2.8 w/ gcc 2.95.2
Date: Mon, 05 Nov 2001 04:24:55 +0000
From: bgeer@xmission.xmission.com (bgeer)
References: <s4elnfkjjy.fsf@xmission.xmission.com> <9s149o$grj$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: 44
NNTP-Posting-Host: xmission.xmission.com
X-Trace: news.xmission.com 1004934274 13528 198.60.22.20 (5 Nov 2001 04:24:34 GMT)
X-Complaints-To: abuse@xmission.com
NNTP-Posting-Date: 5 Nov 2001 04:24:34 GMT
X-Newsreader: NN version