[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling (or rather, failing to compile) a kernel



Hi Lisi,

Am Samstag, 10. November 2012 schrieb Lisi Reisz:
> I have been trying to get to grips with compiling a custom kernel.  I
> have been shying away for too long.
> 
> I am following Stephen's marvellous work, and had got this far:
> 
> http://users.wowway.com/~zlinuxman/Kernel.htm#Unpack

This appears to be really old.

I suggest looking at

http://kernel-handbook.alioth.debian.org/

and "make-kpkg" from "kernel-package". These are the two approaches I know 
of. I still use make-kpkg, cause it does everything for me in just one 
command.

> But I get errors the end of which is below.  I tried to copy and paste
> all the error reports that Konsole gave me, but could not manage it. 
> Advice, please!

[…]
> <quote>
> tar: linux-source-3.2/sound/firewire/Makefile: Cannot open: No such
> file or directory
[…]
> lisi@Titan:/usr/src$
> </quote>

Turned out to be a permissions problem.

So you used your regular user to compile the kernel.

But a deprecated place for it. Just compile the kernel from a directory in 
your home directory.

See also:

http://www.kroah.com/lkn/

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: