Solaris bind function definition ...

Richard Sharpe sharpe at ns.aus.com
Thu May 17 02:23:29 GMT 2001


Hi,

The Samba build farm is complaining about an incompatible pointer type for
sun1 - Solaris 8 UltraSparc type machine ...

It does not like a call to:

  bind(dgram_sock, (struct sockaddr_in *)&sock_out, ....)

It complains about arg 2.

Can anyone show me what the prototype for bind is on an UltraSparc running
Solaris 8 so I can fix the warning?


Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba






More information about the samba-technical mailing list