samba3 compile error with gcc4

Дейтер Александр Валери Дейтер Александр Валери
Thu Oct 6 14:01:27 GMT 2005


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

Thanks a lot!

-- 
Alex Deiter


More information about the samba-technical mailing list