🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19626

Re: Problem with 'snprintf' in Solaris 2.5 (INN 1.6b1)

#19626
From: Michael Douglass
Date: Thu, 24 Jul 1997 00:00
52 lines
2197 bytes
Juan A. Garcia <juan.garcia@rediris.es> wrote:

In some global header file do the following:

#define snprintf __snprintf
#define vsnprintf __vsnprintf

And you will be fine. :)

: 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)

: I've been looking for this routine (snprintf) in my C library, but
: I think that it's pointing to an internal builtin function not
: accesible:

: snprintf.o (from /usr/lib/libc.a):
: $ nm snprintf.o
: [Index]   Value      Size    Type  Bind  Other Shndx   Name
:  
: [2]     |         0|       0|SECT |LOCL |0    |5      |
: [3]     |         0|       0|SECT |LOCL |0    |4      |
: [4]     |         0|       0|SECT |LOCL |0    |3      |
: [5]     |         0|       0|SECT |LOCL |0    |2      |
: [6]     |         0|     116|FUNC |GLOB |0    |2      |__snprintf
: [7]     |         0|       0|NOTY |GLOB |0    |UNDEF  |_doprnt
: [1]     |         0|       0|FILE |LOCL |0    |ABS    |snprintf.c



: Any help would be apreciated.

: Regards,
: -- 
: Juan.Garcia

-- 
Michael Douglass
Texas Networking, Inc.

   <de> 'hail sparc, full of rammage'
   <de> 'the kernel is with thee'
   <de> 'blessed art thou amongst processors'

Technical Details
Message-ID: <5r8hqd$pen$1@news3.texas.net>
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
References: <33D4F714.41C6@rediris.es>

Show Full Headers
Complete Article Headers
Message-ID: <5r8hqd$pen$1@news3.texas.net>
Subject: Re: Problem with 'snprintf' in Solaris 2.5 (INN 1.6b1)
Date: Thu, 24 Jul 1997 00:00:00 +0000
From: Michael Douglass <mikedoug@staff2.texas.net>
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: 258584589
Distribution: inet
X-Complaints-To: news@news3.texas.net
X-Trace: news3.texas.net 869780109 26071 (None) 207.207.0.39
Organization: Texas Networking, Inc.
Newsgroups: news.software.nntp