🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19920

INN 1.5.1sec + snprintf

#19920
From: Adam Bentley
Date: Wed, 30 Jul 1997 00:00
41 lines
1928 bytes

Hi,
	I've been trying to build inn1.5.1sec on Solaris 2.4 with gcc 2.7.2. 
	The supplied snprintf sources does not compile under solaris 2.4 with
	this version of gcc. I got hold of the newlog distribution from 
	inn1.6b2 and that builds ok and has the appropriate snprintf.o etc.

	I made sure my libs line included libnewlog.a which contains snprintf


	As soon as I try and build something which uses the function I get


gcc  -o inews inews.o  ../libinn.a ../libnewlog.a  -lnewlog -lnsl -lsocket -lelf
Undefined                       first referenced
 symbol                             in file
xsnprintf                           ../libinn.a(genid.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 /disk1/src/news/inn-1.5/inn-1.5.1sec/frontends
*** Error code 1
make: Fatal error: Command failed for target `all'

Can someone tell me 

1. What I need to do to build the supplied libsnprintf.a lib on solaris with
gcc 
or
2. Why I can't use libnewlog.a from the newlog1.4 distribution.

Thanks.
	
-- 
--                                              _
                                    	       /-\dam
-------------------------------------------------------------------------
FLESH: Adam Bentley, Systems/Networking/Usenet, Coventry University. UK

Technical Details
Message-ID: <5rnuhf$egq$1@zephyrus-fddi.coventry.ac.uk>
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

Show Full Headers
Complete Article Headers
Message-ID: <5rnuhf$egq$1@zephyrus-fddi.coventry.ac.uk>
Subject: INN 1.5.1sec + snprintf
Date: Wed, 30 Jul 1997 00:00:00 +0000
From: ccx009@coventry.ac.uk (Adam Bentley)
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: 260644795
Followup-To: poster
Organization: Coventry University
Newsgroups: news.software.nntp