Problems building RTEMS for ARM on Ubuntu 64bit
rtems at soulscythe.com
rtems at soulscythe.com
Fri Nov 12 03:35:24 UTC 2010
Hi
I'm trying to get RTEMS 4.9 for ARM running on my Ubuntu 10.04 x86_64 system.
I've downloaded the prebuilt toolchain and installed all of the
packages successfully.
rtems-4.9-arm-rtems4.9-binutils-2.19-3.el5.x86_64.rpm
rtems-4.9-arm-rtems4.9-gcc-4.3.2-24.el5.x86_64.rpm
rtems-4.9-arm-rtems4.9-gcc-c++-4.3.2-24.el5.x86_64.rpm
rtems-4.9-arm-rtems4.9-gdb-6.8-11.el5.x86_64.rpm
rtems-4.9-arm-rtems4.9-newlib-1.16.0-24.el5.x86_64.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.x86_64.rpm
rtems-4.9-gcc-common-4.3.2-24.el5.x86_64.rpm
rtems-4.9-gdb-common-6.8-11.el5.x86_64.rpm
rtems-4.9-newlib-common-1.16.0-24.el5.x86_64.rpm
rtems-4.9-release-0.21-1.el5.noarch.rpm
#alien -d rtems-4.9*.rpm
#dpkg -i rtems-4.9*.deb
successfully configured it using...
$ ../rtems-4.9.4/configure -target=arm-rtems4.9 -enable-cxx
enable-rdbg -enable-tests -enable-networking -enable-posix
-enable-rtemsbsp=nds
<snip>
target architecture: arm.
available BSPs: nds.
'make all' will build the following BSPs: nds.
$make all stopped here...
arm-rtems4.9-gcc -B../../../../../nds/lib/ -specs bsp_specs -qrtems
-DPACKAGE_NAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\" -
DPACKAGE_VERSION=\"4.9.4\"
-DPACKAGE_STRING=\"rtems-c-src-tests-samples\ 4.9.4\"
-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.4/c/src/../../testsuites/samples/paranoia
-DNOSIGNAL -DCYGNUS -DNOMAIN -mcpu=arm9tdmi -msoft-float -
mstructure-size-boundary=8 -O2 -MT paranoia.o -MD -MP -MF
.deps/paranoia.Tpo -c -o paranoia.o
../../../../../../../rtems-4.9.4/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
`/home/jayse/downloads/arm-development/rtems/rtems-4.9.4-jay/arm-rtems4.9/c/nds/testsuites/samples/paranoia'
*******************************
$ dpkg -s libgmp3c2 | grep Version
Version: 2:4.3.2+dfsg-1ubuntu1
I've followed these instructions
http://devkitpro.org/viewtopic.php?f=2&t=59 with no joy. And I've also
looked at http://www.rtems.com/pipermail/rtems-users/2010-
February/006616.html but is has no solution.
Any ideas what i need to do?
thanks
Jaysen
More information about the users
mailing list