Red Hat Bugzilla – Bug 8042
Krenel compilation dependent on /usr/src/linux
Last modified: 2008-05-01 11:37:53 EDT
This is fragment of the compilation messages:
+ make -j 1 bzImage MAKE=make -j 1
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
In file included from /usr/include/errno.h:36,
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1
Bad exit status from /var/tmp/rpm-tmp.9221 (%build)
If I install source additionaly into /usr/src/linux, compilation completes
without any problem.
I forgot to note kernel version: kernel-2.2.13-0.9.src.rpm.
Btw, there is inconsistency betweens RPMS and SRPMS directory - there is
kernel-2.2.13-0.10.src.rpm (which does not compile) and
Assigned to dledford
I believe that the current beta kernel package fixes this.