Problems compiling rtems to arm

Luís Cargnini lvcargnini at gmail.com
Fri Oct 21 16:59:55 UTC 2005


Hi,
someoneknows how to fix this problem:
arm-rtems-gcc --pipe -B../../../../../lib/
-B../../../../../arm_bare_bsp/lib/ -specs bsp_specs -qrtems
-msoft-float   -g -Wall -ansi -fasm         -o o-optimize/pppd.obj
o-optimize/init.o o-optimize/pppdapp.o
../../../../../arm_bare_bsp/lib/no-dpmem.rel
../../../../../arm_bare_bsp/lib/no-msg.rel
../../../../../arm_bare_bsp/lib/no-mp.rel
../../../../../arm_bare_bsp/lib/no-part.rel
../../../../../arm_bare_bsp/lib/no-signal.rel
../../../../../arm_bare_bsp/lib/no-timer.rel
../../../../../arm_bare_bsp/lib/no-rtmon.rel
/opt/arm-rtems/lib/gcc-lib/arm-rtems/3.2.3/../../../../arm-rtems/bin/ld:
region FLASH is full (o-optimize/pppd.obj section .text)
/opt/arm-rtems/lib/gcc-lib/arm-rtems/3.2.3/../../../../arm-rtems/bin/ld:
section .fini [00200000 -> 00200003] overlaps section .init [00200000
-> 00200003]
/opt/arm-rtems/lib/gcc-lib/arm-rtems/3.2.3/../../../../arm-rtems/bin/ld:
section .rodata [00200004 -> 00208ab4] overlaps section .text
[00200004 -> 0029e533]
/opt/arm-rtems/lib/gcc-lib/arm-rtems/3.2.3/../../../../arm-rtems/bin/ld:
section .data [00208b00 -> 0020c9f3] overlaps section .text [00200004
-> 0029e533]
collect2: ld returned 1 exit status
gmake[5]: *** [o-optimize/pppd.exe] Error 1
gmake[5]: Leaving directory
`/home/lvcargnini/puc/mestrado/instramed/rtems/build-rtems/arm-rtems/c/arm_bare_bsp/tests/samples/pppd'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
`/home/lvcargnini/puc/mestrado/instramed/rtems/build-rtems/arm-rtems/c/arm_bare_bsp/tests/samples'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/home/lvcargnini/puc/mestrado/instramed/rtems/build-rtems/arm-rtems/c/arm_bare_bsp/tests'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/home/lvcargnini/puc/mestrado/instramed/rtems/build-rtems/arm-rtems/c/arm_bare_bsp'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/lvcargnini/puc/mestrado/instramed/rtems/build-rtems/arm-rtems/c'
make: *** [all-recursive] Error 1

the command used to configure rtems originally was:
../rtems-4.6.5/configure --target=arm-rtems --prefix=/opt/rtems-4.6.5
--enable-posix --enable-itron --enable-networking --enable-rdbg
--enable-cxx --enable-tests --enable-docs --enable-rtemsbsp="armulator
arm_bare_bsp vegaplus bare" --enable-multiprocessing
but i had problems with --enable-multiprocessing so i removed it, i
must cross compilate it withou specify the bsp maybe ?


--
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Mastering Degree student @ PUC-RS Electrical Engineer Faculty



More information about the users mailing list