Hi all,
I want to install xenomai on a xupv2p board embedding ppc405 processor.
I use ELDK cross compiler.
I have patched and compiled successfully the linux kernel. And Now I want to
do the next steps:
(from the README.INSTALL)
$ cd $build_root
$ $xenomai_root/configure --build=i686-pc-linux-gnu
--host=ppc-unknown-linux-gnu CC=ppc_4xx-gcc \
  CXX=ppc_4xx-g++ LD=ppc_4xx-ld
$ make DESTDIR=$staging_dir install

My questions are:

1- What is the staging dir ??
The root file system of the linux 2.6 kernel  is on a flash disk. So the
staging dir is a the path
to the rfs in the flash disk??

2- When I do:
export build_root=/home/dhouib/xupv2p/build_xeno
export xenomai_root=/home/dhouib/xupv2p/xenomai-2.4.6/
export staging_dir=/media/disk-3
$ cd $build_root
$ $xenomai_root/configure --build=i686-pc-linux-gnu
--host=ppc-unknown-linux-gnu CC=ppc_4xx-gcc \
  CXX=ppc_4xx-g++ LD=ppc_4xx-ld
$ make DESTDIR=$staging_dir install

I have the following errors:
make[2]: Entering directory `/home/dhouib/xupv2p/build_xeno/src/rtdk'
/bin/bash ../../libtool --tag=CC   --mode=link ppc_4xx-gcc   -version-info
0:0:0 -lpthread  -o librtdk.la -rpath /usr/xenomai/lib librtdk_la-init.lo
librtdk_la-rt_print.lo
ppc_4xx-gcc -shared  .libs/librtdk_la-init.o .libs/librtdk_la-rt_print.o
-lpthread  -Wl,-soname -Wl,librtdk.so.0 -o .libs/librtdk.so.0.0.0
/home/dhouib/xupv2p/elkd/usr/bin/../lib/gcc/powerpc-linux/4.2.2/../../../../powerpc-linux/bin/ld:
.libs/librtdk_la-init.o: Relocations in generic ELF (EM: 3)
/home/dhouib/xupv2p/elkd/usr/bin/../lib/gcc/powerpc-linux/4.2.2/../../../../powerpc-linux/bin/ld:
.libs/librtdk_la-init.o: Relocations in generic ELF (EM: 3)
.libs/librtdk_la-init.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [librtdk.la] Error 1
make[2]: Leaving directory `/home/dhouib/xupv2p/build_xeno/src/rtdk'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/dhouib/xupv2p/build_xeno/src'
make: *** [install-recursive] Error 1

Can someone help me?
Thanks
_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help

Reply via email to