LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-18-2006, 04:13 PM   #1
awolbush
LQ Newbie
 
Registered: Jan 2006
Location: Dallas, Tx
Distribution: Mandriva
Posts: 5

Rep: Reputation: 0
mrproper deletes file needed by make


When I build the kernel, I use the following sequence:
1) make mrproper
2) make xconfig
3) make clean ...(bzImage modules modules_install install)

This sequence, as I remember it, worked fine with Mandrake 10.0. But when I use the same sequence with Mandriva 2006.0, the make clean in step 3 fails because

/lib/modules/<version string>/build/include/linux/version.h

does not exist!

I do the make mrproper to delete all the objects. If I don't, I get complaints from version magic in the boot log (/var/log/messages).

I'm relatively new at this, can anyone help me?

awolbush
 
Old 02-18-2006, 04:38 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You are using 2.6 kernels correct. This is the new secquence to 2.6 kernel building.
1. make mrproper ( clean up kernel tree as before )
2. make xconfig ( your config tool )
3. make ( does the make and make modules in one command, does not use make clean or bzImage anymore)
4. make modules_install ( installs the modules to /lib/linux-**** )
5. make install ( adds to the grub.conf automatically )
 
Old 02-19-2006, 12:23 PM   #3
nafan
Member
 
Registered: May 2004
Location: /dev/bed
Distribution: Mandriva 2009.0 Powerpack
Posts: 172

Rep: Reputation: 30
Once you have carried out make mrproper your kernel tree is tidied up more so than make clean will do. You only need to
Code:
make mrproper
make xconfig     or     make oldconfig     or    make menuconfig
make bzImage modules       build only the kernel and modules
then install as before as root.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make mrproper needed? Samoth Linux - General 5 11-28-2005 07:07 AM
make mrproper error pazkaw Linux - Newbie 1 04-02-2005 11:19 AM
Use of 'make mrproper' and 'make clean'.... fenice1976 Linux - Software 6 05-25-2004 05:18 PM
'make mrproper' problems Zeebro Linux - Newbie 11 07-06-2003 04:44 AM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 06:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration