Problems building ARM rtems-4.9.3 paranoia example with centos/5/i386 prebuild RPMs on debian
Joachim Rahn
Joachim.Rahn at bessy.de
Tue Feb 23 11:14:40 UTC 2010
Hi,
I've just installed the prebuild centos/5/i386 cross toolchain on a debian Linux system
rtems-4.9-arm-rtems4.9-binutils-2.19-3.el5.i386.rpm
rtems-4.9-arm-rtems4.9-gcc-4.3.2-24.el5.i386.rpm
rtems-4.9-arm-rtems4.9-gcc-c++-4.3.2-24.el5.i386.rpm
rtems-4.9-arm-rtems4.9-gdb-6.8-11.el5.i386.rpm
rtems-4.9-arm-rtems4.9-newlib-1.16.0-24.el5.i386.rpm
rtems-4.9-autoconf-2.62-4.el5.noarch.rpm
rtems-4.9-automake-1.10.3-1.el5.noarch.rpm
rtems-4.9-binutils-common-2.19-3.el5.i386.rpm
rtems-4.9-gcc-common-4.3.2-24.el5.i386.rpm
rtems-4.9-gdb-common-6.8-11.el5.i386.rpm
rtems-4.9-newlib-common-1.16.0-24.el5.i386.rpm
In the next step I took rtems-4.9.3 fronm cvs with
cvs -d :pserver:anoncvs at www.rtems.com:/usr1/CVS -z 9 co -rrtems-4-9-3 rtems
Because we would like to use RTEMS for ARM based hardware I tried to build rtems-4.9.3 for the BSP csb337 as a test.
This will result in the following error:
[...]
Making all in fileio
make[5]: Entering directory `/amnt/projects_ctl/rahn/RTEMS/SvnRTEMS/4.9.3/b-os/build/arm-rtems4.9/c/csb337/testsuites/samples/fileio'
arm-rtems4.9-gcc -B../../../../../csb337/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\" -DPACKAGE_VERSION=\"4.9.3\" -DPACKAGE_STRING=\"rtems-c-src-tests-samples\ 4.9.3\"
-DPACKAGE_BUGREPORT=\"http://www.rtems.org/bugzilla\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CSTDIO=1 -DHAVE_CSTDLIB=1 -DHAVE_IOSTREAM=1 -I.
-I../../../../../../../rtems-4.9.3/c/src/../../testsuites/samples/fileio -mcpu=arm920 -mstructure-size-boundary=8 -O2 -g -MT init.o -MD -MP -MF
.deps/init.Tpo -c -o init.o ../../../../../../../rtems-4.9.3/c/src/../../testsuites/samples/fileio/init.c
mv -f .deps/init.Tpo .deps/init.Po
arm-rtems4.9-gcc -B../../../../../csb337/lib/ -specs bsp_specs -qrtems -mcpu=arm920 -mstructure-size-boundary=8 -O2 -g -mcpu=arm920
-mstructure-size-boundary=8 -o fileio.exe init.o ../../../../../csb337/lib/no-barrier.rel ../../../../../csb337/lib/no-dpmem.rel
../../../../../csb337/lib/no-event.rel ../../../../../csb337/lib/no-mp.rel ../../../../../csb337/lib/no-part.rel ../../../../../csb337/lib/no-region.rel
../../../../../csb337/lib/no-signal.rel ../../../../../csb337/lib/no-timer.rel ../../../../../csb337/lib/no-rtmon.rel ../../../../../csb337/lib/no-ext.rel
arm-rtems4.9-nm -g -n fileio.exe > fileio.num
arm-rtems4.9-size fileio.exe
text data bss dec hex filename
284916 8472 130528 423916 677ec fileio.exe
cp fileio.exe fileio.ralf
Making all in paranoia
make[5]: Entering directory `/amnt/projects_ctl/rahn/RTEMS/SvnRTEMS/4.9.3/b-os/build/arm-rtems4.9/c/csb337/testsuites/samples/paranoia'
arm-rtems4.9-gcc -B../../../../../csb337/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\" -DPACKAGE_VERSION=\"4.9.3\" -DPACKAGE_STRING=\"rtems-c-src-tests-samples\ 4.9.3\"
-DPACKAGE_BUGREPORT=\"http://www.rtems.org/bugzilla\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CSTDIO=1 -DHAVE_CSTDLIB=1 -DHAVE_IOSTREAM=1 -I.
-I../../../../../../../rtems-4.9.3/c/src/../../testsuites/samples/paranoia -DNOSIGNAL -DCYGNUS -DNOMAIN -mcpu=arm920 -mstructure-size-boundary=8 -O2 -g -MT
init.o -MD -MP -MF .deps/init.Tpo -c -o init.o ../../../../../../../rtems-4.9.3/c/src/../../testsuites/samples/paranoia/init.c
mv -f .deps/init.Tpo .deps/init.Po
arm-rtems4.9-gcc -B../../../../../csb337/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\" -DPACKAGE_VERSION=\"4.9.3\" -DPACKAGE_STRING=\"rtems-c-src-tests-samples\ 4.9.3\"
-DPACKAGE_BUGREPORT=\"http://www.rtems.org/bugzilla\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CSTDIO=1 -DHAVE_CSTDLIB=1 -DHAVE_IOSTREAM=1 -I.
-I../../../../../../../rtems-4.9.3/c/src/../../testsuites/samples/paranoia -DNOSIGNAL -DCYGNUS -DNOMAIN -mcpu=arm920 -mstructure-size-boundary=8 -O2 -g -MT
paranoia.o -MD -MP -MF .deps/paranoia.Tpo -c -o paranoia.o ../../../../../../../rtems-4.9.3/c/src/../../testsuites/samples/paranoia/paranoia.c
/opt/rtems-4.9/libexec/gcc/arm-rtems4.9/4.3.2/cc1: symbol lookup error: /opt/rtems-4.9/libexec/gcc/arm-rtems4.9/4.3.2/cc1: undefined symbol: __gmpn_sqr_n
make[5]: *** [paranoia.o] Error 1
make[5]: Leaving directory `/amnt/projects_ctl/rahn/RTEMS/SvnRTEMS/4.9.3/b-os/build/arm-rtems4.9/c/csb337/testsuites/samples/paranoia'
[...]
Any suggestions ... ????
Thanks in advance
--
Joachim
______________________________________________________________________________
Joachim.Rahn at bessy.de, Phone: (+49) 30 6392-4864, Fax: -2903
Wilhelm-Conrad-Röntgen-Campus Adlershof, Albert-Einstein-Str. 15, 12489 Berlin
______________________________________________________________________________
More information about the users
mailing list