Thread View: news.software.nntp
2 messages
2 total messages
Started by Andrea Buzzi
Wed, 30 Jul 1997 00:00
innd1.5.1sec help
Author: Andrea Buzzi
Date: Wed, 30 Jul 1997 00:00
Date: Wed, 30 Jul 1997 00:00
67 lines
2641 bytes
2641 bytes
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..
ARGHHH
/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.
...
cpp: "stdio.h", line 346: warning 2001: Redefinition of macro P_tmpdir.
cc: "/usr/include/stdio.h", line 135: error 1000: Unexpected symbol: "--".
cc: "/usr/include/stdio.h", line 135: error 1000: Unexpected symbol: "->".
cc: "/usr/include/stdio.h", line 135: error 1000: Unexpected symbol: "<".
cc: "/usr/include/stdio.h", line 135: error 1000: Unexpected symbol: ":".
cc: "/usr/include/stdio.h", line 135: error 1000: Unexpected symbol: "*".
cc: "/usr/include/stdio.h", line 135: error 1000: Unexpected symbol: "->".
cc: "/usr/include/stdio.h", line 135: error 1000: Unexpected symbol: "++".
...
*sigh*....
Andrea
--
__
//\\__ Andrea Buzzi E-Mail: sez@dsi.unimi.it
// \\\\ P.za S. Giuseppe 9 sez@psycho.usr.dsi.unimi.it
--- - \\ 20162 Milano (I) ab428692@silab.dsi.unimi.it
//
// http://www.silab.dsi.unimi.it/~ab428692 http://149.132.130.35/~sez
Re: innd1.5.1sec help
Author: 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
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