Article View: news.software.nntp
Article #19608Re: Problem with 'snprintf' in Solaris 2.5 (INN 1.6b1)
From: Andrew A. Vasilyev
Date: Thu, 24 Jul 1997 00:00
Date: Thu, 24 Jul 1997 00:00
20 lines
1276 bytes
1276 bytes
Juan A. Garcia <juan.garcia@rediris.es> wrote: > I get the following error when I try to compile INN 1.6b1 under > Solaris 2.5: > cd frontends ; make DESTDIR= all ; cd .. > gcc -g -o inews inews.o ../libinn.a -lnsl -lsocket -lelf > Undefined first referenced > symbol in file > snprintf ../libinn.a(genid.o) In Solaris 2.5.1 there are internal __snprintf() and __vsnprintf() functions, and in 2.6 they will be named as snprintf()/vsnprintf() So you can simply #define snprintf __snprintf in clibrary.h until 2.6 be released. ________ ANDY
Technical Details
Message-ID:
<5r7p9u$hgv$1@ultra2.demos.su>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-mailReferences:
<33D4F714.41C6@rediris.es>Show Full Headers
Complete Article Headers
Message-ID: <5r7p9u$hgv$1@ultra2.demos.su> Subject: Re: Problem with 'snprintf' in Solaris 2.5 (INN 1.6b1) Date: Thu, 24 Jul 1997 00:00:00 +0000 From: "Andrew A. Vasilyev" <andy@demos.su> References: <33D4F714.41C6@rediris.es> 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: 258512499 Distribution: world Sender: Andrew A. Vasilyev <andy@ultra2.demos.su> Organization: Demos Plus Co. Newsgroups: news.software.nntp