compile samba-2.2.4 on Solaris 7

Richard Sharpe rsharpe at
Tue May 7 00:12:03 GMT 2002

On Tue, 7 May 2002, Tian-xiong Lu wrote:

> Hi there,
> Just tried compling samba-2.2.4 on a Solaris 7 box with two configure options:
> --with-libsmbclient  --with-acl-support
> When compiling I got a warning message like this:
> In function "sys_readdir"
> lib/system.c 331 Warning: return from incompatible pointer type.
> Also, a lot of messages like this:
> gcc: unrecognized option '-KPIC'

I think Jerry is fixing this. It is something like -fPIC under gcc, so you 
could try changing the Makefile to reflect that and get back to us.

Richard Sharpe, rsharpe at, rsharpe at, 
sharpe at

More information about the samba-technical mailing list