Install 4.6.5 for sparc ERC32 error

Grigori Khmyrov grigori_khmyrov at uml.edu
Wed Feb 1 22:38:26 UTC 2006


Putting binutils first in the PATH fixes the problem.

Grigori Khmyrov wrote:

> Hi,
>
> I have an error when I'm trying to install rtems-4.6.5 for sparc ERC32 
> on my linux box.
> Can somebody tell me what is wrong?
>
> Thank you,
> Grigori
>
> cd /opt/build-rtems-sparc
>
> /usr/local/src/rtems-4.6.5/configure --target=sparc-rtems 
> --disable-itron --enable-rtemsbsp="erc32" --enable-tests 
> --prefix=/opt/build-rtems-sparc
>
> gmake all
>
> ....
> Making all in samples
> gmake[4]: Entering directory 
> `/opt/build-rtems-sparc/sparc-rtems/c/erc32/tests/samples'
> Making all in hello
> gmake[5]: Entering directory 
> `/opt/build-rtems-sparc/sparc-rtems/c/erc32/tests/samples/hello'
> mkdir o-optimize
> mkdir -p -- ../../../../../erc32/tests
> sparc-rtems-gcc --pipe -B../../../../../lib/ 
> -B../../../../../erc32/lib/ -specs bsp_specs -qrtems 
> -DPACKAGE_NAME=\"rtems-c-src-tests-samples\" 
> -DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\" 
> -DPACKAGE_VERSION=\"4.6.5\" 
> -DPACKAGE_STRING=\"rtems-c-src-tests-samples\ 4.6.5\" 
> -DPACKAGE_BUGREPORT=\"rtems-bugs at rtems.com\"    -isystem 
> ../../../../../erc32/lib/include     -mcpu=cypress -msoft-float  -O2 
> -g -Wall -ansi -fasm  -o o-optimize/init.o -c 
> /usr/local/src/rtems-4.6.5/c/src/tests/samples/hello/init.c
> sparc-rtems-gcc --pipe -B../../../../../lib/ 
> -B../../../../../erc32/lib/ -specs bsp_specs -qrtems -mcpu=cypress 
> -msoft-float  -O2 -g -Wall -ansi -fasm         -o o-optimize/hello.exe 
> o-optimize/init.o ../../../../../erc32/lib/no-dpmem.rel 
> ../../../../../erc32/lib/no-event.rel 
> ../../../../../erc32/lib/no-msg.rel ../../../../../erc32/lib/no-mp.rel 
> ../../../../../erc32/lib/no-part.rel 
> ../../../../../erc32/lib/no-signal.rel 
> ../../../../../erc32/lib/no-timer.rel 
> ../../../../../erc32/lib/no-rtmon.rel
> ../../../../../erc32/lib/librtemsbsp.a: could not read symbols: 
> Archive has no index; run ranlib to add one
> collect2: ld returned 1 exit status
> gmake[5]: *** [o-optimize/hello.exe] Error 1
> gmake[5]: Leaving directory 
> `/opt/build-rtems-sparc/sparc-rtems/c/erc32/tests/samples/hello'
> gmake[4]: *** [all-recursive] Error 1
> gmake[4]: Leaving directory 
> `/opt/build-rtems-sparc/sparc-rtems/c/erc32/tests/samples'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory 
> `/opt/build-rtems-sparc/sparc-rtems/c/erc32/tests'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/opt/build-rtems-sparc/sparc-rtems/c/erc32'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/opt/build-rtems-sparc/sparc-rtems/c'
> gmake: *** [all-recursive] Error 1
>
>




More information about the users mailing list