xfs
[Top] [All Lists]

Re: quota progs

To: "Bas" <list@xxxxxxxxxxxxxx>, <linux-xfs@xxxxxxxxxxx>
Subject: Re: quota progs
From: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Apr 2001 09:25:54 -0500
Cc: Jan Kara <jack@xxxxxx>, Marco van Wieringen <mvw@xxxxxxxxxxxxxxx>
In-reply-to: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx> "Re: quota progs" (Apr 20, 9:12am)
References: <200104191411.f3JEBm004410@xxxxxxxxxxxxxxxxxxxx> <00b001c0c8fc$ba48f070$0f01a8c0@ws1> <10104200912.ZM11210@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Apr 20,  9:12am, Nathan Scott wrote:
> Subject: Re: quota progs
> > ...
> > How can I fix this.
> 
> add this line to the top of quotaio_rpc.c:
> 
> #include <errno.h>
> 

I should have let the compile finish ;-) - looks like for that
set of configure options, you'll also need to add this line to
the top of quota.c:

#include <sys/param.h>

otherwise, you may get this error further on...

cc -DALT_FORMAT -g -O2 -DEXT2_DIRECT -D_GNU_SOURCE -Wall -DHOSTS_ACCESS 
-DQUOTA_VERSION=\"3.01\"   -c -o quota.o quota.c
quota.c: In function `main':
quota.c:71: `NGROUPS' undeclared (first use in this function)
quota.c:71: (Each undeclared identifier is reported only once
quota.c:71: for each function it appears in.)
quota.c:71: warning: unused variable `gidset'
make: *** [quota.o] Error 1


cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>