compile warnings/errors

Steve Kennedy steve at gbnet.org
Fri Sep 28 16:53:01 GMT 2001


On Solaris 2.7, Forte C, CVS as of today.

"passdb/secrets.c", line 235: warning: argument #2 is incompatible with prototype:
        prototype: pointer to unsigned int : "passdb/secrets.c", line 53
        argument : pointer to int

Compiling smbd/quotas.c
"smbd/quotas.c", line 349: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int
"smbd/quotas.c", line 353: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int
"smbd/quotas.c", line 357: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int

Compiling nsswitch/winbindd_util.c
"nsswitch/winbindd_util.c", line 628: warning: argument #6 is incompatible with prototype:
        prototype: pointer to pointer to unsigned int : "include/proto.h", line 1711
        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), SID_NAME_ALIAS(4), SID_NAME_DOMAIN(3), SID_NAME_DOM_GRP(2), SID_NAME_USER(1), SID_NAME_USE_NONE(0)}
"nsswitch/winbindd_util.c", line 837: warning: syntax error:  empty declaration

Compiling lib/readline.c
"lib/readline.c", line 52: warning: assignment type mismatch:
        pointer to function(pointer to const char, int, int) returning pointer to pointer to char "=" pointer to function(pointer to char, int, int) returning pointer to pointer to char

Linking bin/nmblookup
Compiling nsswitch/winbind_nss.c with -KPIC
"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 unsigned int
"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 unsigned int
"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 unsigned int
"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 unsigned int
"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 unsigned int
"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 unsigned int
"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 unsigned int
"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 unsigned int
"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 unsigned int
"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 unsigned int

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
gmake: *** [nsswitch/libnss_winbind.so]

Steve

-- 
home steve at gbnet.org       * Flat 2, 43 Howitt Road, Belsize Pk, London NW3 4LU
work steve at thus.net        * tel +44-(0)207 483 1169    FAX +44-(0)207 483 2455
www  http://www.gbnet.net/ * Personal DFAX +44 (0)870 1600 842   (fax to email)
bits steve at gbnet.net       * mob +44-(0)7775755503  Epage steve-pager at gbnet.net




More information about the samba-technical mailing list