After overriding gcc
David Collier-Brown
davecb at canada.sun.com
Fri Nov 30 09:57:02 GMT 2001
I read the configure script, found the logic, and ran
rn config.cache; CC=cc ./configure --with-smbwraper
to generate a Makefile which assumed cc, not gcc.
This produces the cleanest Makefile and the fewest
compile errors.
The errors were in winbindd, not unexpectedly, although
at least the first is not a Solarisism at all:
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 1713
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 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
Linking nsswitch/libnss_winbind.so
--dave
--
David Collier-Brown, | Always do right. This will gratify
Americas Customer Engineering, | some people and astonish the rest.
SunPS Integration Services. | -- Mark Twain
(905) 415-2849 | davecb at canada.sun.com
More information about the samba-technical
mailing list