Re: kernel build fails

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

 



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'

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?


`/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

The i386 config file appears to be the source of the problem.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux