[Samba] compile fails for HP UX 11.00 using gcc 2.95.2

Homann, Mathias Mathias.Homann at airbus.dasa.de
Thu Feb 21 07:08:11 GMT 2002


Hi,

see this:

root at borne/1 # gcc --version
2.95.2

root at borne/1 # uname -a
HP-UX borne B.11.00 A 9000/785 2003588577 two-user license



Compiling lib/snprintf.c
In file included from lib/snprintf.c:63:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:29:
warning: conflicting types for built-in function `memcmp'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:85:
warning: conflicting types for built-in function `memcpy'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:87:
warning: conflicting types for built-in function `memset'
lib/snprintf.c: In function `fmtfp':
lib/snprintf.c:601: warning: declaration of `index' shadows global
declaration
lib/snprintf.c: At top level:
lib/snprintf.c:760: conflicting types for `snprintf'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/stdio.h:447:
previous declaration of `snprintf'
*** Error exit code 1

Stop.



hints? source code is of samba 2.2.2.


bye
	MH




More information about the samba mailing list