Skip to contentSkip to conversation

Compile Kernel 2.6.26 with adeos patch failed

Xenomai-help Newsgroup 2 participants 2 messages Nov 9, 2008 x86

lore
Share & tools
lore

Newsgroup

author
#0 lore raw

Hello,

ive got a problem compiling the patched 2.6.26.7 linux kernel with the adeos-ipipe patch.

after calling the prepare-kernel.sh script and "make menuconfig" i try to build the kernel.

This error occurs:

scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC arch/x86/kernel/ipipe.o
arch/x86/kernel/ipipe.c: In Funktion »__ipipe_divert_exception«:
arch/x86/kernel/ipipe.c:810: Fehler: »ex_do_device_not_available« nicht deklariert (erste Benutzung in dieser Funktion) arch/x86/kernel/ipipe.c:810: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgefÃ1/4hrt
arch/x86/kernel/ipipe.c:810: Fehler: fÃ1/4r jede Funktion in der er auftritt.)
make[1]: *** [arch/x86/kernel/ipipe.o] Fehler 1
make: *** [arch/x86/kernel] Fehler 2

can anyone able to help me?

Greets

Maveric

#1 lore raw
Quoted 10 lines · Newsgroup

Hello,

ive got a problem compiling the patched 2.6.26.7 linux kernel with the adeos-ipipe patch.

after calling the prepare-kernel.sh script and "make menuconfig" i try to build the kernel.

This error occurs:

export LANG=C before compiling would be nice for non-german speaking folks.

Quoted 16 lines

scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC arch/x86/kernel/ipipe.o
arch/x86/kernel/ipipe.c: In Funktion »__ipipe_divert_exception«:
arch/x86/kernel/ipipe.c:810: Fehler: »ex_do_device_not_available« nicht deklariert (erste Benutzung in dieser Funktion) arch/x86/kernel/ipipe.c:810: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgefÃ1/4hrt
arch/x86/kernel/ipipe.c:810: Fehler: fÃ1/4r jede Funktion in der er auftritt.)
make[1]: *** [arch/x86/kernel/ipipe.o] Fehler 1
make: *** [arch/x86/kernel] Fehler 2

Quoted 2 lines

can anyone able to help me?

Switch off KGDB support or apply this:

arch/x86/kernel/ipipe.c +1 -1
index 3a24903..de6fd50 100644
@@ -807,7 +807,7 @@ int __ipipe_divert_exception(struct pt_regs *regs, int vector)
 #ifdef CONFIG_KGDB
 	/* catch int1 and int3 over non-root domains */
 #ifdef CONFIG_X86_32
-	if (!ipipe_root_domain_p && vector != ex_do_device_not_available) {
+	if (!ipipe_root_domain_p && vector != ex_device_not_available) {
 #else
 	if (!ipipe_root_domain_p) {
 #endif
Quoted 11 lines

Greets

Maveric

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.