[Samba] Error compiling 3.0.0beta2 on HP-UX
Alexander Skwar
listen at alexander.skwar.name
Mon Jul 7 10:49:58 GMT 2003
Hello!
I'm trying to compile 3.0.0beta2 on a HP-UX 11.00 machine with gcc v3.2.
After running configure --prefix=/some/where, I ran make which exited
with this error message:
Compiling lib/snprintf.c
lib/snprintf.c:832: conflicting types for `snprintf'
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/stdio.h:493:
previous declaration of `snprintf'
*** Error exit code 1
Line 832 of lib/snprintf.c contains:
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
int snprintf(char *str,size_t count,const char *fmt,...)
{
size_t ret;
va_list ap;
va_start(ap, fmt);
ret = vsnprintf(str, count, fmt, ap);
va_end(ap);
return ret;
}
#endif
Hmm, what to do?
Thanks a lot for any help,
Alexander Skwar
--
Signatur vorübergehend deaktiviert.
More information about the samba
mailing list