Re: [netatalk-admins] make of netatalk failed


Subject: Re: [netatalk-admins] make of netatalk failed
From: KHOO Guan Chen (khoogc@singnet.com.sg)
Date: Thu Mar 05 1998 - 07:17:28 EST


On Wed, 4 Mar 1998, a sun wrote:

> The error is in the file /etc/afpd/unix.c, on line 63.
>
> Change:
> #include <sys/quota.h>
>
> to:
> #include <linux/quota.h>
>
> Just a typo on someone's part, forgetting where quota.h is and that we're
> still in an ifdef for linux.
>
> actually, it isn't a typo. i'm getting slightly ticked that people
> don't seem to read the README files and assume it's a bug when they
> have problems. if you look carefully, you actually need
> -DNEED_QUOTACTL_WRAPPER in the CFLAGS for older linux distributions.

Ahem. Actually I did check the READMEs that is why I mentioned I changed
the line about DNEED_QUOTACTL_WRAPPER.

Ok. I have now tried changing the line #-DNEED_QUOTACTL_WRAPPER to

a) -DNEED_QUOTACTL_WRAPPER=
B) -NEED_QUOTACTL_WRAPPER= (line 54 in unix.c?)
C) NEED_QUOTACTL_WRAPPER=

and I still get the error about needing sys/quota.h. I must be doing
something stupidly wrong (I know nuts about programming), but I cannot see
what. I guess the last thing to try is to take out the ifdef/else, but I
am worried I may screw up something else.

Further help appreciated.

Thanks

Richard KHOO Guan Chen
e-mail: khoogc@singnet.com.sg
snail-mail: 38-A, Lorong 23, Geylang, Singapore 388372



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:31:20 EST