* [Xenomai-help] Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit
@ 2010-10-17 18:12 gprizzi
2010-10-18 8:59 ` Gilles Chanteperdrix
0 siblings, 1 reply; 3+ messages in thread
From: gprizzi @ 2010-10-17 18:12 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 2173 bytes --]
Hello everyone,
I am a new user of xenomai.
I am trying to install xenomai on a system with the following characteristics:
- Intel Q6600
- Kubuntu 10.10 - 64 bits version
- linux kernel 2.6.35.7
- xenomai 2.5.5.1
- ggc compiler version (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
I followed the instructions for "Buildin Debian packages" from xenomai.org.
Everything was OK till applying patch to kernel.
After that I tried to build the kernel executing the following command:
CONCURRENCY_LEVEL=2 CLEAN_SOURCE=no fakeroot make-kpkg --initrd --append-to-version -xenomai-2.5.5.1 --revision 1.0 kernel_image kernel_headers
but i get the following errors and build fails.
CC kernel/xenomai/nucleus/pod.o
In file included from /home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod.h:4,
from kernel/xenomai/nucleus/pod.c:47:
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h: In function ‘xnarch_switch_to’:
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:98: error: implicit declaration of function ‘per_cpu_var’
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:98: error: lvalue required in asm statement
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:98: error: invalid lvalue in asm output 6
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:98: error: memory input 14 is not directly addressable
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h: In function ‘xnarch_thread_trampoline’:
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:113: error: lvalue required in asm statement
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:113: error: invalid lvalue in asm output 0
make[4]: *** [kernel/xenomai/nucleus/pod.o] Error 1
make[3]: *** [kernel/xenomai/nucleus] Error 2
make[2]: *** [kernel/xenomai] Error 2
make[1]: *** [kernel] Error 2
make[1]: *** Waiting for unfinished jobs....
Please can anyone help me to solve this problem?
Thank you in advance.
Gianpaolo Rizzi
[-- Attachment #2: Type: text/html, Size: 2347 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Xenomai-help] Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit
2010-10-17 18:12 [Xenomai-help] Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit gprizzi
@ 2010-10-18 8:59 ` Gilles Chanteperdrix
0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2010-10-18 8:59 UTC (permalink / raw)
To: gprizzi@domain.hid; +Cc: xenomai
gprizzi@domain.hid wrote:
> Hello everyone,
>
> I am a new user of xenomai.
> I am trying to install xenomai on a system with the following
> characteristics:
>
> - Intel Q6600
> - Kubuntu 10.10 - 64 bits version
> - linux kernel 2.6.35.7
> - xenomai 2.5.5.1
> - ggc compiler version (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
>
>
> I followed the instructions for "Buildin Debian packages" from xenomai.org.
> Everything was OK till applying patch to kernel.
>
> After that I tried to build the kernel executing the following command:
>
> CONCURRENCY_LEVEL=2 CLEAN_SOURCE=no fakeroot make-kpkg --initrd --append-to-version -xenomai-2.5.5.1 --revision 1.0 kernel_image kernel_headers
>
> but i get the following errors and build fails.
> (...)
> Please can anyone help me to solve this problem?
.config, please.
--
Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit
@ 2010-10-18 6:10 Cagnulein
0 siblings, 0 replies; 3+ messages in thread
From: Cagnulein @ 2010-10-18 6:10 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 2897 bytes --]
I've never seen this bug (i've never compiled under a x86_64) but i
guess it's probably related to this one:
-
http://git.xenomai.org/?p=ipipe-gch.git;a=commit;h=dd17c8f72993f9461e9c19250e3f155d6d99df22
and so the solution it might be this one:
-
http://git.xenomai.org/?p=ipipe-gch.git;a=commitdiff;h=1154fab73ccbab010cfaa272b6987c624cfd63c6
Let me know if i can help you more.
Ciao :)
Roberto
On 17/10/2010 20:12, gprizzi@domain.hid wrote:
> Hello everyone,
>
> I am a new user of xenomai.
> I am trying to install xenomai on a system with the following
> characteristics:
>
> - Intel Q6600
> - Kubuntu 10.10 - 64 bits version
> - linux kernel 2.6.35.7
> - xenomai 2.5.5.1
> - ggc compiler version (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
>
>
> I followed the instructions for "Buildin Debian packages" from
> xenomai.org.
> Everything was OK till applying patch to kernel.
>
> After that I tried to build the kernel executing the following command:
>
> CONCURRENCY_LEVEL=2 CLEAN_SOURCE=no fakeroot make-kpkg --initrd
--append-to-version -xenomai-2.5.5.1 --revision 1.0 kernel_image
kernel_headers
>
> but i get the following errors and build fails.
>
>
>
>
>
>
>
>
>
> CC kernel/xenomai/nucleus/pod.o
> In file included from
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod.h:4,
> from kernel/xenomai/nucleus/pod.c:47:
> /home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:
In function ‘xnarch_switch_to’:
> /home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:98:
error: implicit declaration of function ‘per_cpu_var’
> /home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:98:
error: lvalue required in asm statement
> /home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:98:
error: invalid lvalue in asm output 6
> /home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:98:
error: memory input 14 is not directly addressable
> /home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:
In function ‘xnarch_thread_trampoline’:
> /home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:113:
error: lvalue required in asm statement
> /home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:113:
error: invalid lvalue in asm output 0
> make[4]: *** [kernel/xenomai/nucleus/pod.o] Error 1
> make[3]: *** [kernel/xenomai/nucleus] Error 2
> make[2]: *** [kernel/xenomai] Error 2
> make[1]: *** [kernel] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
>
> Please can anyone help me to solve this problem?
>
>
>
> Thank you in advance.
>
> Gianpaolo Rizzi
>
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
[-- Attachment #2: untitled-[2] --]
[-- Type: text/html, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-18 8:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-17 18:12 [Xenomai-help] Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit gprizzi
2010-10-18 8:59 ` Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2010-10-18 6:10 Cagnulein
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.