🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3436

Stuck trying to compile inn-1.7

#3436
From: Benjamin Flynn
Date: Sat, 08 Nov 1997 00:00
29 lines
1921 bytes
Any help you could give would be very much appreciated.

I'm trying to compile INN on a sparc running solaris 2.5.1.  I have set up
the configuration for inn, and compiled the code in the config and lib
directories.  The makefile in the lib directory uses 'ar' to create
'libinn.a' out of (presumably) all of the files in that directory.  When I
try to compile inews, in the frontends directory, I get this error:


gcc  -o inews inews.o  ../libinn.a
Undefined                       first referenced
 symbol                             in file
socket                              ../libinn.a(remopen.o)
gethostbyname                       ../libinn.a(getfqdn.o)
inet_addr                           ../libinn.a(remopen.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'


That is the correct path for the library.  Additionally, remopen.c and
getfqdn.c seem to have all of the proper headers included in them.

What could I be doing wrong?

- Benjamin Flynn
cflynn@haverford.edu
Technical Details
Message-ID: <cflynn-2910971755180001@cas30.resnet.haverford.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc89c,1d8238ae33a87e4f
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 102b08,1d8238ae33a87e4f
X-Google-Attributes: gid102b08,public
X-Google-Thread: fb32b,1d8238ae33a87e4f
X-Google-Attributes: gidfb32b,public
X-Google-Thread: 10ba33,1d8238ae33a87e4f
X-Google-Attributes: gid10ba33,public
X-Google-Thread: 109fba,1d8238ae33a87e4f
X-Google-Attributes: gid109fba,public
From: cflynn@haverford.edu (Benjamin Flynn)
Subject: Stuck trying to compile inn-1.7
Date: 1997/11/08
Message-ID: <cflynn-2910971755180001@cas30.resnet.haverford.edu>
X-Deja-AN: 288506681
Organization: Haverford College
Newsgroups: comp.unix.programmer,comp.lang.c++,comp.sys.sun.apps,gnu.g++.help,news.software.misc