VDR para el Siemens Gigaset M740/M750
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.
Proyecto movido a GitHub

Miér 7 Abr 2021 - 19:23 por bittor

Comentarios: 0

Buscar
 
 

Resultados por:
 


Rechercher Búsqueda avanzada

Flujo RSS


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 



Error al compilar trunk en Ubuntu 12.04

3 participantes

Página 1 de 2. 1, 2  Siguiente

Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Error al compilar trunk en Ubuntu 12.04

Mensaje por jvvalero Lun 21 Ene 2013 - 21:44

He intentado compilar según las instrucciones de la Wiki (https://www.assembla.com/wiki/show/VDR-M7x0/Instalaci%C3%B3n_del_VDR-NG-EM#instalacion_linux)
tengo el ubuntu 12.04 y me da el siguiente erro al hacer "make"

/home/vicente/vdr/vdr-NG-EM/VDR-NG-EM-trunk/hostutils-make-incs/yuicompressor.mk:27: *** las instrucciones comenzaron antes del primer objetivo. Alto.

¿Qué hago mal?

jvvalero

Cantidad de envíos : 19
Fecha de inscripción : 16/07/2009

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por bittor Mar 22 Ene 2013 - 9:07

No se ha debido instalar el Java Runtime, vuelve a ejecutar
Código:
sudo apt-get install openjdk-7-jre
a ver que te dice.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por jvvalero Mar 22 Ene 2013 - 10:03

He instalado el Java y parece que iba funcionando, ha dado un par de errores de archivos que no podía descargar pero los he podido solucionar. Ahora me da el error:

checking for the GMP library version 4.1.3 or above... no
configure: error: Cannot find GMP version 4.1.3 or higher.
GMP is the GNU Multi-Precision library:
see http://www.swox.com/gmp/ for more information.
When compiling the GMP library, do not forget to enable the C++ interface:
add --enable-cxx to the configuration options.
make: *** [/home/vicente/vdr/vdr-NG-EM/VDR-NG-EM-trunk/m7x0_xtc_uclibc_Linux-x86_64/stagefiles/.ppl_host_configured] Error 1

Pero ese no sé cómo solucionarlo, ¿hay que instalar algo más?

jvvalero

Cantidad de envíos : 19
Fecha de inscripción : 16/07/2009

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por bittor Mar 22 Ene 2013 - 16:42

Pon un trozo antes, desde donde se ejecuta el comando que tiene "--enable-optimization=sspeed".

El gmp se tendría que haber compilado antes de este paso, si es mucho trozo envíalo como adjunto o súbelo a algún sitio.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por jvvalero Mar 22 Ene 2013 - 17:03

He vuelto a hacer "make" y esto es lo que sale:

vicente@PC-Casa:~/vdr/vdr-NG-EM/VDR-NG-EM-trunk$ make
(cd /home/vicente/vdr/vdr-NG-EM/VDR-NG-EM-trunk/hostutils.build/ppl-1.0 ; /home/vicente/vdr/vdr-NG-EM/VDR-NG-EM-trunk/hostutils.build/ppl-1.0/configure \
--prefix=/home/vicente/vdr/vdr-NG-EM/VDR-NG-EM-trunk/m7x0_xtc_uclibc_Linux-x86_64 \
--enable-static \
--disable-shared \
--disable-pch \
--enable-arch=x86_64 \
--enable-optimization=sspeed \
--disable-ppl_lcdd \
--disable-ppl_lpsol \
--disable-ppl_pips \
--with-gmp=/home/vicente/vdr/vdr-NG-EM/VDR-NG-EM-trunk/m7x0_xtc_uclibc_Linux-x86_64)
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether we are actually using the Intel C compiler... no
checking whether we are actually using Clang... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are actually using the Intel C++ compiler... no
checking whether we are actually using clang++... no
checking for grep that handles long lines and -e... /bin/grep
checking for fgrep... /bin/grep -F
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking how to run the C++ preprocessor... g++ -E
checking whether make sets $(MAKE)... (cached) yes
checking whether to compile with debug info... yes
checking whether to compile for profiling... no
checking whether to compile for test coverage... no
checking whether to enable checking of run-time assertions... no
checking whether to enable even more run-time assertions... no
checking whether to enable optimizations... sspeed
checking for which architecture to optimize... x86_64
checking whether to use (a specific) floating point arithmetic... default
checking whether to use precompiled headers... no
checking the type of integral values to use as coefficients... GMP mpz
checking for an ANSI C-conforming const... no
checking for inline... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking whether byte ordering is bigendian... yes
checking for typeof syntax and keyword spelling... no
checking size of char... 0
checking size of short... 0
checking size of int... 0
checking size of long... 0
checking size of long long... 0
checking size of size_t... 0
checking size of float... 0
checking size of double... 0
checking size of long double... 0
checking size of int*... 0
checking size of fp... 0
checking for perl... /usr/bin/perl
checking for library containing sqrt... no
checking fenv.h usability... no
checking fenv.h presence... yes
configure: WARNING: fenv.h: present but cannot be compiled
configure: WARNING: fenv.h: check for missing prerequisite headers?
configure: WARNING: fenv.h: see the Autoconf documentation
configure: WARNING: fenv.h: section "Present But Cannot Be Compiled"
configure: WARNING: fenv.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to ppl-devel@cs.unipr.it ##
configure: WARNING: ## ------------------------------------ ##
checking for fenv.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking if it is possible to control the FPU... no
checking whether the plain char type is signed... no
checking whether the C++ compiler provides proper long doubles... no
checking the binary format of C++ floats... unknown
checking the binary format of C++ doubles... unknown
checking the binary format of C++ long doubles... unknown
checking whether the C++ compiler supports zero-length arrays... no
checking whether the IEEE inexact flag is supported in C++... no
checking whether the C++ compiler supports __attribute__ ((weak))... no
checking for fenv.h... (cached) no
checking for ieeefp.h... (cached) no
checking getopt.h usability... no
checking getopt.h presence... yes
configure: WARNING: getopt.h: present but cannot be compiled
configure: WARNING: getopt.h: check for missing prerequisite headers?
configure: WARNING: getopt.h: see the Autoconf documentation
configure: WARNING: getopt.h: section "Present But Cannot Be Compiled"
configure: WARNING: getopt.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to ppl-devel@cs.unipr.it ##
configure: WARNING: ## ------------------------------------ ##
checking for getopt.h... no
checking signal.h usability... no
checking signal.h presence... yes
configure: WARNING: signal.h: present but cannot be compiled
configure: WARNING: signal.h: check for missing prerequisite headers?
configure: WARNING: signal.h: see the Autoconf documentation
configure: WARNING: signal.h: section "Present But Cannot Be Compiled"
configure: WARNING: signal.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to ppl-devel@cs.unipr.it ##
configure: WARNING: ## ------------------------------------ ##
checking for signal.h... no
checking for string.h... (cached) no
checking for strings.h... (cached) no
checking sys/resource.h usability... no
checking sys/resource.h presence... yes
configure: WARNING: sys/resource.h: present but cannot be compiled
configure: WARNING: sys/resource.h: check for missing prerequisite headers?
configure: WARNING: sys/resource.h: see the Autoconf documentation
configure: WARNING: sys/resource.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/resource.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to ppl-devel@cs.unipr.it ##
configure: WARNING: ## ------------------------------------ ##
checking for sys/resource.h... no
checking sys/time.h usability... no
checking sys/time.h presence... yes
configure: WARNING: sys/time.h: present but cannot be compiled
configure: WARNING: sys/time.h: check for missing prerequisite headers?
configure: WARNING: sys/time.h: see the Autoconf documentation
configure: WARNING: sys/time.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/time.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to ppl-devel@cs.unipr.it ##
configure: WARNING: ## ------------------------------------ ##
checking for sys/time.h... no
checking for sys/types.h... (cached) no
checking for unistd.h... (cached) no
checking whether ffs is declared... no
checking whether getenv is declared... no
checking whether strtof is declared... no
checking whether strtod is declared... no
checking whether strtold is declared... no
checking whether strtoll is declared... no
checking whether strtoull is declared... no
checking whether fma is declared... no
checking whether fmaf is declared... no
checking whether fmal is declared... no
checking whether rintf is declared... no
checking whether rintl is declared... no
checking for int_fast16_t... no
checking for int_fast32_t... no
checking for int_fast64_t... no
checking for uint_fast16_t... no
checking for uint_fast32_t... no
checking for uint_fast64_t... no
checking for uintptr_t... no
checking for the GMP library version 4.1.3 or above... no
configure: error: Cannot find GMP version 4.1.3 or higher.
GMP is the GNU Multi-Precision library:
see http://www.swox.com/gmp/ for more information.
When compiling the GMP library, do not forget to enable the C++ interface:
add --enable-cxx to the configuration options.
make: *** [/home/vicente/vdr/vdr-NG-EM/VDR-NG-EM-trunk/m7x0_xtc_uclibc_Linux-x86_64/stagefiles/.ppl_host_configured] Error 1
vicente@PC-Casa:~/vdr/vdr-NG-EM/VDR-NG-EM-trunk$

¿te sirve?

jvvalero

Cantidad de envíos : 19
Fecha de inscripción : 16/07/2009

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por bittor Miér 23 Ene 2013 - 9:11

Lo primero es que la página en la que se supone hay más información (http://www.swox.com/gmp/) no funciona, pero no veo nada raro.

Este fin de semana revisaré que compila todo bien desde cero porque a lo mejor hay algún error en los parámetros usados.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por jvvalero Miér 23 Ene 2013 - 10:53

ok, intenté entrar en la página web y no funciona.
Después de que pruebes ya me dices si hay que cambiar algo.

Gracias

jvvalero

Cantidad de envíos : 19
Fecha de inscripción : 16/07/2009

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por bittor Vie 1 Feb 2013 - 20:54

Acabo de subir algunos cambios y me compila bien.

Prueba a ejecutar donde lo tuvieras bajado:
Código:
svn update
make

O si lo has borrado, vuelve a repetir los pasos de la wiki.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por jvvalero Dom 3 Feb 2013 - 22:01

He probado lo que dices y me vuelve a salir lo mismo,

checking for the GMP library version 4.1.3 or above... no
configure: error: Cannot find GMP version 4.1.3 or higher.
GMP is the GNU Multi-Precision library:
see http://www.swox.com/gmp/ for more information.
When compiling the GMP library, do not forget to enable the C++ interface:
add --enable-cxx to the configuration options.
make: *** [/home/vicente/vdr/vdr-NG-EM/VDR-NG-EM-trunk/m7x0_xtc_uclibc_Linux-x86_64/stagefiles/.ppl_host_configured] Error 1

tanto con svn update como partiendo de 0. ¿que tengo que hacer?

jvvalero

Cantidad de envíos : 19
Fecha de inscripción : 16/07/2009

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por bittor Lun 4 Feb 2013 - 9:06

Pues tendré que instalarme ese Ubuntu en una máquina virtual para detectar el problema.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por jvvalero Lun 4 Feb 2013 - 13:48

¿Con qué versión de Ubuntu te ha funcionado? En el portátil tengo otra versión anterior de ubuntu, pero no recuerdo cual. Sino igual es más fácil probar a compilar con un liveCD, supongo que se podrá también ¿no?

jvvalero

Cantidad de envíos : 19
Fecha de inscripción : 16/07/2009

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por bittor Lun 4 Feb 2013 - 16:37

Ahora ya no uso Ubuntu, pero la compilación tendría que funcionar con las últimas versiones de Ubuntu, aunque esta gente hace cambios al compilador, librerías, entorno, etc. y según la versión es incompatible con el ToolChain y tenemos que ir apañándolo.

Podrás compilar desde un LiveCD si montas un disco duro para bajar ahí todos los archivos y compilarlos o si tienes mucha RAM, pero es mejor tener un Linux instalado aunque sea en una máquina virtual, así si hay algún problema podrás retomar la compilación.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por Videre Miér 6 Feb 2013 - 22:26

Yo tengo la misma versión de Ubuntu y el mismo problema. He estado buscando entre los paquetes oficiales para resolver la dependencia sin éxito por el momento.
Videre
Videre
Desarrollador

Cantidad de envíos : 391
Fecha de inscripción : 27/09/2008

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por bittor Jue 7 Feb 2013 - 9:14

No es un problema de dependencias porque la librería gmp que tiene que usar es la que se ha compilado en el ToolChain (no la del sistema operativo) y al compilar ppl se usa "--with-gmp" con la ruta donde está, así que el problema es del configure que no encuentra al gmp.

Quizás se podría compilar instalando la librería libgmp-dev o como se llame, pero lo correcto es apañar el script configure o lo que sea que no funciona en Ubuntu para que encuentre el gmp correcto.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por Videre Jue 7 Feb 2013 - 21:46

Ah, entendido, bittor. He visto esto en hostutils.build/ppl-1.0/config.log

Código:
configure:9491: checking for the GMP library version 4.1.3 or above
configure:9580: g++ -o conftest  -g -O3 -fomit-frame-pointer -march=x86_64 -frounding-math  -I/home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86_64/include  conftest.cpp  -L/home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86_64/lib -lgmpxx -lgmp >&5
conftest.cpp:1:0: error: bad value (x86_64) for -march= switch
configure:9580: $? = 1
configure: program exited with status 1
¿Es correcto que sea mi arquitectura, o debería ser la del Gigaset?
Videre
Videre
Desarrollador

Cantidad de envíos : 391
Fecha de inscripción : 27/09/2008

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por Videre Jue 7 Feb 2013 - 22:14

Ya veo que se compila para la arquitectura del host, pero hay un problema con el x86_64 que no es válido para gcc.
http://gcc.gnu.org/ml/gcc/2006-03/msg00229.html

Lo que no sé es lo que ha cambiado para que esto deje de funcionar, pero supongo que ha sido la actualización de Ubuntu.

Voy a probar con esto:
Código:
HOST_ARCH := $(shell uname -m | sed 's/x86_64/x86-64/')
Videre
Videre
Desarrollador

Cantidad de envíos : 391
Fecha de inscripción : 27/09/2008

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por bittor Vie 8 Feb 2013 - 10:27

Estos de Ubuntu son la leche o el que haya sido que ha cambiado el nombre de la arquitectura.

Para hacer la prueba, no hace falta que cambies nada en el ToolChain, como el error lo da al ejecutar este comando:
Código:
g++ -o conftest  -g -O3 -fomit-frame-pointer -march=x86_64 -frounding-math  -I/home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86_64/include  conftest.cpp  -L/home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86_64/lib -lgmpxx -lgmp
Sería ejecutarlo en ese directorio con el -march=x86-64.

Luego si todo va bien, en lugar de cambiar la arquitectura para todos los programas es mejor hacerlo sólo para el ppl que es el que de momento ha dado el error.

Podría editarse el archivo hostutils-make-incs/ppl.mk y cambiar:
Código:
--enable-arch=$(HOST_ARCH) \
por algo así:
Código:
--enable-arch=$(subst x86_64,x86-64,$(HOST_ARCH)) \
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por Videre Vie 8 Feb 2013 - 23:20

Gracias, bittor. Ya lo tenía lanzado y me había bastante hasta llegar aquí:
Código:

echo "#!/bin/sh" > /home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86-64/bin/pngout
echo "/home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86-64/bin/pngout-static-x86-64 \$*" >> /home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86-64/bin/pngout
echo "exit 0" >> /home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86-64/bin/pngout
chmod 755 /home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86-64/bin/pngout
cp /home/mgr/src/vdr-ng-em/hostutils.build/pngout-20120530-linux-static/x86-64/pngout-static /home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86-64/bin/pngout-static-x86-64
cp: no se puede efectuar `stat' sobre «/home/mgr/src/vdr-ng-em/hostutils.build/pngout-20120530-linux-static/x86-64/pngout-static»: No existe el archivo o el directorio
make: *** [/home/mgr/src/vdr-ng-em/m7x0_xtc_uclibc_Linux-x86-64/bin/pngout] Error 1

Voy a crear un enlace sólo por ver si da errores en más sitios y luego pruebo de la manera que dices, sólo con el ppl, pero me imagino que si se pasa el HOST_ARCH al gcc en más sitios volvería a fallar. A lo mejor no hay otra solución que tener dos variables y cada una usarla para cada cosa: una para el gcc y otra para lo demás. ¡Menudo lío de nombres de arquitectura!
Videre
Videre
Desarrollador

Cantidad de envíos : 391
Fecha de inscripción : 27/09/2008

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por Videre Dom 10 Feb 2013 - 19:51

bittor, me ha funcionado tal cual decías, así que he subido el cambio tal cual. No se está usando en más sitios como argumento -march, así que este simple cambio es lo mejor.

jvvalero, si puedes actualízate y así puedes probar si a ti también se te soluciona.
Videre
Videre
Desarrollador

Cantidad de envíos : 391
Fecha de inscripción : 27/09/2008

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por bittor Lun 11 Feb 2013 - 10:04

OK.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por jvvalero Vie 1 Mar 2013 - 12:17

He probado a compilar y ha llegado casi al final, ha dado un error al generar el sistema de archivos y se ha parado, pero parece que sí que ha llegado a compilar el plugin, ya que tengo el archivo svdrpext.1.4.5.so

Ahora me falta probarlo en el Giga a ver si funciona.

jvvalero

Cantidad de envíos : 19
Fecha de inscripción : 16/07/2009

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por jvvalero Dom 3 Mar 2013 - 10:43

Lo he probado en el Giga y no lo carga, da el error:
Mar 3 10:35:01 (none) user.info vdr: [112] loading plugin: /var/vdr/lib/libvdr-svdrpext.so.1.4.5
Mar 3 10:35:01 (none) user.err vdr: [112] ERROR: O7O Toolchain-Version mismatched

¿Cómo tengo que compliar el plugin para que me coja el tootlchain correcto?

Lo que hice fue poner el código fuente del plugin en el directorio .//build/vdr-m7x0/PLUGINS/src/ y el archivo compilado me aparece en .//build/vdr-m7x0/PLUGINS/lib

lo he probado descargandome la vesion del svn 1227 que parece que es la que tiene el GIGA pero no funciona.

¿Como hay que hacerlo correctamente?

jvvalero

Cantidad de envíos : 19
Fecha de inscripción : 16/07/2009

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por bittor Miér 6 Mar 2013 - 9:03

Prueba a instalar el firmware que has compilado con el plugin incluido y no te dará ese error.
bittor
bittor
Desarrollador

Cantidad de envíos : 3661
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por jvvalero Miér 6 Mar 2013 - 19:09

El problema es que no llega a generar el FW, da error al crear el sistema de archivos.

No se puede complilar el plugin con el toochain que tiene la version 0.7?

jvvalero

Cantidad de envíos : 19
Fecha de inscripción : 16/07/2009

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por Videre Miér 6 Mar 2013 - 22:06

¿Ejecutaste el "umask 022" antes de la descarga del svn? A mi también me pasó eso.
Videre
Videre
Desarrollador

Cantidad de envíos : 391
Fecha de inscripción : 27/09/2008

Volver arriba Ir abajo

Error al compilar trunk en Ubuntu 12.04 Empty Re: Error al compilar trunk en Ubuntu 12.04

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Página 1 de 2. 1, 2  Siguiente

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.