🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73274

Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10

#73274
From: Eric Edwards
Date: Sun, 19 Feb 2006 20:00
33 lines
2519 bytes
On Fri, 17 Feb 2006 22:38:22 -0800, Russ Allbery <rra@stanford.edu> wrote:
>In news.software.nntp, Eric Edwards <ese002@news9.exile.org> writes:
>
>> # gmake
>> cd include   && gmake all
>> gmake[1]: Entering directory `/local/app/inn-2.4.2/include'
>> ../support/mksystem /usr/bin/awk config.h > inn/system.h
>> ../support/mkversion '2.4.2' '' > inn/version.h
>> gmake[1]: Leaving directory `/local/app/inn-2.4.2/include'
>> cd lib       && gmake all
>> gmake[1]: Entering directory `/local/app/inn-2.4.2/lib'
>> gcc -g -O2 -I../include   -c setproctitle.c
>> In file included from ../include/inn/defines.h:50,
>>                  from ../include/config.h:20,
>>                  from setproctitle.c:15:
>> /usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only in a c99 compilation environment."
>> In file included from setproctitle.c:19:
>> ../include/inn/messages.h:73: error: syntax error before "bool"
>
>Wow, it sure sounds like Solaris 10 did something hideously stupid with
>their headers.  I don't have a Solaris 10 system around to look at; what
>sort of magic is one supposed to use to convince Solaris that when I ask
>for a definition of bool, I really want a bool?
>
>It may be that this is a missing fixheaders rule in GCC.  (It may even be
>one that's added in later versions.)

Unlike the older gcc that I build from source, the version shipped with
Solaris 10 seems to use the system headers unmodified.

-- 
Photos and travelogues from Africa and Southeast Asia: http://www.exile.org
Technical Details
Message-ID: <slrndvhjj9.t6c.ese002@spica.exile.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.solaris.mbox.zip!g2news1.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news.exile.org!ese002
References: <slrndvdg03.44o.ese002@spica.exile.org> <87y809qiht.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrndvhjj9.t6c.ese002@spica.exile.org>
Subject: Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
Date: Sun, 19 Feb 2006 20:00:41 +0000
From: ese002@news9.exile.org (Eric Edwards)
References: <slrndvdg03.44o.ese002@spica.exile.org> <87y809qiht.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.solaris.mbox.zip!g2news1.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news.exile.org!ese002
Newsgroups: news.software.nntp,comp.unix.solaris
Organization: Engineers in Exile
Lines: 32
NNTP-Posting-Host: localhost
X-Trace: spica.exile.org 1140379241 6342 127.0.0.1 (19 Feb 2006 20:00:41 GMT)
X-Complaints-To: usenet@spica.exile.org
NNTP-Posting-Date: Sun, 19 Feb 2006 20:00:41 +0000 (UTC)
User-Agent: slrn/0.9.6.2 (SunOS)