On Wed, Dec 8, 2010 at 9:07 AM, Klaus Steinberger
<[log in to unmask]> wrote:
> Hi,
>
> I tried building a kernel for SL5 because we need a patch for nfs4 very
> urgently. But during the build I got the following error:
>
> /usr/src/redhat/SOURCES/find-provides: processing kABI:
> /var/tmp/kernel-2.6.18-194.26.1.el5.lmuxen-kabideps
> error: File not found:
> /var/tmp/kernel-2.6.18-194.26.1.el5.lmu-root/usr/src/debug/kernel-2.6.18/xen
>    File not found:
> /var/tmp/kernel-2.6.18-194.26.1.el5.lmu-root/usr/src/debug/kernel-2.6.18/xen
>
> Any idea what is missing on our build server?

Does the build complete if you do not make any modifications to the
code? If what you are seeing is related to the kABI compatibility of
your patched kernel, you may want to build with this option:

--without kabichk

However, there is a known issue and you need to patch the spec for the
above option to work. Please see here for more details:

http://wiki.centos.org/HowTos/Custom_Kernel#head-566abc4208fceb902d41ee82633f509dbf386a4d

Akemi