help-cfengine
[Top][All Lists]
Advanced

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

Re: snprintf.c on OSF1 V4.0


From: Graham Allan
Subject: Re: snprintf.c on OSF1 V4.0
Date: Fri, 11 Jul 2003 14:41:12 -0500
User-agent: Mutt/1.4.1i

We ran cfengine 1.6x on OSF v4, and built it with the DEC/Compaq C
compiler. We switched to cfengine 2.x along with the switch to OSF 5.x,
so I don't have any experience with cfengine 2 on OSF v4.

However, I believe that on v4, an OS-supplied snprintf can be found in
libdb (on 5.x it's in libc). Might that help?

Graham

On Fri, Jul 11, 2003 at 03:14:10PM -0400, Ferguson, Steve wrote:
> 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
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cfengine

-- 
-------------------------------------------------------------------------
Graham Allan - I.T. Manager - address@hidden - (612) 624-5040
School of Physics and Astronomy - University of Minnesota
-------------------------------------------------------------------------




reply via email to

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