From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <507168.65506.qm@domain.hid> Date: Thu, 25 Mar 2010 20:24:15 +0000 (GMT) From: Chtourou Sonda MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1965044213-1269548655=:65506" Subject: [Xenomai-help] Problem to cross-compile Xenomai user-space support List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org --0-1965044213-1269548655=:65506 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Dears, =0A=0A=0AI built the uClinux kernel for NIOS II and it run well on t= he target board. I followed the typical actions available here : http://www= .nioswiki.com/ =0A=0ANow, I want to add a co-scheduler xenomai to the kerne= l (uclinux) to reduce its latency. I followed these steps: (http://www.xeno= mai.org/documentation/xenomai-2.5/README.INSTALL)=0A$ $xenomai-2.5.1/script= s/prepare-kernel.sh --arch=3Dnios2 --adeos=3D$xenomai-2.5.1/ksrc/arch/nios2= /patches/adeos-ipipe-2.6.30-nios2-1.1-00.patch=0A=A0 --linux=3D$linux_tree= =0A$ $xenomai-2.5.1/configure --host=3Dnios2-linux=0A$ make install DESTDIR= =3D$uClinux-dist/romfs=0A=0ABut, in this step, I got this error:=0A=0Aeck_v= dso-check-vdso.o ../../skins/native/libnative.la -lpthread -lm=0Alibtool: l= ink: ../../../scripts/wrap-link.sh nios2-linux-gcc -Wl,-elf2flt -o check-vd= so check_vdso-check-vdso.o=A0 ../../skins/native/.libs/libnative.a -lpthrea= d -lm=0Acheck-vdso.elf2flt(.text+0x16c): In function `main':=0A: undefined = reference to `xeno_sem_heap'=0Acheck-vdso.elf2flt(.text+0x170): In function= `main':=0A: undefined reference to `xeno_sem_heap'=0Acollect2: ld returned= 1 exit status=0Amake[3]: *** [check-vdso] Erreur 1=0Amake[3]: quittant le = r=E9pertoire =AB /home/sonda/Desktop/xenomai-2.5.1/src/testsuite/unit =BB= =0Amake[2]: *** [all-recursive] Erreur 1=0Amake[2]: quittant le r=E9pertoir= e =AB /home/sonda/Desktop/xenomai-2.5.1/src/testsuite =BB=0Amake[1]: *** [a= ll-recursive] Erreur 1=0Amake[1]: quittant le r=E9pertoire =AB /home/sonda/= Desktop/xenomai-2.5.1/src =BB=0Amake: *** [all-recursive] Erreur 1=0A=0Awha= t can I do? Please help=0ARegards,=0A=0A=0A --0-1965044213-1269548655=:65506 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
=0A

Dears,

=0A

I built the uClinux kernel for = NIOS II and it run well on the target board. I followed the typical actions= available here : http://www.nioswiki.com/

Now, I want to add a co-= scheduler xenomai to the kernel (uclinux) to reduce its latency. I followed= these steps: (http://www.xenomai.org/documentation/xenomai-2.5/README.INST= ALL)
$ $xenomai-2.5.1/scripts/prepare-kernel.sh --arch=3Dnios2 --adeos= =3D$xenomai-2.5.1/ksrc/arch/nios2/patches/adeos-ipipe-2.6.30-nios2-1.1-00.p= atch
  --linux=3D$linux_tree
$ $xenomai-2.5.1/configure --host= =3Dnios2-linux
$ make install DESTDIR=3D$uClinux-dist/romfs

But, = in this step, I got this error:

eck_vdso-check-vdso.o ../../skins/na= tive/libnative.la -lpthread -lm
libtool: link: ../../../scripts/wrap-lin= k.sh nios2-linux-gcc -Wl,-elf2flt -o check-vdso check_vdso-check-vdso.o&nbs= p; ../../skins/native/.libs/libnative.a -lpthread -lm
check-vdso.elf2flt(.= text+0x16c): In function `main':
: undefined reference to `xeno_sem_heap= '
check-vdso.elf2flt(.text+0x170): In function `main':
: undefined re= ference to `xeno_sem_heap'
collect2: ld returned 1 exit status
make[3= ]: *** [check-vdso] Erreur 1
make[3]: quittant le r=E9pertoire =AB /home= /sonda/Desktop/xenomai-2.5.1/src/testsuite/unit =BB
make[2]: *** [all-re= cursive] Erreur 1
make[2]: quittant le r=E9pertoire =AB /home/sonda/Desk= top/xenomai-2.5.1/src/testsuite =BB
make[1]: *** [all-recursive] Erreur = 1
make[1]: quittant le r=E9pertoire =AB /home/sonda/Desktop/xenomai-2.5.= 1/src =BB
make: *** [all-recursive] Erreur 1

what can I do? Pleas= e help

=0A

Regards,


=0A=0A=0A=0A=0A = --0-1965044213-1269548655=:65506--