samba3 compile error with gcc4 on Solaris 9: patch

Gerald (Jerry) Carter jerry at samba.org
Tue Oct 11 14:53:43 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

?????? ????????? ?????????? wrote:
> Alex Deiter wrote:
> 
>>> I am trying to compile samba 3.0.20a on Solaris 9 with gcc 4.0.2:
>>> % ./configure --with-quotas && make
>>> Compiling smbd/fake_file.c
>>> Compiling smbd/quotas.c
>>> smbd/quotas.c:418: error: static declaration of 'xdr_getquota_args'
>>> follows non-static declaration
>>> /usr/include/rpcsvc/rquota.h:77: error: previous declaration of
>>> 'xdr_getquota_args' was here
>>> smbd/quotas.c:427: error: static declaration of 'xdr_getquota_rslt'
>>> follows non-static declaration
>>> /usr/include/rpcsvc/rquota.h:80: error: previous declaration of
>>> 'xdr_getquota_rslt' was here
>>> smbd/quotas.c: In function 'xdr_getquota_rslt':
>>> smbd/quotas.c:440: warning: pointer targets in passing argument 2 of
>>> 'xdr_int' differ in signedness
>>> smbd/quotas.c:444: warning: pointer targets in passing argument 2 of
>>> 'xdr_int' differ in signedness
>>> smbd/quotas.c:448: warning: pointer targets in passing argument 2 of
>>> 'xdr_int' differ in signedness
>>> make: *** [smbd/quotas.o] Error 1
>> see https://bugzilla.samba.org/show_bug.cgi?id=3145
> 
> I propose the attached patch.

applied.




jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDS9H2IR7qMdg1EfYRAlyNAKDcMTZCIXM57i9hzF+6JuRBDF/kPQCgmzOf
DyYOtCXAzxgQ/o158e4B9+I=
=V9fz
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list