Bienvenido: Ingresar
location: Diferencias para "WebHome/HerramientasProgramacion/ErroresFrecuentes"
Diferencias entre las revisiones 2 y 3
Versión 2 con fecha 2010-09-08 21:04:35
Tamaño: 1635
Comentario:
Versión 3 con fecha 2010-09-08 21:05:12
Tamaño: 1533
Comentario:
Los textos eliminados se marcan así. Los textos añadidos se marcan así.
Línea 27: Línea 27:

root@td03005:/opt/gnu-arm/libexec/gcc/arm-elf/4.3.2# ls
cc1 cc1plus collect2 install-tools
Línea 52: Línea 49:

Instalación de Herramientas GNU-ARM

Problemas frecuentes enla instalación y/o ejecución de las herramientas ARM

Error

arm-elf-gcc: error trying to exec 'cc1': execvp: No existe el fichero ó directorio

Solución

Se debe realizar un enlace simbólico del cc1 a la carpeta de los binarios.

como root

root@td03005:/# cd /opt/gnu-arm/bin
root@td03005:/opt/gnu-arm/bin# ln -s /opt/gnu-arm/libexec/gcc/arm-elf/4.3.2/cc1 ./cc1
root@td03005:/opt/gnu-arm/bin# ls -l
.....
-rwxr-xr-x 1 root root  2814764 2010-06-10 18:47 arm-elf-strip
lrwxrwxrwx 1 root root       42 2010-09-08 17:29 cc1 -> /opt/gnu-arm/libexec/gcc/arm-elf/4.3.2/cc1
.....

verificar que cc1 tenga permiso de ejecución

root@td03005:/opt/gnu-arm/bin# cd /opt/gnu-arm/libexec/gcc/arm-elf/4.3.2/
root@td03005:/opt/gnu-arm/libexec/gcc/arm-elf/4.3.2# chmod +x cc1
root@td03005:/opt/gnu-arm/libexec/gcc/arm-elf/4.3.2# chmod +x cc1plus
root@td03005:/opt/gnu-arm/libexec/gcc/arm-elf/4.3.2# ls -l
total 50968
-rwxr-xr-x 1 root root 24760130 2010-06-10 18:47 cc1
-rwxr-xr-x 1 root root 27062393 2010-06-10 18:47 cc1plus
-rw-r--r-- 1 root root   292766 2010-06-10 18:47 collect2
drwxr-xr-x 2 root root     4096 2010-06-10 18:47 install-tools

=== Error === /opt/gnu-arm/bin/../libexec/gcc/arm-elf/4.3.2/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object

Solución

Instalar la librería correspondiente

# aptitude install libmpfr1ldbl

UntitledWiki: WebHome/HerramientasProgramacion/ErroresFrecuentes (última edición 2011-03-15 14:41:20 efectuada por GuillermoSteiner)