Proyecto movido a GitHub
Miér 7 Abr 2021 - 19:23 por bittor
Proyecto movido a GitHub:
https://github.com/bittor7x0/VDR-M7x0
Con muchos cambios y correcciones, Más información
También incluye el plugin epgfixer para corregir la EPG usando expresiones regulares y el plugin xmltv2vdr para descargar la EPG de internet
https://github.com/bittor7x0/VDR-M7x0
Con muchos cambios y correcciones, Más información
También incluye el plugin epgfixer para corregir la EPG usando expresiones regulares y el plugin xmltv2vdr para descargar la EPG de internet
Comentarios: 0
Buscar
[Solucionado] Error compilando desde Ubuntu 8.10
4 participantes
Página 1 de 1.
[Solucionado] Error compilando desde Ubuntu 8.10
Hola,
Estoy intentando compilar el firmware desde Ubuntu 8.10, siguiendo las instrucciones indicadas... y todo va bien, hasta que aparece este error:
checking for correct version of gmp.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of these libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
If you obtained GMP and/or MPFR from a vendor distribution package, make
sure that you have installed both the libraries and the header files.
They may be located in separate packages.
make: *** [/home/cescr/VDR-NG-EM/VDR-NG-FW/m7x0_xtc_uclibc_Linux-i686/stagefiles/.gcc_stage1_configured] Error 1
¿Cómo lo puedo solucionar para que acabe la compilación.
Saludos y gracias.
Estoy intentando compilar el firmware desde Ubuntu 8.10, siguiendo las instrucciones indicadas... y todo va bien, hasta que aparece este error:
checking for correct version of gmp.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of these libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
If you obtained GMP and/or MPFR from a vendor distribution package, make
sure that you have installed both the libraries and the header files.
They may be located in separate packages.
make: *** [/home/cescr/VDR-NG-EM/VDR-NG-FW/m7x0_xtc_uclibc_Linux-i686/stagefiles/.gcc_stage1_configured] Error 1
¿Cómo lo puedo solucionar para que acabe la compilación.
Saludos y gracias.
Última edición por bittor el Jue 4 Feb 2010 - 8:40, editado 1 vez (Razón : Añadir solucionado al título)
cescr- Cantidad de envíos : 12
Fecha de inscripción : 05/11/2008
Re: [Solucionado] Error compilando desde Ubuntu 8.10
Has seguido las instrucciones del wiki? tienes los paquetes libmpfr-dev y libgmp3-dev instalados?
zjuanma- Desarrollador
- Cantidad de envíos : 818
Fecha de inscripción : 27/06/2008
Sigue con otro error en la compilación
En efecto, añadiendo estos paquetes ha seguido la compilación. Hasta llegar a este punto...
make -C /home/cescr/VDR-NG-EM/VDR-NG-FW/hostutils.build/cramfs-1.1 -f GNUmakefile all
make[1]: Entering directory `/home/cescr/VDR-NG-EM/VDR-NG-FW/hostutils.build/cramfs-1.1'
gcc -W -Wall -O2 -g -I. mkcramfs.c -lz -o mkcramfs
mkcramfs.c:51:18: error: zlib.h: No such file or directory
mkcramfs.c: In function ‘parse_directory’:
mkcramfs.c:427: warning: pointer targets in assignment differ in signedness
mkcramfs.c: In function ‘write_superblock’:
mkcramfs.c:526: warning: implicit declaration of function ‘crc32’
mkcramfs.c:526: error: ‘Z_NULL’ undeclared (first use in this function)
mkcramfs.c:526: error: (Each undeclared identifier is reported only once
mkcramfs.c:526: error: for each function it appears in.)
mkcramfs.c:533: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
mkcramfs.c:535: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
mkcramfs.c: In function ‘write_directory_structure’:
mkcramfs.c:606: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c: In function ‘do_compress’:
mkcramfs.c:726: warning: implicit declaration of function ‘compress’
mkcramfs.c: In function ‘find_filesystem_entry’:
mkcramfs.c:817: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c: In function ‘modify_entry’:
mkcramfs.c:883: warning: pointer targets in assignment differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c: In function ‘interpret_table_entry’:
mkcramfs.c:1019: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
mkcramfs.c: In function ‘main’:
mkcramfs.c:1282: error: ‘Z_NULL’ undeclared (first use in this function)
make[1]: *** [mkcramfs] Error 1
make[1]: Leaving directory `/home/cescr/VDR-NG-EM/VDR-NG-FW/hostutils.build/cramfs-1.1'
make: *** [/home/cescr/VDR-NG-EM/VDR-NG-FW/m7x0_xtc_uclibc_Linux-i686/stagefiles/.cramfs_host_compiled] Error 2
Perdonad, pero es la primera vez que intento compilar el kernel y mis conocimientos de linux son muy justitos...
Gracias.
make -C /home/cescr/VDR-NG-EM/VDR-NG-FW/hostutils.build/cramfs-1.1 -f GNUmakefile all
make[1]: Entering directory `/home/cescr/VDR-NG-EM/VDR-NG-FW/hostutils.build/cramfs-1.1'
gcc -W -Wall -O2 -g -I. mkcramfs.c -lz -o mkcramfs
mkcramfs.c:51:18: error: zlib.h: No such file or directory
mkcramfs.c: In function ‘parse_directory’:
mkcramfs.c:427: warning: pointer targets in assignment differ in signedness
mkcramfs.c: In function ‘write_superblock’:
mkcramfs.c:526: warning: implicit declaration of function ‘crc32’
mkcramfs.c:526: error: ‘Z_NULL’ undeclared (first use in this function)
mkcramfs.c:526: error: (Each undeclared identifier is reported only once
mkcramfs.c:526: error: for each function it appears in.)
mkcramfs.c:533: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
mkcramfs.c:535: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
mkcramfs.c: In function ‘write_directory_structure’:
mkcramfs.c:606: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c: In function ‘do_compress’:
mkcramfs.c:726: warning: implicit declaration of function ‘compress’
mkcramfs.c: In function ‘find_filesystem_entry’:
mkcramfs.c:817: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:820: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:822: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:835: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c: In function ‘modify_entry’:
mkcramfs.c:883: warning: pointer targets in assignment differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c:915: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness
mkcramfs.c: In function ‘interpret_table_entry’:
mkcramfs.c:1019: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
mkcramfs.c: In function ‘main’:
mkcramfs.c:1282: error: ‘Z_NULL’ undeclared (first use in this function)
make[1]: *** [mkcramfs] Error 1
make[1]: Leaving directory `/home/cescr/VDR-NG-EM/VDR-NG-FW/hostutils.build/cramfs-1.1'
make: *** [/home/cescr/VDR-NG-EM/VDR-NG-FW/m7x0_xtc_uclibc_Linux-i686/stagefiles/.cramfs_host_compiled] Error 2
Perdonad, pero es la primera vez que intento compilar el kernel y mis conocimientos de linux son muy justitos...
Gracias.
cescr- Cantidad de envíos : 12
Fecha de inscripción : 05/11/2008
Re: [Solucionado] Error compilando desde Ubuntu 8.10
Creo que te falta instalar el paquete "zlib1g-dev"... uno de los paquetes que hay que instalar según el wiki:cescr escribió:make -C /home/cescr/VDR-NG-EM/VDR-NG-FW/hostutils.build/cramfs-1.1 -f GNUmakefile all
make[1]: Entering directory `/home/cescr/VDR-NG-EM/VDR-NG-FW/hostutils.build/cramfs-1.1'
gcc -W -Wall -O2 -g -I. mkcramfs.c -lz -o mkcramfs
mkcramfs.c:51:18: error: zlib.h: No such file or directory
- Código:
~ # sudo aptitude install build-essential subversion make automake bison binutils genext2fs
gcc-3.4 texinfo libmpfr-dev zlib1g-dev patch libncurses5-dev gettext flex libgmp3-dev
Un saludo,
pjllaneras- Betatester
- Cantidad de envíos : 569
Fecha de inscripción : 29/01/2009
Edad : 52
Localización : Palma de Mallorca
Re: [Solucionado] Error compilando desde Ubuntu 8.10
Deberias seguir los pasos del wiki exactamente. Si no te dara estos problemas.
zjuanma- Desarrollador
- Cantidad de envíos : 818
Fecha de inscripción : 27/06/2008
Re: [Solucionado] Error compilando desde Ubuntu 8.10
Fijate bien porque un simple espacio de mas entre dos comandos hace dicho paquete no se descarge e instale.
Yo me volvi loco una vez por poner una , en lugar de .
Repasa bien. Dew
Yo me volvi loco una vez por poner una , en lugar de .
Repasa bien. Dew
axel2- Betatester
- Cantidad de envíos : 392
Fecha de inscripción : 04/02/2009
Edad : 61
Localización : Castelldefels, Catalunya
Compilación con éxito!
Compilación e instalación con éxito.
Muchas gracias a todos.
Para la próxima el proceso ya está todo claro!
Muchas gracias a todos.
Para la próxima el proceso ya está todo claro!
cescr- Cantidad de envíos : 12
Fecha de inscripción : 05/11/2008
Temas similares
» [Solucionado] Error al compilar desde linux
» Problema compilando 0.4 unstable bajo ubuntu 8.10
» error compilando en debian
» ¡no me compila! ¿alguien con ubuntu 9.04?
» Error de compilación en ubuntu 10.04
» Problema compilando 0.4 unstable bajo ubuntu 8.10
» error compilando en debian
» ¡no me compila! ¿alguien con ubuntu 9.04?
» Error de compilación en ubuntu 10.04
Página 1 de 1.
Permisos de este foro:
No puedes responder a temas en este foro.