🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21511

INN 1.5.1sec2 compile problems on Solaris 2.4 (snprintf fails to compile)

#21511
From: Robert D. Beal
Date: Sat, 13 Sep 1997 00:00
98 lines
4819 bytes
I've seen other similar posts related to problems compiling snprintf in
INN 1.5.1, but I can't seem to find any answers :-(.  I'm trying to compile 
INN 1.5.1sec2 on a Solaris 2.4 system using gcc 2.7.2, but I can't get past
snprintf.  I've tried a few different $DEFs, but nothing seems to work.  Does 
anyone know how I can get past the following problems:


cd frontends ; make  all ; cd ..
make[1]: Entering directory `/export/home/beal/inn-1.5.1sec2/frontends'
(cd ../snprintf ; make install)
make[2]: Entering directory `/export/home/beal/inn-1.5.1sec2/snprintf'
gcc -I../include -DSUNOS5 -O  -Dsun -D__svr4__ -DBad_float_h   -c vfprintf.c
In file included from 
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/incl
ude/floatingpoint.h:33,
                 from 
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/incl
ude/math.h:206,
                 from vfprintf.c:202:
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:70: 
warnin
g: `_IOFBF' redefined
xstdio.h:190: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:71: 
warnin
g: `_IOLBF' redefined
xstdio.h:191: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:72: 
warnin
g: `_IONBF' redefined
xstdio.h:192: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:85:
g: `FOPEN_MAX' redefined
xstdio.h:203: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:96: 
warnin
g: `L_ctermid' redefined
xstdio.h:287: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:113: 
warni
ng: `L_tmpnam' redefined
xstdio.h:210: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:116: 
warni
ng: `stdin' redefined
xstdio.h:225: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:117: 
warni
ng: `stdout' redefined
xstdio.h:226: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:118: 
warni
ng: `stderr' redefined
xstdio.h:227: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:191: 
argum
ents given to macro `getchar'
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:245: warn 
ng: `getc' redefined
xstdio.h:387: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:247: 
warni
ng: `putc' redefined
xstdio.h:388: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:249: 
warni
ng: `putchar' redefined
xstdio.h:392: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:250: 
warni
ng: `clearerr' redefined
xstdio.h:380: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:251: 
warni
ng: `feof' redefined
xstdio.h:378: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:252: 
warni
ng: `ferror' redefined
xstdio.h:379: warning: this is the location of the previous definition
/usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:276: 
warni
ng: `fileno' redefined
xstdio.h:383: warning: this is the location of the previous definition
make[2]: *** [vfprintf.o] Error 1
make[2]: Leaving directory `/export/home/beal/inn-1.5.1sec2/snprintf'          
make[1]: *** [../libsnprintf.a] Error 2
make[1]: Leaving directory `/export/home/beal/inn-1.5.1sec2/frontends'
make: *** [all] Error 1                                                        


Thanks for any help!

 


Technical Details
Message-ID: <5vd0ka$bmc@winter.news.erols.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5vd0ka$bmc@winter.news.erols.com>
Subject: INN 1.5.1sec2 compile problems on Solaris 2.4 (snprintf fails to compile)
Date: Sat, 13 Sep 1997 00:00:00 +0000
From: rbeal@draper.com (Robert D. Beal)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 272050531
Organization: Erol's Internet Services
X-Received-On: 13 Sep 1997 03:17:30 GMT
Newsgroups: news.software.nntp