building a custom kernel-WAS: Re: USB disk shows up late at boot
On Tue December 22 2009, Celejar wrote:
> Exactly. And you can turn off all the sound card and video drivers
> except the one(s) you actually need, and the same for networking hw,
> etc.
so I was reading this:
http://www.wowway.com/~zlinuxman/Kernel.htm
which is about the same..
I ran these commands:
# make menuconfig
# make-kpkg clean
# make-kpkg --initrd kernel_image
(snipping all the long lines...)
and ended up with this:
/usr/bin/make ARCH=i386 \
-C Documentation/lguest
make[1]: Entering directory
`/home/pbc/Documents/software/linux-2.6.31.9/linux-2.6.31.9/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
lguest.c: In function âcreate_threadâ:
lguest.c:1021: warning: implicit declaration of function âeventfdâ
make[1]: *** [lguest] Error 1
make[1]: Leaving directory
`/home/pbc/Documents/software/linux-2.6.31.9/linux-2.6.31.9/Documentation/lguest'
make: *** [debian/stamp/build/kernel] Error 2
--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
http://usdebtclock.org/
Reply to: