🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Tigger Sat, 30 Apr 1994 00:21
tin on Solaris 2
#8824
Author: Tigger
Date: Sat, 30 Apr 1994 00:21
32 lines
2307 bytes
I'm trying to build tin 1.22 on a Sun SPARCstation 10/51 with Solaris 2.3
and gcc 2.4.8.  It seems to compile okay (with just some repeated warnings
about a parameter to qsort being the wrong type or something like that),
but when it attempts to link the objects into an executable it dies with
the following error:

  Undefined                       first referenced
   symbol                             in file
  socket                              nntplib.o
  gethostbyname                       nntplib.o
  getservbyname                       nntplib.o
  inet_addr                           nntplib.o
  inet_ntoa                           nntplib.o
  connect                             nntplib.o
  ld: fatal: Symbol referencing errors. No output written to tin
  *** Error code 1
  make: Fatal error: Command failed for target `linkit'
  Current working directory /opt/local/work/tin/tin-1.22
  *** Error code 1
  make: Fatal error: Command failed for target `sysvr4'

Not being a C or Unix programmer, about the best guess I can make is
that I'm not including some necessary library.  Unfortunately, I have
no idea which library that might be, or where it would be found.  Has
anyone by chance run into this and solved it?  And would you be willing
to share the solution?  Thanks...

--
Greg Orman                                     greg@pomona.claremont.edu
Systems Manager                                       greg@pomona.bitnet
Seaver Academic Computing Services
Pomona College                            Standard disclaimer-type stuff
Re: tin on Solaris 2
#9193
Author: Marcos Ramirez A.
Date: Wed, 25 May 1994 02:39
23 lines
1683 bytes
Tigger (greg@pomona.claremont.edu) wrote:
: I'm trying to build tin 1.22 on a Sun SPARCstation 10/51 with Solaris 2.3
[description erased]
: to share the solution?  Thanks...

    try adding "-lsocket -lnsl -lelf -lkvm" (without quotes) to your
compiler params, it should fix your trouble.

    If you get an error of "compiler cannot find lib/file xxx", add a -Llibdir
param , when libdir is the path for the file called libxxx.a.

    Btw : i'm trying to compile tin too on a Sun SparcStation 10, but still
unsuccessfully, do you have a patch for solaris ?? or at least, can say me
with options are ya using ??


    	    	    	    	    	    	    Marcos.
						    
Ps : i'm using gcc version 2.5.8 and solaris 2.3
-- 
"Todo derecho que no lleva consigo | Marcos Ramirez A. <arcadia@inf.utfsm.cl>
 un deber, no merece que se luche  | Ing. Civil Informatica
 para defenderlo"        M. GHANDI | Universidad Tecnica Federico Santa Maria
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