Article View: news.software.nntp
Article #17780Re: problem building nnrpd (part of inn 1.5.1) under SunOS 5.5.1
From: Paul Murphy
Date: Wed, 14 May 1997 00:00
Date: Wed, 14 May 1997 00:00
42 lines
2231 bytes
2231 bytes
Craig Dewick wrote: > > I'm attempting to build Inn 1.5.1 for a client on a Sparcstation running > SunOS 5.5.1 (aka Solaris 2.5.1), and the build is aborting when trying to > link the object files together to make 'nnrpd'. Here's the output from the > compile session: > > cd nnrpd ; make all ; cd .. > make[1]: Entering directory `/opt/azwan/inn-1.5.1/nnrpd' > gcc -O -o nnrpd article.o group.o commands.o misc.o newnews.o nnrpd.o perl.o post.o loadave.o ../libinn.a -lsocket -lnsl -lresolv > Undefined first referenced > symbol in file > nlist loadave.o > ld: fatal: Symbol referencing errors. No output written to nnrpd > make[1]: *** [nnrpd] Error 1 > make[1]: Leaving directory `/opt/azwan/inn-1.5.1/nnrpd' > make: *** [all] Error 1 > The problem is that you've not set the options correctly for Solaris. Somewhere in the documentation, it suggests the settings needed for each of the main operating systems, which are set in config/config.data from the source directory. For Solaris, you need the line: LIBS -lnsl -lsocket -lelf where from your output above, you obviously have: LIBS -lnsl -lsocket -lresolv I'd recommend reading the installation guide in depth before going any further - getting INN to work isn't simple, and none of the available documentation seems coherent enough to lead you by the hand through it. However, getting it to compile is relatively simple - its the next stage which will have you tearing your hair out! Paul.
Technical Details
Message-ID:
<33797983.AD4@gemini-research.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.apps.mbox.zip!not-for-mailReferences:
<5lb934$o5e$1@godzilla.zeta.org.au>Show Full Headers
Complete Article Headers
Message-ID: <33797983.AD4@gemini-research.co.uk> Subject: Re: problem building nnrpd (part of inn 1.5.1) under SunOS 5.5.1 Date: Wed, 14 May 1997 00:00:00 +0000 From: Paul Murphy <pjm@gemini-research.co.uk> References: <5lb934$o5e$1@godzilla.zeta.org.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.apps.mbox.zip!not-for-mail X-Deja-AN: 241443844 Organization: Gemini Research Ltd Newsgroups: news.software.nntp,comp.sys.sun.apps