🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.misc
Article #886

Stuck trying to compile inn-1.7

#886
From: Benjamin Flynn
Date: Sat, 08 Nov 1997 00:00
31 lines
1822 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: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.apps.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <cflynn-2910971755180001@cas30.resnet.haverford.edu>
Subject: Stuck trying to compile inn-1.7
Date: Sat, 08 Nov 1997 00:00:00 +0000
From: cflynn@haverford.edu (Benjamin Flynn)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.apps.mbox.zip!not-for-mail
X-Deja-AN: 288506681
Organization: Haverford College
Newsgroups: comp.unix.programmer,comp.lang.c++,comp.sys.sun.apps,gnu.g++.help,news.software.misc