make mrproper

Andrew Benton b3nton at
Sat Nov 27 16:29:21 PST 2010

On Sat, 27 Nov 2010 11:48:15 -0600
robert <mullinrobert at> wrote:

> Events moving along swimmingly until this point:
> 6.7.1. Installation of Linux API Headers
> The Linux kernel needs to expose an Application Programming Interface 
> (API) for the system's C library (Glibc in LFS) to use. This is done by 
> way of sanitizing various C header files that are shipped in the Linux 
> kernel source tarball.
> Make sure there are no stale files and dependencies lying around from 
> previous activity:
> make mrproper
> where is this command to be issued?
> I get ...
> root:/# make mrproper
> make: *** No rule to make target `mrproper'.  Stop.

The general scheme in LFS is that you untar the source of whatever
package you're doing, cd into the directory created and then execute
the commands on the page. How've you got to chapter 6 without working
that out? If it's the kernel headers you're doing, untar the kernel
source, cd into linux-2.6.* then make mrproper ...


More information about the lfs-support mailing list