🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19464

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

#19464
From: Juan A. Garcia
Date: Tue, 22 Jul 1997 00:00
35 lines
1625 bytes
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

Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <33D4F714.41C6@rediris.es>
Subject: Problem with 'snprintf' in Solaris 2.5 (INN 1.6b1)
Date: Tue, 22 Jul 1997 00:00:00 +0000
From: "Juan A. Garcia" <juan.garcia@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: 258168531
Distribution: inet
Organization: CSIC/RedIRIS
Newsgroups: news.software.nntp