🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Marina Daniels Fri, 08 Aug 1997 00:00
compiling INN1.5.1sec2 -aaarggghhh
#20295
Author: Marina Daniels
Date: Fri, 08 Aug 1997 00:00
77 lines
3160 bytes
I am trying unsuccesfully to compile INN1.5.1sec2 for Solaris 2.5, using
GCC and I've set the new variables to indicate I want to build my own
snprintf.

Is this happening to anybody else? in snprintf directory, the vnprintf.c
function has a line which says include xstdio.h in that directory but
this seems to redefine variables in stdio.h from the gcc include
directory? 
Why is this a problem? Normally warning messages aren't fatal when
compiling.
Should I have my LD_LIBRARY_PATH variable set to get around this, or
similar?

Please email "marina.daniels@ccd.tas.gov.au" before i smash this machine
to bits.
Thanks

cd frontends ; make  all ; cd ..
gcc -I../include -DSUNOS5 -O2  -c  inews.c
(cd ../snprintf ; make install)
gcc -I../include -DSUNOS5 -O2 -Dsnprintf=__snprintf
-Dvsnprintf=__vsnprintf  -c 
 snprintf.c
gcc -I../include -DSUNOS5 -O2 -Dsnprintf=__snprintf
-Dvsnprintf=__vsnprintf  -c 
 vsnprintf.c
gcc -I../include -DSUNOS5 -O2 -Dsnprintf=__snprintf
-Dvsnprintf=__vsnprintf  -c 
 fvwrite.c
gcc -I../include -DSUNOS5 -O2 -Dsnprintf=__snprintf
-Dvsnprintf=__vsnprintf  -c 
 strtod.c
gcc -I../include -DSUNOS5 -O2 -Dsnprintf=__snprintf
-Dvsnprintf=__vsnprintf  -c 
 vfprintf.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/
floatingpoint.h:33,
                 from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/
math.h:206,
                 from vfprintf.c:202:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:70:
warning: `
_IOFBF' redefined
xstdio.h:190: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:71:
warning: `
_IOLBF' redefined
xstdio.h:191: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:72:
warning: `
_IONBF' redefined

... lots more of the same....

xstdio.h:379: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:276:
warning: 
`fileno' redefined
xstdio.h:383: warning: this is the location of the previous definition
*** Error code 1

make: Fatal error: Command failed for target `vfprintf.o'
Current working directory /home/news/inn-1.5.1sec2/snprintf
*** Error code 1
make: Fatal error: Command failed for target `../libsnprintf.a'
Current working directory /home/news/inn-1.5.1sec2/frontends
*** Error code 1
make: Fatal error: Command failed for target `all'

*Thanks
Marina
(Marina.Daniels@ccd.tas.gov.au)

Re: compiling INN1.5.1sec2 -aaarggghhh
#20303
Author: Marina Daniels
Date: Fri, 08 Aug 1997 00:00
10 lines
826 bytes
Please ignore the previous message, i managed to make it compile with
the SUn c compiler rather than gcc.

I suspect gcc isn't correctly installed on my machine any longer since
the operating system upgrade.

Marina

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