Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
Xen 3.0.2 /3.0.3 | No Swap in DomU Merc HOWTO-Related Questions 10 27th March 2007 11:40
ISPConfig 2.2.10 Beta, any bugs known? till Developers' Forum 29 26th February 2007 11:38
WG311v2 almost working with Edgy (w/o ndiswrapper) need help with the rest caudata Server Operation 11 13th November 2006 20:02
Questions about ubuntu ISP-Server Setup badgerbox76 HOWTO-Related Questions 15 5th March 2006 14:41


All times are GMT +2. The time now is 16:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.