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 



Toolchain Compile Error

3 participantes

Ir abajo

Toolchain Compile Error Empty Toolchain Compile Error

Mensaje por guybrush Jue 31 Ene 2013 - 9:16

Hello,

Yesterday I have checked out a new toolchain. Compiling stops here:

Código:
touch /home/marcus/vdr-ng-em_2013_01_31/m7x0_xtc_uclibc_Linux-i686/stagefiles/.squashfs_host_compiled
cp /home/marcus/vdr-ng-em_2013_01_31/hostutils.build/squashfs3.1-r2/squashfs-tools/mksquashfs /home/marcus/vdr-ng-em_2013_01_31/m7x0_xtc_uclibc_Linux-i686/bin/mksquashfs
rm -f /home/marcus/vdr-ng-em_2013_01_31/rootfs-squash_m740_pro.img
/home/marcus/vdr-ng-em_2013_01_31/m7x0_xtc_uclibc_Linux-i686/bin/mksquashfs /home/marcus/vdr-ng-em_2013_01_31/rootfs_dir_m740_pro /home/marcus/vdr-ng-em_2013_01_31/rootfs-squash_m740_pro.img \
      -all-root -be -noappend -noI -no-fragments -d /home/marcus/vdr-ng-em_2013_01_31/m7x0_xtc_uclibc_Linux-i686/stagefiles/file_tab.rootfs_dir_m740_pro.lst
Duplicate device table entry '/etc' in line  292
Duplicate device table entry '/lib' in line  321
FATAL ERROR:Duplicate device table entry '/usr' in line (differs) 341
make: *** [/home/marcus/vdr-ng-em_2013_01_31/rootfs-squash_m740_pro.img] Fehler 1

guybrush

Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013

Volver arriba Ir abajo

Toolchain Compile Error Empty Re: Toolchain Compile Error

Mensaje por bittor Jue 31 Ene 2013 - 16:59

You have different permissions for /usr in file_tab.rootfs_dir_m740_pro.lst file.

This is fixed running "umask 022" before svn checkout, it's explained in README -> Firmware builder for Linux

Now you can try:
Código:
rm -rf buildin prg-fw-configs
umask 022
svn update
make distclean-generate-rootfs distclean-generate-jffs2 distclean-webif distclean-mediatomb
make

If it doesn't work, run:
Código:
rm -rf rootfs-file-lists
svn update
make

This will make a complete compilation.

Another option is to edit manually file_tab.rootfs_dir_m740_pro.lst and set the correct permissions on the directories that are wrong.
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

Toolchain Compile Error Empty Re: Toolchain Compile Error

Mensaje por guybrush Vie 1 Feb 2013 - 13:01

Thank You (small mistake, big problem :-))

guybrush

Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013

Volver arriba Ir abajo

Toolchain Compile Error Empty Re: Toolchain Compile Error

Mensaje por RainerW Lun 4 Feb 2013 - 13:14

Hi,
I had the same error and followed your first recommodation.
When I now run "make" I get the following error:
Código:
(cd /home/spain/vdr-ng-em/hostutils.build/gmp-5.1.0 ; CPPFLAGS=-fexceptions \
      /home/spain/vdr-ng-em/hostutils.build/gmp-5.1.0/configure \
         --prefix=/home/spain/vdr-ng-em/m7x0_xtc_uclibc_Linux-i686 \
         --enable-static \
         --disable-shared \
         --enable-cxx \
         --enable-mpbsd)
configure: WARNING: unrecognized options: --enable-mpbsd
And then compilation ends with :
Código:
make: *** [/home/spain/vdr-ng-em/m7x0_xtc_uclibc_Linux-i686/stagefiles/.gmp_host_configured] Fehler 1
I think the problem has to do with gmp which has been updated to gmp-5.1.0 ??

Regards,

Rainer

RainerW

Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 67

Volver arriba Ir abajo

Toolchain Compile Error Empty Re: Toolchain Compile Error

Mensaje por bittor Lun 4 Feb 2013 - 16:42

Yes, gmp has been updated and now that parameter doesn't exist, but it's only a warning, not an error.

You can edit "hostutils-make-incs/gmp.mk", remove "--enable-mpbsd" and run make again.


Última edición por bittor el Lun 4 Feb 2013 - 20:43, editado 1 vez
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

Toolchain Compile Error Empty Re: Toolchain Compile Error

Mensaje por RainerW Lun 4 Feb 2013 - 16:54

hola bittor,

that did the trick, muchas gracias............

Rainer

RainerW

Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 67

Volver arriba Ir abajo

Toolchain Compile Error Empty Re: Toolchain Compile Error

Mensaje por bittor Lun 4 Feb 2013 - 20:49

I have updated SVN removing this parameter in gmp.

Thanks by notify it.
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

Toolchain Compile Error Empty Re: Toolchain Compile Error

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Volver arriba

- Temas similares

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