Kernel Compilation
David Bruzos
david at bruzos.org
Sun Jan 9 14:06:04 EST 2005
Hi:
You only do:
# make mrproper
after you have already compiled the kernel once. This command just
cleans all of the files generated when you last built your kernel. So,
yes, the command will output an error if the kernel source tree is
already clean. Remember to backup your .config file before doing the
mrproper thing, or you will lose your entire configuration.
David Bruzos
On Sun, Jan 09, 2005 at 12:18:51PM -0500, ace wrote:
> How come when I perform the make mrproper command I get something like
> auc: cmd. line 2: fatal, cannot open file
> /usr/src/linux-2.6.10/include/linux/version.h: for reading, no such file or
> directory
> I made a symlink to /usr/src/linux-2.6.10 by typing
> ln -s linux linux-2.6.10
> in the /usr/src directory. The symlink seems to be working fine bc I was
> able to run checkout and patch the tree with Speakup successfully.
>
> Thanks
>
> At 11:25 AM 1/9/2005, you wrote:
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >I would like to add some additional comments about kernel
> >recompilation if possible. I am currently using a 2.6.9 kernel on my
> >Slackware 10.0 settup here.
> >
> >When untarring the kernel source from ftp.kernel.org, let it go ahead
> >and dump into linux-2.6.10 (or whatever version) into /usr/src. in
> >Slackware /usr/src/linux is symbolicly linked to the current version
> >anyway. The current configuration generated by a 'make menuconfig' is
> >.config built at the top of the linux source tree. As suggested
> >earlier, I would copy this .config file into a safe place like your
> >personal home directory so it can be brought back in the next time you
> >do a kernel compile. From what I've read in the README in linux-2.6
> >kernels, you only have to type 'make' to build kernel static source
> >and modules. I just then do a separate 'make modules_install' when
> >I'm ready to install the modules for prime time use. I also have a
> >couple simple shell scripts that copy the compiled kernel from the
> >../../../boot directory of the kernel source tree over to the /boot
> >directory. I also use lilo to maintain a separate boot label with
> >this kernel image and preserve one older one incase I break it.
> >
> >Hope this helps.
> >
> >- --
> >HolmesGrown Solutions
> >The best solutions for the best price!
> >http://ld.net/?holmesgrown
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.2.4 (GNU/Linux)
> >
> >iD8DBQFB4VrwWSjv55S0LfERAmIhAJ4r6TLDKPAwcs2o/yc3lU+dyEbFRwCePf6t
> >f7kVrPBs1UriBqv3BrQ40Ng=
> >=+UQV
> >-----END PGP SIGNATURE-----
> >
> >_______________________________________________
> >Speakup mailing list
> >Speakup at braille.uwo.ca
> >http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> Network Administrator of
> irc.talkingirc.com
> http://www.talkingirc.com
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
More information about the Speakup
mailing list