🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by uomini Fri, 19 Jul 1996 00:00
Problem installing INN 1.4
#9460
Author: uomini
Date: Fri, 19 Jul 1996 00:00
42 lines
1944 bytes
I'm tryin to install INN 1.4 on my Solaris 2.4 system, after
installing the 70 MB of other required GNU stuff, and during
the INN install I got three fatal errors:

gcc -g -o inews inews.o  ../libinn.a 
Undefined			first referenced
 symbol  			    in file
socket                              ../libinn.a(remopen.o)
gethostbyname                       ../libinn.a(getfqdn.o)
inet_addr                           ../libinn.a(remopen.o)
gethostname                         ../libinn.a(getfqdn.o)
connect                             ../libinn.a(remopen.o)
ld: fatal: Symbol referencing errors. No output written to inews
make[3]: *** [inews] Error 1

gcc  -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o newsfeeds.o ng.o proc.o rc.o site.o ../libinn.a -lnsl	-lsocket -lelf		
Undefined			first referenced
 symbol  			    in file
dbzwritethrough                     his.o
ld: fatal: Symbol referencing errors. No output written to innd
make[3]: *** [innd] Error 1

gcc  -o makehistory makehistory.o ../libinn.a -lnsl	-lsocket -lelf		
Undefined			first referenced
 symbol  			    in file
dbztagmask                          makehistory.o
ld: fatal: Symbol referencing errors. No output written to makehistory
make[3]: *** [makehistory] Error 1

Any ideas where the problem is? TIA.

Bob
---
Robert Uomini
The Fractal Images Company (http://www.fractals.com)
Voice: 510-528-0258/800-548-0258
Fax:   510-528-0243



Re: Problem installing INN 1.4
#9449
Author: Paul Southworth
Date: Fri, 19 Jul 1996 00:00
60 lines
2944 bytes
In article <4smkb5$9gf@kadath.zeitgeist.net>,
 <uomini@fractals.fractals.com> wrote:
>I'm tryin to install INN 1.4 on my Solaris 2.4 system, after
>installing the 70 MB of other required GNU stuff, and during
>the INN install I got three fatal errors:
>
>gcc -g -o inews inews.o  ../libinn.a 
>Undefined			first referenced
> symbol  			    in file
>socket                              ../libinn.a(remopen.o)
>gethostbyname                       ../libinn.a(getfqdn.o)
>inet_addr                           ../libinn.a(remopen.o)
>gethostname                         ../libinn.a(getfqdn.o)
>connect                             ../libinn.a(remopen.o)
>ld: fatal: Symbol referencing errors. No output written to inews
>make[3]: *** [inews] Error 1

Your config.data does not list the proper libraries for Solaris.
It should look like this:

##  If you need to link in other libraries, add them here
#### =()<LIBS           @<LIBS>@>()=
LIBS                    -lnsl -lsocket -lelf -lresolv

>gcc  -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o newsfeeds.o ng.o proc.o rc.o site.o ../libinn.a -lnsl	-lsocket -lelf		
>Undefined			first referenced
> symbol  			    in file
>dbzwritethrough                     his.o
>ld: fatal: Symbol referencing errors. No output written to innd
>make[3]: *** [innd] Error 1

This generally means that you have GNU patch (not one of Larry Wall's
older distributions) and you are building an old version of INN
(such as 1.4sec).  The problem is that the older version of patch
interprets "-p" as the newer version uses "-p0".

The really clever thing to do, however, is go get INN 1.4unoff4, which
has additional features, fixes, security patches, and portability 
enhancements, including some specific to Solaris.  If I were you
I would take a gander at http://www.math.psu.edu/barr/INN.html

The Makefile in the unoff4 release has been altered to avoid the
patch usage syntax problem you encountered.

>gcc  -o makehistory makehistory.o ../libinn.a -lnsl	-lsocket -lelf		
>Undefined			first referenced
> symbol  			    in file
>dbztagmask                          makehistory.o
>ld: fatal: Symbol referencing errors. No output written to makehistory
>make[3]: *** [makehistory] Error 1

Same problem as the previous.  dbz.c was not properly patched.  The
missing functions are in the patch.

--
Paul Southworth
pauls@cic.net

Re: Problem installing INN 1.4
#9824
Author: Jim McCullars
Date: Fri, 02 Aug 1996 00:00
39 lines
1973 bytes
uomini@fractals.fractals.com wrote:

: I'm tryin to install INN 1.4 on my Solaris 2.4 system, after
: installing the 70 MB of other required GNU stuff, and during
: the INN install I got three fatal errors:

: gcc -g -o inews inews.o  ../libinn.a 
: Undefined			first referenced
:  symbol  			    in file
: socket                              ../libinn.a(remopen.o)
: gethostbyname                       ../libinn.a(getfqdn.o)
: inet_addr                           ../libinn.a(remopen.o)
: gethostname                         ../libinn.a(getfqdn.o)
: connect                             ../libinn.a(remopen.o)
: ld: fatal: Symbol referencing errors. No output written to inews
: make[3]: *** [inews] Error 1

   I just got finished upgrading my Sun machine from SunOS to Solaris 2.5.1
(meaning I had to re-install INN) and I got the same error.  I got around
it by changing the LIBS tag in the config.data file to this:

LIBS	-lsocket -lnsl -lelf -lresolv

: Undefined			first referenced
:  symbol  			    in file
: dbzwritethrough                     his.o
: ld: fatal: Symbol referencing errors. No output written to innd
: make[3]: *** [innd] Error 1

   I got some errors on the dbz stuff as well.  I think the problem was
that the patch program didn't work right, since I was not using the gnu
version of patch.  When I installed gnu patch, this problem went away
as well.

Jim


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