kernel build fails

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue May 3 17:10:32 UTC 2005


Hi,

> Where did this i386 config file come from? Is that the one you copied
> into the rpm SOURCES directory in step 7 of the tutorial?

no. I copied the .config file created in step 7 to 
~/rpmbuild/SOURCES/kernel-2.6.11-i686.config, as told by the instructions. 
Should I do something else here ?

I've just tried rerunning the instructions but without performing step 7, and 
then things seem to work. Unfortunately its step 7 I need to be able to do - 
I only want to recompile the kernel in order to tweek the configuration a 
little !! Otherwise I might as well use the binary kernel rpms :)

The build carries on like this
.
.
( lines cut...)
.
.
+ linux-2.6.11/scripts/bin2c ksign_def_public_key __initdata
+ cd linux-2.6.11
+ rm -rf /var/tmp/kernel-2.6.11-1.14_FC3.jonesc-root
+ mkdir -p /var/tmp/kernel-2.6.11-1.14_FC3.jonesc-root/boot
+ BuildKernel
+ '[' -n '' ']'
+ Config=kernel-2.6.11-i686.config
+ KernelVer=2.6.11-1.14_FC3.jonesc
+ echo BUILDING A KERNEL FOR i686...
BUILDING A KERNEL FOR i686...
+ perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -1.14_FC3.jonesc/' Makefile
+ make -s mrproper
+ cp configs/kernel-2.6.11-i686.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ echo USING ARCH=i386
USING ARCH=i386
+ make -s ARCH=i386 nonint_oldconfig
+ make -s ARCH=i386 include/linux/version.h
  CHK     include/linux/version.h
  UPD     include/linux/version.h
+ make -s ARCH=i386 bzImage
  CHK     include/linux/version.h
  SYMLINK include/asm -> include/asm-i386
  SPLIT   include/linux/autoconf.h -> include/config/*
  CHK     include/asm-i386/asm_offsets.h
  UPD     include/asm-i386/asm_offsets.h
  CHK     include/linux/compile.h
.
.
.


Is this normal ? Are the ARCH=i386 bits correct ?

cheers Chris




More information about the fedora-list mailing list