🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Craig Dewick Wed, 14 May 1997 00:00
problem building nnrpd (part of inn 1.5.1) under SunOS 5.5.1
#17763
Author: Craig Dewick
Date: Wed, 14 May 1997 00:00
34 lines
1914 bytes

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

Nothing in loadave.c looks amiss to my untrained eye, so I'm wondering if
anyone else has struck this problem and figured out a soultion? I
currently can't access the INN faq, so I apologise if my question is
covered there. 

Regards,

Craig.

-- 
          Sun Ripened Kernels - http://www.zeta.org.au/~craig/srk.html
                Surplus and pre-loved Sun Microsystems equipment.
                     Based in Sydney, Australia. Operated by
        Craig Dewick - craig@zeta.org.au - http://www.zeta.org.au/~craig  

Re: problem building nnrpd (part of inn 1.5.1) under SunOS 5.5.1
#17779
Author: Craig Dewick
Date: Wed, 14 May 1997 00:00
25 lines
1585 bytes
In <5lb934$o5e$1@godzilla.zeta.org.au> craig@zeta.org.au (Craig Dewick) writes:

>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: 

I'm not one to follow-up to my own postings, but I've received a couple of
email messages to say that I should include the ELF library (libelf) in
the list of libraries to be passed to the linker. So I tried this, and it
worked.

Thannkyou to all those who have read my previous posting and replied.

Regards,

Craig.
-- 
          Sun Ripened Kernels - http://www.zeta.org.au/~craig/srk.html
                Surplus and pre-loved Sun Microsystems equipment.
                     Based in Sydney, Australia. Operated by
        Craig Dewick - craig@zeta.org.au - http://www.zeta.org.au/~craig  

Re: problem building nnrpd (part of inn 1.5.1) under SunOS 5.5.1
#17780
Author: Paul Murphy
Date: Wed, 14 May 1997 00:00
42 lines
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.

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