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

Re: Trouble compiling generic kernel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 25 July 2010, Sven Joachim <svenjoac@gmx.de> was heard to 
say:
> > Setting CONCURRENCY_LEVEL=4 in your user environment should fix
> > this, at least, it used to.
>
> This only works if you use kernel-package to build the kernel.  The
> generic way is to use "make -j4".

Excellent advice to the novice.

> There is no need to ever build the kernel as root.

Strangely enough, I wasn't. Not quite _that_ novice I guess. :^)

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 
{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
lguest.c: In function ‘create_thread’:
lguest.c:1026: warning: implicit declaration of function ‘eventfd’
make[1]: *** [lguest] Error 1
make[1]: Leaving directory 
`/usr/src/linux-2.6.35-rc6/Documentation/lguest'
make: *** [debian/stamp/build/kernel] Error 2
==========




- -- 
Those who torment us for our own good will torment us without end,
for they do so with the approval of their consciences.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEVAwUBTExlkC9Y35yItIgBAQIkZQf/XJqNfWBom12LWS6mBIM1aBjjoQaDBFlv
cTCZoMbPlnkVZiq8QokP3PL+ChPTmf63NV3grbUNKSfDMPADrNhhs0OsjBDbY5zd
DDoga+1wIUwTMwCiNH1McqFM682R36Z9SwqdJOCU1Cii8aBwQ7IchcJP8dGU9+3+
SUVnlprhsXTYsTNHxa8+0AiZPOdkSWCotii26Mo4ljeaIgCiTmCahD9nLiLt9OOw
VnkiE0OWHDybZ4JK6JDHYK67Gk6xIUSvndUYIhjYAgxuh9TCicaxn2LrWagwScCH
sMxYVtmGP0iHz41kP1daSpYiHbvMlpZHxdt00TGQnR3yWAoIeRBapA==
=4oN7
-----END PGP SIGNATURE-----


Reply to: