Problems compiling 2.0.7 on AIX 4.3.2

Daniell, Ian Ian.Daniell at cwcom.co.uk
Tue Nov 7 15:54:48 GMT 2000


I've been trying to compile Samba 2.0.7 on an RS/6000 J30 running AIX 4.3.2
using gcc 2.95.1. During compilation, I get the following errors:

Any help would be much appreciated.

Compiling smbd/server.c
smbd/server.c: In function `open_sockets':
smbd/server.c:214: warning: passing arg 3 of `naccept' from incompatible
pointer type

Compiling smbd/oplock.c
smbd/oplock.c: In function `open_oplock_ipc':
smbd/oplock.c:99: warning: passing arg 3 of `ngetsockname' from incompatible
pointer type
smbd/oplock.c: In function `receive_local_message':
smbd/oplock.c:244: warning: passing arg 6 of `nrecvfrom' from incompatible
pointer type

Compiling lib/util_sock.c
lib/util_sock.c: In function `is_a_socket':
lib/util_sock.c:54: warning: passing arg 5 of `getsockopt' from incompatible
pointer type
lib/util_sock.c: In function `read_udp_socket':
lib/util_sock.c:182: warning: passing arg 6 of `nrecvfrom' from incompatible
pointer type
lib/util_sock.c: In function `client_name':
lib/util_sock.c:998: warning: passing arg 3 of `ngetpeername' from
incompatible pointer type
lib/util_sock.c: In function `client_addr':
lib/util_sock.c:1044: warning: passing arg 3 of `ngetpeername' from
incompatible pointer type


Many thanks,

Ian Daniell

** Email: ian.daniell at cwcom.co.uk
** Phone: +44 20 8873 5547
** Fax:   +44 20 8873 5569


**********************************************************************
This message may contain information which is confidential or privileged.
If you are not the intended recipient, please advise the sender immediately
by reply e-mail and delete this message and any attachments
without retaining a copy.  

**********************************************************************




More information about the samba mailing list