Recent changes to configure.in (and configure) break Solaris 5.6

Richard Bollinger rabollinger at home.com
Mon Sep 10 08:28:04 GMT 2001


Recent changes to configure.in (and configure) break building Samba CVS on Solaris 5.6

    checking whether cc accepts -fpic... no
    ./configure: test: unknown operator -xO4

Several instances of the following code occur, which breaks when PICFLAG contains multiple tokens:
    if test x$PICFLAG = x; then

The obvious fix...
    if test "x$PICFLAG" = x; then

...gets us a lot further, but there are still problems compiling / linking winbind:

    Compiling nsswitch/winbindd_util.c
    "nsswitch/winbindd_util.c", line 628: warning: argument #6 is incompatible with prototype:
    prototype: pointer to pointer to uint : "include/proto.h", line 1710
    argument : pointer to pointer to enum SID_NAME_USE {SID_NAME_UNKNOWN(8), SID_NAME_INVALID(7),
SID_NAME_DELETED(6), SID_NAME_WKN_GRP(5),...
    "nsswitch/winbindd_util.c", line 837: warning: syntax error:  empty declaration
...
    Compiling nsswitch/winbind_nss.c with -KPIC -xO4
    cc: Warning: -g conflicts with auto-inlining, auto-inlining turned off
    "nsswitch/winbind_nss.c", line 377: warning: argument #4 is incompatible with prototype:
    prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
    argument : pointer to uint
    "nsswitch/winbind_nss.c", line 428: warning: argument #4 is incompatible with prototype:
    prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
    argument : pointer to uint
    "nsswitch/winbind_nss.c", line 441: warning: argument #4 is incompatible with prototype:
    prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
    argument : pointer to uint
    "nsswitch/winbind_nss.c", line 491: warning: argument #4 is incompatible with prototype:
    prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
    argument : pointer to uint
    "nsswitch/winbind_nss.c", line 504: warning: argument #4 is incompatible with prototype:
    prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
    argument : pointer to uint
    "nsswitch/winbind_nss.c", line 630: warning: argument #5 is incompatible with prototype:
    prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
    argument : pointer to uint
    "nsswitch/winbind_nss.c", line 691: warning: argument #5 is incompatible with prototype:
    prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
    argument : pointer to uint
    "nsswitch/winbind_nss.c", line 705: warning: argument #5 is incompatible with prototype:
    prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
    argument : pointer to uint
    "nsswitch/winbind_nss.c", line 755: warning: argument #5 is incompatible with prototype:
    prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
    argument : pointer to uint
    "nsswitch/winbind_nss.c", line 769: warning: argument #5 is incompatible with prototype:
    prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
    argument : pointer to uint
    Compiling nsswitch/wb_common.c with -KPIC -xO4
    cc: Warning: -g conflicts with auto-inlining, auto-inlining turned off
    Linking nsswitch/libnss_winbind.so
    cc: Warning: -s conflicts with -g. -s turned off
    ld: fatal: file nsswitch/libnss_winbind.so: open failed: No such file or directory
    *** Error code 1
    make: Fatal error: Command failed for target `nsswitch/libnss_winbind.so'

File actually created at last "Linking" step was apparently nsswitch/winbind_nss.po.o ... but I'm
lost in the Makefile at this point...

Help!
Thanks, Rich B





More information about the samba-technical mailing list