Compile problem under HP-UX 11.00

patrick.girard at nto.atmel.com patrick.girard at nto.atmel.com
Wed Sep 25 09:30:00 GMT 2002


Hello Greetz,

Compiling Samba 2.2.5 under HP-UX 11.00 with gcc2.95.2 and using make, 
i had the problem :

Compiling lib/snprintf.c 
In file included from lib/snprintf.c:69: 
/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:790: 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

=> I solve the problem using gcc2.95.3 and gmake 3.79.1

Bye

Patrick GIRARD

-----Message d'origine-----
De : ernst.cozijnsen [mailto:ernst.cozijnsen at cgey.nl]
Envoyé : mercredi 25 septembre 2002 09:19
À : samba-technical
Objet : Compile problem under HP-UX 11.00


I'm tying to compile Samba 2.2.5 under HP-ux 11.00 with gcc version 3.0
and i get the following error.
Did anyone encouterd this problem and how did u solve it because i
tried everything except hacking the source.

I get the following error after a ./configure && make

Compiling lib/snprintf.c
lib/snprintf.c:775: conflicting types for `vsnprintf'
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux/3.0/include/stdio.h:494: previous
declaration of `vsnprintf'
lib/snprintf.c:790: conflicting types for `snprintf'
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux/3.0/include/stdio.h:493: previous
declaration of `snprintf'
*** Error exit code 1

Greetz,

Ernst Cozijnsen

--
************************************************************************
****
This message contains information that may be privileged or 
confidential and
is the property of the Cap Gemini Ernst & Young Group. It is only 
intended
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorized to read, print, retain, copy 
disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all 
copies
of this message.
************************************************************************
****




More information about the samba-technical mailing list