compile samba-2.2.4 on Solaris 7

Gerald Carter jerry at
Thu May 9 18:42:04 GMT 2002

On Wed, 8 May 2002, Tian-xiong Lu wrote:

> Thanks, Richard for the reply.
> Tried with -fPIC instead of -KPIC, it worked. Checked with gcc
> manpage, -fPIC is
> an option but -KPIC not.

Fixed in SAMBA_2_2 & HEAD

> 1. smbd/password.c: In function 'grab_server_mutex':
>     smbd/password.c:1198: warning: passing arg 1 of `message_named_mutex'
> discards
>     `const' from pointer target type.

Ignore for now.

> 2. lib.system.c: In function`sys_readdir':
>     lib.system.c:331: warning: return from incompatible pointer type

Did not see this one.

> 3. In file included from nsswitch/winbind_nss_solaris.c:20:
>     nsswitch/winbind_nss_config.h:135: warning: `ZERO_STRUCTP' redefined
>     include/smb_macros.h:48: warning: this is the location of the previous
> definition

Fixed in SAMBA_2_2 & HEAD.

I'm collecting individual patches against 2.2.4 in

cheers, jerry
 SAMBA Team                             
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba-technical mailing list