🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Adam Bentley Wed, 30 Jul 1997 00:00
INN 1.5.1sec + snprintf
#19920
Author: 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

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