On Wed, 2008-06-18 at 21:10 -0700, Woonsan Ko wrote:
> After some googling on this problem, I found that adding `#include <stdio.h>' 
> before other includes in ./src/lib/restrict-access.c.

Done.

>         rpcgen -h /usr/include/rpcsvc/rquota.x > rquota.h

Here it generates the rquota.h

> In file included from quota-fs.c:28:
> rquota.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
> 'xdr_getquota_args'
> rquota.h:13: error: expected specifier-qualifier-list before 'bool_t'
> rquota.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
> 'xdr_rquota'
> rquota.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
> 'xdr_gqr_status'
> rquota.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
> 'xdr_getquota_rslt'

But for some reason it can't use it. I don't really know why. I suppose
it's missing some include file? Does it include <rpc/rpc.h> itself? If
not, does it help to include it?

> quota-fs.c:478: warning: implicit declaration of function 'quotactl'

http://hg.dovecot.org/dovecot-1.1/rev/2b0432ec7c7c probably fixes this.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to