[Bug 456123] Re: Karmic: cannot compile acerhk-source. No rule to make target kernel/bounds.c.
moma
osmoma at online.no
Wed Oct 21 12:44:36 UTC 2009
Re-hello,
Good observation.
I can see the same error here. It tries to install it to /lib/modules/2.6.31.4/extra/. The latest kernel number is 2.6.31.14, not 2.6.31.4.
The Makefile (in the source dir) is pretty simple. We can see that it
sets the KERNELVERSION variable wrong because there is a "wrong" value
in the "/usr/src/linux-
headers-2.6.31-14-generic/include/linux/utsrelease.h" file. I do not
know what the value 2.6.31.4 means?
Check the value:
$ cat /usr/src/linux-headers-2.6.31-14-generic//include/linux/utsrelease.h
#define UTS_RELEASE "2.6.31.4"
I think Ubuntu's kernel people should know about this oddity.
More generally
$ cat /usr/src/linux-headers-$(uname -r)/include/linux/utsrelease.h
--
Anyway, I modified the Makefile so it always compiles against the current kernel version. It simply sets
KERNELVERSION="`name -r`"
It should work right now.
Thanks.
--
Karmic: cannot compile acerhk-source. No rule to make target kernel/bounds.c.
https://bugs.launchpad.net/bugs/456123
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list