From: kototama k. <kot...@gm...> - 2007-06-26 19:25:28
|
Hello, I've got this error while compiling: arch/um/sys-i386/../../i386/kernel/module.c: In function 'apply_relocate': arch/um/sys-i386/../../i386/kernel/module.c:137: error: '__KERNEL_TEXT_OFFSET' undeclared (first use in this function) arch/um/sys-i386/../../i386/kernel/module.c:137: error: (Each undeclared identifier is reported only once arch/um/sys-i386/../../i386/kernel/module.c:137: error: for each function it appears in.) make[1]: *** [arch/um/sys-i386/../../i386/kernel/module.o] Error 1 I compile a kernel "linux-source-2.6.20" from ubuntu feisty fawn. My .config file is here : http://rafb.net/p/HG0YPW11.html Any help is welcome. Thanks in advance. |
From: Jeff D. <jd...@ad...> - 2007-06-26 19:42:31
|
On Tue, Jun 26, 2007 at 08:25:25PM +0100, kototama kototama wrote: > arch/um/sys-i386/../../i386/kernel/module.c: In function 'apply_relocate': > arch/um/sys-i386/../../i386/kernel/module.c:137: error: > '__KERNEL_TEXT_OFFSET' undeclared (first use in this function) > arch/um/sys-i386/../../i386/kernel/module.c:137: error: (Each undeclared > identifier is reported only once > arch/um/sys-i386/../../i386/kernel/module.c:137: error: for each function it > appears in.) > make[1]: *** [arch/um/sys-i386/../../i386/kernel/module.o] Error 1 > > I compile a kernel "linux-source-2.6.20" from ubuntu feisty fawn. Can you try 2.6.20 from kernel.org? Looks like a Ubuntu kernel patch is breaking UML. Jeff -- Work email - jdike at linux dot intel dot com |
From: kototama k. <kot...@gm...> - 2007-06-26 20:54:07
|
> > Can you try 2.6.20 from kernel.org? Looks like a Ubuntu kernel patch is > breaking UML. Yes it was an old grsecurity patch that I totally forgot. Sorry for the question; it works fine without. Thanks again. |