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' I have no pressing need to be on 2.2.2 and have v. small amount of 'C' skills but found the incompatible prototype messages sufficiently worrying to send them to you. Ann ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ann Buck - Admin Systems Manager Tel : 01494 522141 x3567 Email : Ann.Buck@bcuc.ac.uk Computer Support Services Buckinghamshire Chilterns University College Queen Alexandra Road, High Wycombe, Bucks HP11 2JZ
Gerald (Jerry) Carter
2001-Nov-14 20:34 UTC
Compilation Failure winbind 2.2.2 on Solaris 7
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--