Bug 38893 - Can not be compiled with original-kernel
Can not be compiled with original-kernel
Status: CLOSED NOTABUG
Product: Red Hat Raw Hide
Classification: Retired
Component: quota (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-05-03 05:22 EDT by Enrico Scholz
Modified: 2007-04-18 12:33 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-05-03 11:55:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2001-05-03 05:22:09 EDT
When trying to compile  quota-3.00-4.src.rpm with the original 2.4.[34]
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
system.
Comment 1 Bill Nottingham 2001-05-03 11:55:47 EDT
You *need* the -ac series to build quota, AFAIK - Alan?
Comment 2 Preston Brown 2001-07-02 16:07:50 EDT
yes.

Our quota package will only build with our kernel package, not the stock one.

Note You need to log in before you can comment on or make changes to this bug.