Compilation error in kernel-2.6.35.10-74

JD jd1008 at gmail.com
Fri Jan 7 05:09:37 UTC 2011


The last few lines of the build output:

vour=PAE
+ InstallName=vmlinuz
+ Config=kernel-2.6.35.10-i686-PAE.config
+ DevelDir=/usr/src/kernels/2.6.35.10-74.i686.PAE
+ '[' arch/x86/boot/bzImage = vmlinux ']'
+ CopyKernel=cp
+ KernelVer=2.6.35.10-74.i686.PAE
+ echo BUILDING A KERNEL FOR PAE i686...
BUILDING A KERNEL FOR PAE i686...
+ perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = .10-74.i686.PAE/' Makefile
+ make -s mrproper
+ cp configs/kernel-2.6.35.10-i686-PAE.config .config
++ cut -b 3-
++ head -1 .config
+ Arch=i386
+ echo USING ARCH=i386
USING ARCH=i386
+ make -s ARCH=i386 nonint_oldconfig
+ make -s ARCH=i386 V=1 bzImage
kernel/sched.c: In function 'init_idle':
kernel/sched.c:5397: error: implicit declaration of function 
'double_rq_lock'
kernel/sched.c:5422: error: implicit declaration of function 
'double_rq_unlock'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.quW5nA (%build)

The build command:

rpmbuild -vvv -bb --with up --without debug --without smp --without pae 
--without pae_debug kernel.spec

So, why is it building for PAE when the rpmbuild arg expplicitly states 
--without pae?

I have saved the .config file.

Are there kernel devs on this list who could advise me on the next step 
to take?

Thanx,

JD




More information about the kernel mailing list