Red Hat Bugzilla – Bug 38893
Can not be compiled with original-kernel
Last modified: 2007-04-18 12:33:00 EDT
When trying to compile quota-3.00-4.src.rpm with the original 2.4.
Kernel I get a lot of errors:
$ rpm --rebuild quota-3.00-4.src.rpm
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.33940
gcc -O2 -march=i386 -mcpu=i686 -c -o setquota.o setquota.c
In file included from setquota.c:12:
/usr/include/linux/quota.h:117: parse error before `__u32'
In file included from setquota.c:15:
quota_io.h:35: parse error before `qid_t'
make: *** [setquota.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.33940 (%build)
Bad exit status from /var/tmp/rpm-tmp.33940 (%build)
The first error (this with '__u32') can be cured by a '#include
<asm/types.h>' in setquota:11; the second one (this with 'qid_t') seems to
be more difficultly because I have not found such a 'qid_t' datatype in my
You *need* the -ac series to build quota, AFAIK - Alan?
Our quota package will only build with our kernel package, not the stock one.