🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9449

Re: Problem installing INN 1.4

#9449
From: 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

Technical Details
Message-ID: <4sndba$f5v@news.cic.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <4smkb5$9gf@kadath.zeitgeist.net>

Show Full Headers
Complete Article Headers
Message-ID: <4sndba$f5v@news.cic.net>
Subject: Re: Problem installing INN 1.4
Date: Fri, 19 Jul 1996 00:00:00 +0000
From: pauls@cic.net (Paul Southworth)
References: <4smkb5$9gf@kadath.zeitgeist.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 168810683
Organization: CICNet, Inc.
Newsgroups: news.software.nntp