🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by John Mizzi Tue, 01 Apr 1997 00:00
innd 1.5.1 on Solaris 2.5.1
#16557
Author: John Mizzi
Date: Tue, 01 Apr 1997 00:00
32 lines
1380 bytes
OK,	Here's my problem....

	I need to install innd 1.5.1 on a solaris box running 2.5.1
	and I can't get the damn thing to build.

	Yes I have read the FAQ and the install docs and I consistantly
	get these errors



cd lib ; make  install ; cd ..
 
cd frontends ; make  all ; cd ..
gcc  -o inews inews.o  ../libinn.a 
Undefined                       first referenced
 symbol                             in file
socket                              ../libinn.a(remopen.o)
inet_addr                           ../libinn.a(remopen.o)
__switch_gethostbyname              ../libinn.a(getfqdn.o)
connect                             ../libinn.a(remopen.o)
ld: fatal: Symbol referencing errors. No output written to inews
*** Error code 1
make: Fatal error: Command failed for target `inews'
Current working directory /home/mis2/src/inn-1.5.1/frontends

Can anyone help ????


Thanks

Re: innd 1.5.1 on Solaris 2.5.1
#16562
Author: Dave Barr
Date: Tue, 01 Apr 1997 00:00
22 lines
1249 bytes
In article <3341AF07.668A@premenos.com>,
John Mizzi  <jmizzi@premenos.com> wrote:
>cd frontends ; make  all ; cd ..
>gcc  -o inews inews.o  ../libinn.a 
>Undefined                       first referenced
> symbol                             in file
>socket                              ../libinn.a(remopen.o)
>inet_addr                           ../libinn.a(remopen.o)
>__switch_gethostbyname              ../libinn.a(getfqdn.o)
>connect                             ../libinn.a(remopen.o)

You need:

LIBS	-lsocket -lnsl -lelf -lresolv

in your config.data for Solaris 2.x.  (you did do a
 "subst -f ../sample-configs/config.data-solaris2.3-4 config.data" ?)

--Dave

Re: innd 1.5.1 on Solaris 2.5.1
#16610
Author: Paul D. Smith
Date: Wed, 02 Apr 1997 00:00
44 lines
2306 bytes
%% John Mizzi <jmizzi@premenos.com> writes:

  jm> 	I need to install innd 1.5.1 on a solaris box running 2.5.1
  jm> 	and I can't get the damn thing to build.

  jm> 	Yes I have read the FAQ and the install docs and I consistantly
  jm> 	get these errors

  jm> gcc  -o inews inews.o  ../libinn.a 
  jm> Undefined                       first referenced
  jm>  symbol                             in file
  jm> socket                              ../libinn.a(remopen.o)

  jm> Can anyone help ????

Yep, it's pretty obvious you're missing a library or two on your link
line, that would define symbols like "socket".  This would go in the
LIBS variable in config.data.

What libs to add, you ask?  Well, one option would be to look at the FAQ
part 9 (I know the section is for Solaris 2.4, but it probably mostly
applies to Solaris 2.5.1 as well--can anyone provide Heiko with an
up-to-date Solaris 2.5.1 / INN 1.5.1 section for the FAQ?).

Alternatively, you could look at the docs for the functions you're
missing:

  $ man socket
    ...
  SYNOPSIS
       cc [ flag ... ] file ...  -lsocket -lnsl [ library ... ]
                                 ^^^^^^^^^^^^^^

I haven't built for Solaris 2.5.1, but that's what I'd try.  HTH.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@baynetworks.com>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
     These are my opinions--Bay Networks takes no responsibility for them.

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