Chris Jones wrote:
Hi,
I'm try to rebuild the 2.6.11 kernel using the instructions at this web page,
mentioned in a recent post as a good guide.
http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/
I'm using the src rpm
kernel-2.6.11-1.14_FC3.src.rpm
as the source, and have followed the instructions to the letter, using "i686"
as my ARCH (the output from uname -p)
everything is OK until step 8
> rpmbuild -bb --target=i686 ~/rpmbuild/SPECS/kernel-2.6.spec
.
.
.
.
+ cp
-fv /home/jonesc/rpmbuild/SOURCES/kernel-2.6.11-i386.config /home/jonesc/rpmbuild/SOURCES/kernel-2.6.11-i586-smp.config /home/jonesc/rpmbuild/SOURCES/kernel-2.6.11-i586.config /home/jonesc/rpmbuild/SOURCES/kernel-2.6.11-i686-smp.config /home/jonesc/rpmbuild/SOURCES/kernel-2.6.11-i686.config .
`/home/jonesc/rpmbuild/SOURCES/kernel-2.6.11-i386.config' ->
`./kernel-2.6.11-i386.config'
`/home/jonesc/rpmbuild/SOURCES/kernel-2.6.11-i586-smp.config' ->
`./kernel-2.6.11-i586-smp.config'
`/home/jonesc/rpmbuild/SOURCES/kernel-2.6.11-i586.config' ->
`./kernel-2.6.11-i586.config'
`/home/jonesc/rpmbuild/SOURCES/kernel-2.6.11-i686-smp.config' ->
`./kernel-2.6.11-i686-smp.config'
`/home/jonesc/rpmbuild/SOURCES/kernel-2.6.11-i686.config' ->
`./kernel-2.6.11-i686.config'
+ for i in '*.config'
+ mv kernel-2.6.11-i386.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=
+ make ARCH= nonint_oldconfig
Makefile:448: /home/jonesc/rpmbuild/BUILD/kernel-2.6.11/linux-2.6.11/arch//Makefile:
ARCH is empty.
Could you try building with:
$ rpmbuild -bb --target i686 ~/rpmbuild/SPECS/kernel-2.6.spec
instead of:
$ rpmbuild -bb --target=i686 ~/rpmbuild/SPECS/kernel-2.6.spec
and see if that helps?
Paul.