🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16610

Re: innd 1.5.1 on Solaris 2.5.1

#16610
From: 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.

Technical Details
Message-ID: <p567y6f1o0.fsf@baynetworks.com>
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: <3341AF07.668A@premenos.com>

Show Full Headers
Complete Article Headers
Message-ID: <p567y6f1o0.fsf@baynetworks.com>
Subject: Re: innd 1.5.1 on Solaris 2.5.1
Date: Wed, 02 Apr 1997 00:00:00 +0000
From: psmith@baynetworks.com (Paul D. Smith)
References: <3341AF07.668A@premenos.com>
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: 230048262
Sender: psmith@lemming
To: John Mizzi <jmizzi@premenos.com>
Organization: Bay Networks, Inc.
Reply-To: psmith@baynetworks.com
Newsgroups: news.software.nntp