🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by rhaig Wed, 30 Jul 1997 00:00
inn-1.5.1-to-inn-1.5.1sec patch problems
#19903
Author: rhaig
Date: Wed, 30 Jul 1997 00:00
113 lines
5305 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

Re: inn-1.5.1-to-inn-1.5.1sec patch problems
#20024
Author: Andrew Moar
Date: Thu, 31 Jul 1997 00:00
31 lines
1916 bytes
In article <5rodi8$gqa$1@freefall.austin.ibm.com>,
	rhaig@freefall.austin.ibm.com writes:
> 
> 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

I'm guessing by your domain name and compiler messages, that you're 
doing this on an AIX box.  I haven't tried that, but it looks like the 
same problem I had under Digital Unix.  You need to change the Makefile 
for the newlog stuff to include the maths library (-lm).  You'll probably 
need to do something with the last 3 lines of local.h to make sure 
isinf(x) is defined (I just took out the #if statement).

Andrew
-- 
        Andrew Moar : Ph +61 3 9479 1505  email A.Moar@latrobe.edu.au
            Systems Programmer, Information Technology Services
                    La Trobe University, Melbourne

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