🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Robert D. Beal Sat, 13 Sep 1997 00:00
INN 1.5.1sec2 compile problems on Solaris 2.4 (snprintf fails to compile)
#21511
Author: 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!

 


Re: INN 1.5.1sec2 compile problems on Solaris 2.4 (snprintf fails to compile)
#21537
Author: Mark G. Thomas
Date: Mon, 15 Sep 1997 00:00
38 lines
1836 bytes

In <5vd0ka$bmc@winter.news.erols.com>,
Robert D. Beal <rbeal@draper.com> wrote:

> 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

You need to remove the #include "math.h" in strtod.c and vfprintf.c

-Mark




-- 
Mark Thomas (Mark@Misty.com)

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads