help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

snprintf.c on OSF1 V4.0


From: Ferguson, Steve
Subject: snprintf.c on OSF1 V4.0
Date: Fri, 11 Jul 2003 15:14:10 -0400

Has anyone tried building cfengine on OSF1 V4.0?  I'm running into a problem
with the snprintf.c file included in pub.  The error is included below.  I
have to admit I'm a bit rusty at tracking down missing includes, and this
seems to be that sort of problem.  My web searches haven't turned up
anything helpful yet.

Any suggestions?

Steve

$ make
No suffix list.
Making all in pub
source='snprintf.c' object='snprintf.o' libtool=no
depfile='.deps/snprintf.Po' tmpdepfile='.deps/snprintf.TPo'  depmode=tru64
/bin/ksh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I../src
-I/usr/local/BerkeleyDB.3.2/include -I/usr/local/ssl/include   -D_REENTRANT
-pthread  -D_REENTRANT -pthread -g -I/usr/local/BerkeleyDB.3.2/include
-D_REENTRANT -pthread -g -I/usr/local/BerkeleyDB.3.2/include -c `test -f
'snprintf.c' || echo './'`snprintf.c
cc: Error: snprintf.h, line 11: Ill-formed parameter type list.
(parmtyplist)
extern int snprintf(char *, size_t, const char *, /*args*/ ...);
----------------------------^
cc: Error: snprintf.h, line 12: Ill-formed parameter type list.
(parmtyplist)
extern int vsnprintf(char *, size_t, const char *, va_list);
-----------------------------^
cc: Error: snprintf.h, line 23: Ill-formed parameter type list.
(parmtyplist)
extern int vasprintf (char **ptr, const char *fmt, va_list ap);
---------------------------------------------------^
cc: Error: snprintf.h, line 24: Ill-formed parameter type list.
(parmtyplist)
extern int asnprintf (char **ptr, size_t str_m, const char *fmt, /*args*/
...);
----------------------------------^
cc: Error: snprintf.h, line 25: Ill-formed parameter type list.
(parmtyplist)
extern int vasnprintf(char **ptr, size_t str_m, const char *fmt, va_list
ap);
----------------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.



--
Steve Ferguson
gedas USA, Inc.
address@hidden
http://www.gedasusa.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]