🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73269

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

#73269
From: Torsten Kirschner
Date: Sat, 18 Feb 2006 12:36
24 lines
1873 bytes
On Sat, 18 Feb 2006 06:34:44 +0000, Eric Edwards wrote:

> # gmake
[...]
> 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."
[...]
> Suggestions?  It seems to compile ok with the ancient gcc-2.95.2 install
> carried over from the old sun4m/Sol9 machine.

It compiles out of the box with Sun's (free) compiler:

torstenk@u60 ~/src/c/inn-2.4.2 $ CC=cc ./configure --prefix=/opt/trk
...
torstenk@u60 ~/src/c/inn-2.4.2 $ make
...
Using sample version of subscriptions
date >config
torstenk@u60 ~/src/c/inn-2.4.2 $

Technical Details
Message-ID: <pan.2006.02.18.12.36.01.20870@sandbox.no>
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!news2.volia.net!solnet.ch!solnet.ch!nntp.gblx.net!nntp3.phx1!news.broadpark.no!not-for-mail
References: <slrndvdg03.44o.ese002@spica.exile.org>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2006.02.18.12.36.01.20870@sandbox.no>
Subject: Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
Date: Sat, 18 Feb 2006 13:36:07 +0100
From: Torsten Kirschner <torsten.kirschner@sandbox.no>
References: <slrndvdg03.44o.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!news2.volia.net!solnet.ch!solnet.ch!nntp.gblx.net!nntp3.phx1!news.broadpark.no!not-for-mail
Organization: Sandbox Solutions
User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!)
Newsgroups: news.software.nntp,comp.unix.solaris
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 154.80-203-169.nextgentel.com
X-Original-NNTP-Posting-Host: 154.80-203-169.nextgentel.com
X-Trace: news.broadpark.no 1140266166 80.203.169.154 (18 Feb 2006 13:36:06 +0100)
Lines: 23