Samba-2.2.2 fails to compile with Sun C compiler

Gerald (Jerry) Carter jerry at samba.org
Mon Oct 15 07:10:03 GMT 2001


On Mon, 15 Oct 2001, 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'

Use

	./configure --with-winbind=no

to bypass building winbindd and libnss_winbind.so








cheers, jerry





More information about the samba-ntdom mailing list