All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Compile Kernel 2.6.26 with adeos patch failed
@ 2008-11-09 20:35 Newsgroup
  2008-11-09 21:43 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Newsgroup @ 2008-11-09 20:35 UTC (permalink / raw)
  To: xenomai

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] Compile Kernel 2.6.26 with adeos patch failed
  2008-11-09 20:35 [Xenomai-help] Compile Kernel 2.6.26 with adeos patch failed Newsgroup
@ 2008-11-09 21:43 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2008-11-09 21:43 UTC (permalink / raw)
  To: Newsgroup; +Cc: xenomai

Newsgroup wrote:
> 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.

> 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?
>

Switch off KGDB support or apply this:

diff --git a/arch/x86/kernel/ipipe.c b/arch/x86/kernel/ipipe.c
index 3a24903..de6fd50 100644
--- a/arch/x86/kernel/ipipe.c
+++ b/arch/x86/kernel/ipipe.c
@@ -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


> Greets
> 
> Maveric
> 
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 
Philippe.


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-09 21:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-09 20:35 [Xenomai-help] Compile Kernel 2.6.26 with adeos patch failed Newsgroup
2008-11-09 21:43 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.