🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20051

inn-1.5.1-to-inn-1.5.1sec patch problems

#20051
From: rhaig
Date: Fri, 01 Aug 1997 00:00
114 lines
5350 bytes

I'm on a server that has been running 1nn-1.5.1 for some time now.
I patched the source for 1.5.1sec.  I added the snprintf stuff to
config.data and started a make.

it gets all the way through to making inews then I get the following
====================
cd frontends ; make  lint ; cd ..
make[3]: Entering directory `/usr/local/src/inn/inn-1.5.1/frontends'
gcc  -o inews inews.o  ../libinn.a ../libsnprintf.a 
collect2: ld returned 8 exit status
ld: 0711-317 ERROR: Undefined symbol: .isinf
ld: 0711-317 ERROR: Undefined symbol: .isnan
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make[3]: *** [inews] Error 1
make[3]: Leaving directory `/usr/local/src/inn/inn-1.5.1/frontends'
make[2]: *** [common] Error 1
make[2]: Leaving directory `/usr/local/src/inn/inn-1.5.1'
make[1]: *** [lint] Error 2
make[1]: Leaving directory `/usr/local/src/inn/inn-1.5.1'
make: *** [world] Error 2
====================
so then I do a make world LDFLAGS=-bloadmap and I get
====================
cd frontends ; make  lint ; cd ..
make[3]: Entering directory `/usr/local/src/inn/inn-1.5.1/frontends'
gcc -bloadmap -o inews inews.o  ../libinn.a ../libsnprintf.a 
ld: 0706-005 Cannot find or open file: libgcc.a
        ld:open(): No such file or directory
ld: 0706-005 Cannot find or open file: libgcc.a
        ld:open(): No such file or directory
make[3]: *** [inews] Error 1
make[3]: Leaving directory `/usr/local/src/inn/inn-1.5.1/frontends'
make[2]: *** [common] Error 1
make[2]: Leaving directory `/usr/local/src/inn/inn-1.5.1'
make[1]: *** [lint] Error 2
make[1]: Leaving directory `/usr/local/src/inn/inn-1.5.1'
make: *** [world] Error 2
========================
so then I copy libgcc.a to the frontends directory and try the same make
make world LDFLAGS=-bloadmap
now I'm back to 
======================
cd frontends ; make  lint ; cd ..
make[3]: Entering directory `/usr/local/src/inn/inn-1.5.1/frontends'
gcc -bloadmap -o inews inews.o  ../libinn.a ../libsnprintf.a 
ld: 0711-317 ERROR: Undefined symbol: .isinf
ld: 0711-317 ERROR: Undefined symbol: .isnan
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make[3]: *** [inews] Error 1
make[3]: Leaving directory `/usr/local/src/inn/inn-1.5.1/frontends'
make[2]: *** [common] Error 1
make[2]: Leaving directory `/usr/local/src/inn/inn-1.5.1'
make[1]: *** [lint] Error 2
make[1]: Leaving directory `/usr/local/src/inn/inn-1.5.1'
make: *** [world] Error 2
=======================
by this time I'll try anything, so I try it with cc instead of gcc
make world LDFLAGS=-bloadmap CC=cc
and I get this
=======================
cd frontends ; make  lint ; cd ..
make[3]: Entering directory `/usr/local/src/inn/inn-1.5.1/frontends'
cc -bnoquiet -o inews inews.o  ../libinn.a ../libsnprintf.a 
(ld): halt 4
(ld): savename inews
(ld): filelist 5 1
(ld): i /lib/crt0.o
(ld): i inews.o
(ld): i ../libinn.a
(ld): i ../libsnprintf.a
(ld): lib /usr/lib/libc.a
LIBRARY: Shared object libc.a[aio.o]: 5 symbols imported.
LIBRARY: Shared object libc.a[shr.o]: 1472 symbols imported.
LIBRARY: Shared object libc.a[meth.o]: 2 symbols imported.
FILELIST: Number of previously inserted files processed: 5
(ld): resolve
RESOLVE: 573 of 2709 symbols were kept.
(ld): addgl /usr/lib/glink.o
ADDGL: Glink code added for 70 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
        The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR Import-File{Shared-object}
                              RLD: Address  Section  Rld-type Referencing Symbol
 ----------------------------------------------------------------------------------------------
 .isinf                    [8]     ER PR vfprintf.c(../libsnprintf.a[vfprintf.o])
                                   000006e4 .text    R_RBR    [217]   .BSD_vfprintf
 .isnan                    [10]    ER PR vfprintf.c(../libsnprintf.a[vfprintf.o])
                                   00000728 .text    R_RBR    [217]   .BSD_vfprintf
 .__main                   [126]   ER PR inews.c(inews.o)
                                   0000249c .text    R_RBR    [627]   .main
ER: The return code is 8.
make[3]: *** [inews] Error 8
make[3]: Leaving directory `/usr/local/src/inn/inn-1.5.1/frontends'
make[2]: *** [common] Error 1
make[2]: Leaving directory `/usr/local/src/inn/inn-1.5.1'
make[1]: *** [lint] Error 2
make[1]: Leaving directory `/usr/local/src/inn/inn-1.5.1'
make: *** [world] Error 2
=========================
more verbose, but I'm still not sure what it's trying to tell me.

at this point I'm stuck

anyone have any ideas?

thanks in advance
--
Rob


Technical Details
Message-ID: <5rm9t0$lfu$1@freefall.austin.ibm.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5rm9t0$lfu$1@freefall.austin.ibm.com>
Subject: inn-1.5.1-to-inn-1.5.1sec patch problems
Date: Fri, 01 Aug 1997 00:00:00 +0000
From: rhaig@freefall.austin.ibm.com
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
X-Deja-AN: 261450206
Sender: zorch@ftp.UU.NET
Distribution: world
Organization: IBM, Austin
Newsgroups: news.software.nntp,news.admin.technical