View Single Post
  #1  
Old 19th August 2007, 18:00
wazzubrad wazzubrad is offline
Junior Member
 
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Kernel Compile Error: Mandriva 2007

This is what I end up with. Is my symlink going in the correct location or referencing the correct location?

[root@localhost src]# tar xjf linux-2.6.22.3.tar.bz2
[root@localhost src]# ln -s linux-2.6.22.3 linux
[root@localhost src]# cd /usr/src/linux
[root@localhost linux]# make clean && make mrproper
awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.17-13mdvlegacy/build/include/linux/version.h' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.17-13mdvlegacy/build/include/linux/version.h' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.17-13mdvlegacy/build/include/linux/version.h' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.17-13mdvlegacy/build/include/linux/version.h' for reading (No such file or directory)
CLEAN scripts/basic
CLEAN scripts/kconfig/lxdialog
CLEAN scripts/kconfig
CLEAN scripts/package
CLEAN .config .config.old .version include/linux/autoconf.h .kernelrelease
[root@localhost linux]# make rpm
/bin/sh /usr/src/linux-2.6.17-13mdv/scripts/package/mkspec > /usr/src/linux-2.6.17-13mdv/kernel.spec
make clean
awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.17-13mdvlegacy/build/include/linux/version.h' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.17-13mdvlegacy/build/include/linux/version.h' for reading (No such file or directory)
set -e; cd ..; ln -sf /usr/src/linux-2.6.17-13mdv kernel-2.6.1713mdvcustomdefault
set -e; cd ..; tar -cz --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git -f kernel-2.6.1713mdvcustomdefault.tar.gz kernel-2.6.1713mdvcustomdefault/.
set -e; cd ..; rm kernel-2.6.1713mdvcustomdefault
set -e; \
/bin/sh /usr/src/linux-2.6.17-13mdv/scripts/mkversion > /usr/src/linux-2.6.17-13mdv/.tmp_version
set -e; \
mv -f /usr/src/linux-2.6.17-13mdv/.tmp_version /usr/src/linux-2.6.17-13mdv/.version
rpm --target i386 -ta ../kernel-2.6.1713mdvcustomdefault.tar.gz
Could not exec /usr/lib/rpm/rpmb: No such file or directory
make[1]: *** [rpm] Error 1
make: *** [rpm] Error 2
Reply With Quote
Sponsored Links