Compilation Failure winbind 2.2.2 on Solaris 7

Gerald (Jerry) Carter jerry at samba.org
Wed Nov 14 20:34:03 GMT 2001


On Wed, 14 Nov 2001, Ann Buck wrote:

>
> I have subsequently compiled 2.0.7 successfully on Solaris 7, with Sparc
> 'C' Compiler 5.0.
> 2.0.7 and previous versions have compiled successfully and work fine on
> Digital Unix 4.0.D.  So have had to abandon 2.2.2 for time being in
> favor of 2.0.7.
>
> Since samba compilations have been successful before, was not logging
> output :-(
> The gist of the errors are as follows:
>
> Compiler failed on:
> Compiling nsswitch/winbindd_util.c
> line # 628 arg # 6 is incompatible with prototype
> pointer to pointer to uint included proto.h line 1713
> line 837 syntax error empty declaration
>
> Compiling nsswitch/winbind_nss.c with -KPIC
> line 377 arg # 4 incompatible with prototype line 116
> {Repeated at lines 377 428 441 491 504 630 691 705 755 769}
>
> Ld: fatal: option -h and building a dynamic executable are incompatible
> ld: fatal Flags processing errors
> Make Fatal error Command failed for target 'nsswitch/libnss_winbind.so'

either use gcc and gnu ld, or replace the -share flag with -G (?) IIRC.








cheers, jerry
 ---------------------------------------------------------------------
 www.samba.org              SAMBA  Team             jerry_at_samba.org
 www.plainjoe.org                                jerry_at_plainjoe.org
 http://www.hp.com        Hewlett-Packard
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list