All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] compile error: asm/mach_apic.h: No such file or directory
@ 2008-07-31  9:44 Petr Cervenka
  2008-07-31  9:53 ` Gilles Chanteperdrix
  2008-07-31  9:59 ` Philippe Gerum
  0 siblings, 2 replies; 3+ messages in thread
From: Petr Cervenka @ 2008-07-31  9:44 UTC (permalink / raw)
  To: xenomai

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



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

* Re: [Xenomai-help] compile error: asm/mach_apic.h: No such file or directory
  2008-07-31  9:44 [Xenomai-help] compile error: asm/mach_apic.h: No such file or directory Petr Cervenka
@ 2008-07-31  9:53 ` Gilles Chanteperdrix
  2008-07-31  9:59 ` Philippe Gerum
  1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2008-07-31  9:53 UTC (permalink / raw)
  To: Petr Cervenka; +Cc: xenomai

Petr Cervenka wrote:
> 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? ;-)

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 ?

-- 
                                                 Gilles.


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

* Re: [Xenomai-help] compile error: asm/mach_apic.h: No such file or directory
  2008-07-31  9:44 [Xenomai-help] compile error: asm/mach_apic.h: No such file or directory Petr Cervenka
  2008-07-31  9:53 ` Gilles Chanteperdrix
@ 2008-07-31  9:59 ` Philippe Gerum
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2008-07-31  9:59 UTC (permalink / raw)
  To: Petr Cervenka; +Cc: xenomai

Petr Cervenka wrote:
> 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? ;-)
>

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

2008-06-23  Philippe Gerum  <rpm@xenomai.org>

	* 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.


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


-- 
Philippe.


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

end of thread, other threads:[~2008-07-31  9:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31  9:44 [Xenomai-help] compile error: asm/mach_apic.h: No such file or directory Petr Cervenka
2008-07-31  9:53 ` Gilles Chanteperdrix
2008-07-31  9:59 ` 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.