Re: Trouble compiling generic kernel
On 2010-07-25 18:25 +0200, Curt Howland wrote:
> Now on to something new: Build failure! Who'd'a thought? I changed
> back to single-concurrency just to make sure that it wasn't
> related, "make clean", then tried again with the same result.
>
> Any suggestions?
>
> ==========
> $ make-kpkg --revision=curt0.1 kernel_image
When using kernel-package, make sure that you install the latest version
(12.036). Earlier versions will likely not work, in particular the
Lenny version is known to be broken with kernels >= 2.6.33.
> {scrolled so many as I'm sure you know... Then,}
> make[1]: Leaving directory `/usr/src/linux-2.6.35-rc6'
> /usr/bin/make -j1 ARCH=i386 \
> -C Documentation/lguest
> make[1]: Entering directory
> `/usr/src/linux-2.6.35-rc6/Documentation/lguest'
> cc -m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE
> lguest.c -o lguest
> lguest.c:21:25: error: sys/eventfd.h: No such file or directory
Oh yeah, sys/eventfd.h is in the libc6-dev package. But not in Lenny,
only in Squeeze. Since you probably don't want to upgrade libc6, you
should build the kernel without CONFIG_LGUEST: under "Virtualization",
uncheck "Linux hypervisor example code (NEW)". This should hopefully do
the trick.
Sven
Reply to: