Article View: news.software.nntp
Article #20030Re: innd1.5.1sec help
From: Peter Peters
Date: Thu, 31 Jul 1997 00:00
Date: Thu, 31 Jul 1997 00:00
75 lines
2700 bytes
2700 bytes
On 30 Jul 1997 15:21:44 GMT, sez@dsi.unimi.it (Andrea Buzzi) wrote:
>I'm on hpux 10.10...
>
>When i run the BUILD it seems to be fine...
>at the first lint output i see:
>
>lint: "../include/clibrary.h", line 22: error 1000: Unexpected symbol: "void".
>
>well i look clibrary.h, line 22
>
> /* =()<typedef const @<POINTER>@ *CPOINTER;>()= */
> typedef const void *CPOINTER;
>
>if i change first line into
>
> /* =()<typedef @<POINTER>@ *CPOINTER;>()= */
>
>and rerun BUILD
>it seems to be ok..
I have this same problem with HPUX 10.10. I haven't done anything at it
yet.
>/usr/ccs/bin/ld: Unsatisfied symbols:
> vsnprintf (code)
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
>Any idea ?
>
>if i go under snprintf directory and launch make i have:
>
>
>|News|[5:19pm]pluto[innd/inn-1.5.1sec/snprintf]>make
> cc -I../include -DHPUX -g -Ae -c snprintf.c
> cc -I../include -DHPUX -g -Ae -c vsnprintf.c
> cc -I../include -DHPUX -g -Ae -c fvwrite.c
> cc -I../include -DHPUX -g -Ae -c strtod.c
> cc -I../include -DHPUX -g -Ae -c vfprintf.c
>cpp: "stdio.h", line 53: warning 2001: Redefinition of macro _IOFBF.
>cpp: "stdio.h", line 56: warning 2001: Redefinition of macro _IONBF.
>cpp: "stdio.h", line 60: warning 2001: Redefinition of macro _IOLBF.
HPUX 10.10 has snprintf but it is called _snprintf.
in include/configdata.h change:
/* If missing snprintf then use the xsnprintf supplied locally */
/* =()<#define @<HAVE_SNPRINTF>@_HAVE_SNPRINTF>()= */
#define DO_HAVE_SNPRINTF
#if ! defined (DO_HAVE_SNPRINTF)
#define snprintf xsnprintf
#define vsnprintf xvsnprintf
#endif
to:
/* If missing snprintf then use the xsnprintf supplied locally */
/* =()<#define @<HAVE_SNPRINTF>@_HAVE_SNPRINTF>()= */
#define DO_HAVE_SNPRINTF
#if ! defined (DO_HAVE_SNPRINTF)
#define snprintf xsnprintf
#define vsnprintf xvsnprintf
#else
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#endif
Peter
Technical Details
Message-ID:
<33e13410.1308688@news.nic.utwente.nl>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:
<5rnm68$lql$1@pluto.sm.dsi.unimi.it>Show Full Headers
Complete Article Headers
Message-ID: <33e13410.1308688@news.nic.utwente.nl> Subject: Re: innd1.5.1sec help Date: Thu, 31 Jul 1997 00:00:00 +0000 From: p.g.m.peters@civ.utwente.nl (Peter Peters) References: <5rnm68$lql$1@pluto.sm.dsi.unimi.it> 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: 261117267 Distribution: inet X-Server-Date: 31 Jul 1997 06:46:20 GMT Organization: Universiteit Twente Reply-To: peter.peters@civ.utwente.nl Newsgroups: news.software.nntp