samba3 compile error with gcc4

Дейтер Александр Ва Дейтер Александр Ва
Thu Oct 6 11:00:54 GMT 2005


Hello,

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

Thanks!

-- 
Alex Deiter


More information about the samba-technical mailing list