Re: compile samba-2.2.4 on Solaris 7
On Thu, 30 May 2002, Juergen Hasch wrote: I believe the test program isn't that wrong. Wouldn't it be correct simply not to use dirent64 at all if readdir64 isn't defined ? This sounds correct to me. Although I'm trying to find a box on which readdir64 is not available. I'm checking it into SAMBA_2_2 now. cheers, jerry
Re: compile samba-2.2.4 on Solaris 7
On Mon, Jun 03, 2002 at 03:31:10PM -0500, Gerald Carter wrote: Jerry == Gerald Carter [EMAIL PROTECTED] writes: Eric On Thu, 30 May 2002, Eric Boehm wrote: I've seen the Eric following behavior on Solaris 8. Eric 1. compiling 32-bit with Sun Workshop, configure checks for Eric and finds readdir64... yes dirent64... yes Eric 2. compiling 32-bit with Sun Workshop, configure checks for Eric and finds readdir64... no dirent64... yes Jerry Do you mean 64-bit here for #2? Yes, I mean 64-bit. cut-and-paste too quickly, sorry. -- Eric M. Boehm /\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail
Re: compile samba-2.2.4 on Solaris 7
On Tue, 7 May 2002, Tian-xiong Lu wrote: 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. Am looking into it. Also, a lot of messages like this: gcc: unrecognized option '-KPIC' Already fixed. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org 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--
Re: compile samba-2.2.4 on Solaris 7
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 ftp://ftp.samba.org:/pub/jerry/samba-2.2.4-patches/ cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org 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--
Re: compile samba-2.2.4 on Solaris 7
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. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]