Skip to contentSkip to conversation

compile error: asm/mach_apic.h: No such file or directory

Xenomai-help Petr Cervenka 3 participants 3 messages Jul 31, 2008

lore
Share & tools
lore
#0 lore raw

Hello,
I tried to use kernel-2.6.26, xenomai-2.4.4 and adeos-ipipe-2.6.26-rc7-x86-2.0-09.patch. When I attempted to compile the kernel, i got the following error:

CC kernel/xenomai/arch/generic/hal.o
In file included from include/asm/xenomai/hal.h:75,
from kernel/xenomai/arch/generic/hal.c:47:
include/asm/xenomai/hal_64.h:124:27: error: asm/mach_apic.h: No such file or directory make[4]: *** [kernel/xenomai/arch/generic/hal.o] Error 1
make[3]: *** [kernel/xenomai/arch/generic] Error 2
make[2]: *** [kernel/xenomai/arch] Error 2
make[1]: *** [kernel/xenomai] Error 2
make: *** [kernel] Error 2

my configuration:
X86_64_SMP=y
X86_LOCAL_APIC=y

Am I the first one who tried 2.6.26 on 64-bit PC? ;-)

Petr Cervenka

#1 lore raw
Quoted 14 lines · Petr Cervenka

Hello,
I tried to use kernel-2.6.26, xenomai-2.4.4 and adeos-ipipe-2.6.26-rc7-x86-2.0-09.patch. When I attempted to compile the kernel, i got the following error:

CC kernel/xenomai/arch/generic/hal.o
In file included from include/asm/xenomai/hal.h:75,
from kernel/xenomai/arch/generic/hal.c:47:
include/asm/xenomai/hal_64.h:124:27: error: asm/mach_apic.h: No such file or directory make[4]: *** [kernel/xenomai/arch/generic/hal.o] Error 1
make[3]: *** [kernel/xenomai/arch/generic] Error 2
make[2]: *** [kernel/xenomai/arch] Error 2
make[1]: *** [kernel/xenomai] Error 2
make: *** [kernel] Error 2

Quoted 5 lines

my configuration:
X86_64_SMP=y
X86_LOCAL_APIC=y

Am I the first one who tried 2.6.26 on 64-bit PC? ;-)

I just compiled 2.6.26 on 64 bits PC yesterday, and the kernel runs just fine. I would guess you have selected a type of machine that nobody else selected. Could you post your full .config here ?

Signature · 1 line
                                                 Gilles.
#2 lore raw
In reply to Petr Cervenka
Quoted 14 lines · Petr Cervenka

Hello,
I tried to use kernel-2.6.26, xenomai-2.4.4 and adeos-ipipe-2.6.26-rc7-x86-2.0-09.patch. When I attempted to compile the kernel, i got the following error:

CC kernel/xenomai/arch/generic/hal.o
In file included from include/asm/xenomai/hal.h:75,
from kernel/xenomai/arch/generic/hal.c:47:
include/asm/xenomai/hal_64.h:124:27: error: asm/mach_apic.h: No such file or directory make[4]: *** [kernel/xenomai/arch/generic/hal.o] Error 1
make[3]: *** [kernel/xenomai/arch/generic] Error 2
make[2]: *** [kernel/xenomai/arch] Error 2
make[1]: *** [kernel/xenomai] Error 2
make: *** [kernel] Error 2

Quoted 6 lines

my configuration:
X86_64_SMP=y
X86_LOCAL_APIC=y

Am I the first one who tried 2.6.26 on 64-bit PC? ;-)

Nope, but you probably did not read the ChangeLog for v2.4.x, right? TssTssTss... Here you should find:

2008-06-23 Philippe Gerum <[email protected]>

	* include/asm-x86, ksrc/nucleus/heap.c, ksrc/nucleus/pipe.c: Adapt
	to 2.6.26-rc7.

IOW, you need to pull from the v2.4.x maintenance branch (or even trunk/ if you like living on the bleeding edge) to use 2.6.26/x86, or wait for Xenomai 2.4.5.

Quoted 8 lines

Petr Cervenka

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

Signature · 1 line
Philippe.