Bienvenido: Ingresar
location: Diferencias para "WebHome/HerramientasProgramacion/ErroresFrecuentes"
Diferencias entre las revisiones 4 y 5
Versión 4 con fecha 2010-09-08 21:06:00
Tamaño: 1532
Comentario:
Versión 5 con fecha 2010-09-08 21:06:34
Tamaño: 1539
Comentario:
Los textos eliminados se marcan así. Los textos añadidos se marcan así.
Línea 6: Línea 6:
arm-elf-gcc: error trying to exec 'cc1': execvp: No existe el fichero ó directorio '''arm-elf-gcc: error trying to exec 'cc1': execvp: No existe el fichero ó directorio'''
Línea 37: Línea 37:
/opt/gnu-arm/bin/../libexec/gcc/arm-elf/4.3.2/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object  '''/opt/gnu-arm/bin/../libexec/gcc/arm-elf/4.3.2/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object'''
Línea 45: Línea 45:

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)