[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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:

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 
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 
make: *** [debian/stamp/build/kernel] Error 2

Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459

Reply to: