From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13402262.2612151287339120062.JavaMail.defaultUser@domain.hid> Date: Sun, 17 Oct 2010 20:12:00 +0200 (CEST) From: "gprizzi@domain.hid" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_314624_7892787.1287339120062" Subject: [Xenomai-help] Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit Reply-To: "gprizzi@domain.hid" List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org ------=_Part_314624_7892787.1287339120062 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello everyone, I am a new user of xenomai. I am trying to install xenomai on a system with the following characterist= ics: - 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=3D2 CLEAN_SOURCE=3Dno fakeroot make-kpkg --initrd --appen= d-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/xeno= mai/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 =E2=80=98xnarch_switch_to=E2=80=99: /home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:98: = error: implicit declaration of function =E2=80=98per_cpu_var=E2=80=99 /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 =E2=80=98xnarch_thread_trampoline=E2=80=99: /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 ------=_Part_314624_7892787.1287339120062 Content-Type: text/html;charset="UTF-8" Content-Transfer-Encoding: quoted-printable  Hello everyone,

 I am a new user of xenomai.
 I a= m trying to install xenomai on a system with the following characteristics:=

 - Intel Q6600
 - Kubuntu 10.10 - 64 bits version
&= nbsp;- linux kernel 2.6.35.7
 - xenomai 2.5.5.1
 - ggc = ; compiler version (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5


I follo= wed the instructions for "Buildin Debian packages" from xenomai.org.
Eve= rything was OK till applying patch to kernel.

After that I tried to = build the kernel executing the following command:

CONCURRE=
NCY_LEVEL=3D2 CLEAN_SOURCE=3Dno fakeroot make-kpkg --initrd --append-to-ver=
sion -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 /hom= e/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 =E2=80=98xnar= ch_switch_to=E2=80=99:
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/= xenomai/bits/pod_64.h:98: error: implicit declaration of function =E2=80=98= per_cpu_var=E2=80=99
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xe= nomai/bits/pod_64.h:98: error: lvalue required in asm statement
/home/gi= ampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/pod_64.h:98: error: i= nvalid lvalue in asm output 6
/home/giampy/linux-2.6.35.7/arch/x86/inclu= de/asm/xenomai/bits/pod_64.h:98: error: memory input 14 is not directly add= ressable
/home/giampy/linux-2.6.35.7/arch/x86/include/asm/xenomai/bits/p= od_64.h: In function =E2=80=98xnarch_thread_trampoline=E2=80=99:
/home/g= iampy/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/i= nclude/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]: *** [ke= rnel/xenomai/nucleus] Error 2
make[2]: *** [kernel/xenomai] Error 2
m= ake[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
 
------=_Part_314624_7892787.1287339120062--