Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-12-2006, 10:01 AM
|
#1
|
Member
Registered: Jan 2004
Location: Earth
Distribution: Ubuntu
Posts: 301
Rep:
|
make: *** No rule to make target `mrproper'. Stop.
I have tried to run mrproper from /usr/src/ as well as /usr/src/linux and even /usr/src/linux-headers-XXXX-386. nothing works. how in the world do i get this working? here is the result:
/usr/src/linux-headers-2.6.12-10$ sudo make mrproper
/bin/sh: /usr/src/linux-headers-2.6.12-10/scripts/gcc-version.sh: No such file or directorymake[1]: scripts/Makefile.clean: No such file or directory
make[1]: *** No rule to make target `scripts/Makefile.clean'. Stop.
make: *** [archclean] Error 2
|
|
|
03-13-2006, 06:59 PM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
It sounds like you have the headers package installed but not the sources package. Once that's installed the make mrproper target should work (I'm assuming that the Ubuntu kernel package doesn't do anything unusual to the source tree).
|
|
|
03-13-2006, 07:08 PM
|
#3
|
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687
Rep:
|
mrproper is used to "clean" the kernel-source tree from previously compiled files, so you can start fresh - even without a old .config.
However - you need the kernel-source installed for this and run this command from /usr/src/linux (or /usr/src/linux_version_)
Is there anything inside /usr/src/linux ?
|
|
|
12-28-2008, 09:26 AM
|
#4
|
LQ Newbie
Registered: Dec 2008
Posts: 13
Rep:
|
similar issue with gentoo install
I am having a similar issue... but with gentoo
Quote:
Originally Posted by jomen
Is there anything inside /usr/src/linux ?
|
when I cd to /usr/src/linux the only thing there is linux-2.6.27-gentoo-r7
using ls -p /usr/src/linux
http://www.linuxquestions.org/questi...gentoo-693431/
Last edited by greywolf31; 12-28-2008 at 09:27 AM.
|
|
|
10-15-2009, 08:04 AM
|
#5
|
LQ Newbie
Registered: Oct 2009
Posts: 10
Rep:
|
Quote:
Originally Posted by jomen
mrproper is used to "clean" the kernel-source tree from previously compiled files, so you can start fresh - even without a old .config.
However - you need the kernel-source installed for this and run this command from /usr/src/linux (or /usr/src/linux_version_)
Is there anything inside /usr/src/linux ?
|
hello!
I am following the lfs-book-6.4,when i entered the "make rmproper" as the Chaper6.7.1 required, error exists as:
make: *** No rule to make target `mrproper'. Stop.
I check the file,but there is nothing inside /usr/src/linux.
I just following the guidance,everything goes well in the past chapers,what's the matter?
what should i do?
thanks!
|
|
|
10-15-2009, 12:19 PM
|
#6
|
Member
Registered: Dec 2005
Posts: 52
Rep:
|
Quote:
Originally Posted by dragonfever
hello!
I am following the lfs-book-6.4,when i entered the "make rmproper" as the Chaper6.7.1 required, error exists as:
make: *** No rule to make target `mrproper'. Stop.
I check the file,but there is nothing inside /usr/src/linux.
I just following the guidance,everything goes well in the past chapers,what's the matter?
what should i do?
thanks!
|
Sounds like you need to install the kernel source for your distribution. As one member above said, that command was typically run in /usr/src/linux where linux is a symbolic link to the actual directory containing the kernel source code. This may differ from distro to distro but usually within /usr/src.
This is something you'll have to figure out specifically for your version.
|
|
|
10-16-2009, 12:29 AM
|
#7
|
LQ Newbie
Registered: Oct 2009
Posts: 10
Rep:
|
Quote:
Originally Posted by Deviathan
Sounds like you need to install the kernel source for your distribution. As one member above said, that command was typically run in /usr/src/linux where linux is a symbolic link to the actual directory containing the kernel source code. This may differ from distro to distro but usually within /usr/src.
This is something you'll have to figure out specifically for your version.
|
Thank you!
I have passed this time.The reason that made the error last time was that i didn't tar the kernel source file.I entered the following commands and passed successfully:
tar -xjf linux-2.6.27.4.tar.bz2
cd linux2.6.27.4
make mrproper
|
|
|
11-24-2014, 07:35 AM
|
#8
|
LQ Newbie
Registered: Sep 2014
Posts: 28
Rep: 
|
Quote:
Originally Posted by dragonfever
Thank you!
I have passed this time.The reason that made the error last time was that i didn't tar the kernel source file.I entered the following commands and passed successfully:
tar -xjf linux-2.6.27.4.tar.bz2
cd linux2.6.27.4
make mrproper
|
i'm on LFS 7.5 now, in chapter: 6.7. Linux-3.13.3 API Headers (different kernel (3.13.3) from yours of course), and i approve your message. sorry, success :-)
i think the LFS team need to make a note in this chapter(6.7), to chapter: 5.3. General Compilation Instructions, and the second important message there( paragraph 3), that people will know that they need to continue to work as described there.
good luck!
Last edited by sholizar; 11-24-2014 at 08:50 AM.
|
|
|
All times are GMT -5. The time now is 09:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|