make: *** No rule to make target `mrproper'. Stop.
Linux - GeneralThis 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.
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.
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
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).
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 ?
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!
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.