Bas wrote:
Hmm seems to a bug in the code, when turning off RPC .
Is there a reason you are trying to compile without rpc?
> I'm not able to get Quotatools 3.01-pre2,3 and 4 compiled on my system.
>
> Kernel 2.4.3 (XFS) and all the default stuff installed and I'm trying to get
> quota-tools-3.01-pre4 compiled.
>
> It returns:
>
> [wisdom]$./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --
> enable-rpc=no --enable-rpcsetquota=no
> ....
> quotaio_rpc.c:38: for each function it appears in.)
> quotaio_rpc.c:38: `ENOTSUP' undeclared (first use in this function)
> quotaio_rpc.c: In function `rpc_commit_dquot':
> quotaio_rpc.c:52: `errno' undeclared (first use in this function)
> quotaio_rpc.c:52: `ENOTSUP' undeclared (first use in this function)
> make: *** [quotaio_rpc.o] Error 1
>
> then:
> [wisdom]$./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --
> disable-rpc --disable-rpcsetquota
> ...
> quotaio_rpc.c: In function `rpc_read_dquot':
> quotaio_rpc.c:38: `errno' undeclared (first use in this function)
> quotaio_rpc.c:38: (Each undeclared identifier is reported only once
> quotaio_rpc.c:38: for each function it appears in.)
> quotaio_rpc.c:38: `ENOTSUP' undeclared (first use in this function)
> quotaio_rpc.c: In function `rpc_commit_dquot':
> quotaio_rpc.c:52: `errno' undeclared (first use in this function)
> quotaio_rpc.c:52: `ENOTSUP' undeclared (first use in this function)
> make: *** [quotaio_rpc.o] Error 1
>
> quota support is enabled by the way ....
>
> How can I fix this.
--
Russell Cattelan
--
Digital Elves inc. -- Currently on loan to SGI
Linux XFS core developer.
|