View previous topic :: View next topic |
Author |
Message |
sism82 n00b
Joined: 14 Jul 2004 Posts: 44 Location: Mexico
|
Posted: Wed Jan 04, 2006 8:38 pm Post subject: creating new kernel ebuild? problems with asm-offsets.h |
|
|
Hi. Im familiar compiling the kernel and configuring it. But this time i was trying to create a new kernel ebuild that integrates several patches we need in our servers that are not included in other kernels. I used vanilla-sources-2.6.14.2 as base ebuild. All seems ok, the ebuild unpacks and patch correctly. But when i try to compile it, this shows up:
Code: |
CC arch/i386/kernel/signal.o
AS arch/i386/kernel/entry.o
In file included from arch/i386/kernel/entry.S:45:
include/asm/thread_info.h:51: asm/asm-offsets.h: No such file or directory
make[1]: *** [arch/i386/kernel/entry.o] Error 1
make: *** [arch/i386/kernel] Error 2
|
I have still the original kernel in wich I based the patch. That kernel compiles just fine. After tracking down the error i have found the difference, but i dont know the cause. In the kernel that compiles well, the file include/asm-i386/asm-offsets.h is copied to include/asm/asm-offsets.h so does not die. In the other kernel, the include/asm-i386/asm-offsets.h is generated as well, but not copied to include/asm/asm-offsets.h, when I compiled manually everything works like a charm. "make clean" in the right kernel deletes the asm-offsets.h, but in the buggy kernel just ignores it and leave it there.
Any help would be of great help.
PD.
this is the diff -Nur between both kernels:
Code: |
diff -Nur linux-2.6.14.2-ivsol1/include/linux/autoconf.h /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/include/linux/autoconf.h
--- linux-2.6.14.2-ivsol1/include/linux/autoconf.h 2006-01-04 14:11:24.425665056 -0600
+++ /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/include/linux/autoconf.h 2006-01-04 12:58:35.674025000 -0600
@@ -1,7 +1,7 @@
/*
* Automatically generated C config: don't edit
* Linux kernel version: 2.6.14-ck7
- * Tue Jan 3 11:07:15 2006
+ * Wed Jan 4 12:58:35 2006
*/
#define AUTOCONF_INCLUDED
#define CONFIG_X86 1
Files linux-2.6.14.2-ivsol1/scripts/basic/docproc and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/basic/docproc differ
Files linux-2.6.14.2-ivsol1/scripts/basic/fixdep and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/basic/fixdep differ
Files linux-2.6.14.2-ivsol1/scripts/basic/split-include and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/basic/split-include differ
Files linux-2.6.14.2-ivsol1/scripts/bin2c and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/bin2c differ
Files linux-2.6.14.2-ivsol1/scripts/conmakehash and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/conmakehash differ
Files linux-2.6.14.2-ivsol1/scripts/kallsyms and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/kallsyms differ
Files linux-2.6.14.2-ivsol1/scripts/kconfig/conf and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/kconfig/conf differ
Files linux-2.6.14.2-ivsol1/scripts/kconfig/mconf and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/kconfig/mconf differ
Files linux-2.6.14.2-ivsol1/scripts/lxdialog/lxdialog and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/lxdialog/lxdialog differ
Files linux-2.6.14.2-ivsol1/scripts/mod/mk_elfconfig and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/mod/mk_elfconfig differ
Files linux-2.6.14.2-ivsol1/scripts/mod/modpost and /mnt/ivsol-stages/kernels/linux-2.6.14-ivsol1/scripts/mod/modpost differ
|
_________________ Be near me when my light is low,
When the blood creeps, and the nerves prick
And tingle; and the heart is sick,
And all the wheels of Being slow. |
|
Back to top |
|
|
sism82 n00b
Joined: 14 Jul 2004 Posts: 44 Location: Mexico
|
Posted: Thu Jan 12, 2006 2:59 am Post subject: [solved] |
|
|
hum..... i started from scratch again and everything runs smoothly, weird thing :p _________________ Be near me when my light is low,
When the blood creeps, and the nerves prick
And tingle; and the heart is sick,
And all the wheels of Being slow. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|