Re: reg: modules make in Ubuntu

From: Tej Parkash
Date: Sat May 26 2007 - 04:09:03 EST


On 5/26/07, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
On Sat, May 26, 2007 at 01:28:56AM -0400, Tej Parkash wrote:
> make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> make[2]: *** No rule to make target `arch/i386/kernel/msr.c', needed
> by `arch/i386/kernel/msr.o'. Stop.
> make[1]: *** [arch/i386/kernel] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
> make: *** [all] Error 2
>
> what the hack is this. no kernel version is having this file in this
> particular location as asked in error. then why this error is coming
> in this kernel version.
Looks like you are trying to build a kernel but have only headers
judging from the directoryname.
yaa u r correct
but i am wondering like how those file can be missed from the required
location. if they are so important to build the module.. even if it is
missed is there any other procedure to build the module
i am trying it on other kernel version.


Could you please prove a bit more context if you need additional help.
Like (but not limited to):
-> Actual commandline
-> Any own kbuild/Makefiles
-> .config

Sam

thanks
tej
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/