kernel build fails

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

 



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: 
No such file or directory
make: *** No rule to make target 
`/home/jonesc/rpmbuild/BUILD/kernel-2.6.11/linux-2.6.11/arch//Makefile'.  
Stop.
error: Bad exit status from /var/tmp/rpm-tmp.52092 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.52092 (%prep)


so - what am I doing wrong ?

cheers Chris


-- 
+--------------------------------------------------------------+
| Dr Chris R Jones         work   : +44 (0)1223 337324         |
| HEP Group  (rm 882)      fax    : +44 (0)1223 353920         |
| Cavendish Laboratory,    home   : +44 (0)1223 510711         |
| Madingley Road,          mobile : +44 (0)7900 564763         |
| Cambridge, CB3 0HE       email  : jonesc@xxxxxxxxxxxxxxxxx   |
+--------------------------------------------------------------+


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

  Powered by Linux