Article View: news.software.nntp
Article #73265INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
From: Eric Edwards
Date: Sat, 18 Feb 2006 06:34
Date: Sat, 18 Feb 2006 06:34
25 lines
1968 bytes
1968 bytes
# 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"
gmake[1]: *** [setproctitle.o] Error 1
gmake[1]: Leaving directory `/local/app/inn-2.4.2/lib'
gmake: *** [all-lib] Error 2
Suggestions? It seems to compile ok with the ancient gcc-2.95.2 install
carried over from the old sun4m/Sol9 machine.
--
Photos and travelogues from Africa and Southeast Asia: http://www.exile.org
Technical Details
Message-ID:
<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!news1.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.exile.org!ese002Show Full Headers
Complete Article Headers
Message-ID: <slrndvdg03.44o.ese002@spica.exile.org> Subject: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10 Date: Sat, 18 Feb 2006 06:34:44 +0000 From: ese002@news9.exile.org (Eric Edwards) 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!news1.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.exile.org!ese002 Newsgroups: news.software.nntp,comp.unix.solaris Organization: Engineers in Exile Lines: 24 NNTP-Posting-Host: localhost X-Trace: spica.exile.org 1140244484 5049 127.0.0.1 (18 Feb 2006 06:34:44 GMT) X-Complaints-To: usenet@spica.exile.org NNTP-Posting-Date: Sat, 18 Feb 2006 06:34:44 +0000 (UTC) User-Agent: slrn/0.9.6.2 (SunOS)