[Samba] Samba-2.2.7a on HPUX 11.00 trying to compile LDAP support

Damian Hickey hickeyd at workcoverqld.com.au
Thu Mar 13 01:15:10 GMT 2003

Dear all,

I am trying to use Samba with LDAP support so I can't use the CIFS

I are having an issue with compiling samba-2.27.a (patched) on our HPUX

I am configuring it with these Samba option flags:


I have gcc-3.2 installed.

I run configure OK, but get an error when running gmake:

Compiling lib/snprintf.c 
lib/snprintf.c790: conflicting types for `snprintf' 
declaration of `snprintf' 
***Error exit code 1 

I think the lines in conflict are:

gcc-3.2 stdio.h   "extern int snprintf(char *, _hpux_size_t, char

samba-2.2.7a/source/lib/snprintf.c " int snprintf(char *str,size_t
count,const char *fmt,...)"

but I do not know how to resolve the issue.

I'd love to know if you have had any success with this or have any

With thanks,

Damian Hickey
Unix Administrator
Workcover Queensland
15th Floor, 280 Adelaide St.
ph 07 30066422
fax 07 30066424
mob 0421 093582

Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland.
The contents of this message are to be used for the intended purpose only
and are to be kept confidential at all times. This message may contain
privileged information directed only to the intended addressee/s.
Accidental receipt of this information should be deleted promptly
and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.

More information about the samba mailing list