Samba-2.2.2 fails to compile with Sun C compiler

eirvine eirvine at tpgi.com.au
Mon Oct 15 04:58:03 GMT 2001


Hi,

I seem to recall that I had to *explicitly* shut off 
winbind support at the configure stage.

(If you actually want winbind, then this is a problem :)).

Eddie.

Michael Keightley wrote:
> 
> Am getting this error when I try to compile Samba-2.2.2 with the Sun C compiler
> (Forte 6 update 2) on Solaris 8 (same error on 2.6):
> 
> Compiling nsswitch/wb_common.c with -KPIC
> Linking nsswitch/libnss_winbind.so
> ld: fatal: option -h and building a dynamic executable are incompatible
> ld: fatal: Flags processing errors
> *** Error code 1
> make: Fatal error: Command failed for target `nsswitch/libnss_winbind.so'
> 
> Here are the flags:
> 
> Using FLAGS32 =  -O -xtarget=ultra2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLOGFILEBASE="/home/samba_pearl/var" -DCONFIGFILE="/home/samba_pearl/lib/smb.conf" -DLMHOSTSFILE="/home/samba_pearl/lib/lmhosts" -DSWATDIR="/home/samba_pearl/swat" -DSBINDIR="/home/samba_pearl/sbin" -DLOCKDIR="/home/samba_pearl/var/locks" -DCODEPAGEDIR="/home/samba_pearl/lib/codepages" -DDRIVERFILE="/home/samba_pearl/lib/printers.def" -DBINDIR="/home/samba_pearl/bin" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/home/samba_pearl/private/smbpasswd" -DTDB_PASSWD_FILE="/home/samba_pearl/private/smbpasswd.tdb"
> 
> Any idea what might be wrong?
> 
> Michael
> 
> --
> Michael Keightley <Michael.Keightley at quadstone.com>    Tel: +44 131 220 4491
> Systems Manager,  Quadstone Limited,                   Fax: +44 131 220 4492
> 16 Chester Street,  Edinburgh EH3 7RA,  Scotland       http://www.quadstone.com




More information about the samba-ntdom mailing list