Aktuelles CVS CDK läuft durch, rel_1_0_0 nicht

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
Nano_X
Beiträge: 2
Registriert: Mittwoch 8. Dezember 2004, 11:33

Aktuelles CVS CDK läuft durch, rel_1_0_0 nicht

Beitrag von Nano_X »

Hallo,

das aktuelle CDK aus dem CVS läuft bei mir inzwischen ohne Probleme auf einem Debian Sarge (RC2) durch.

Leider habe ich Probleme beim Branch rel_1_0_0. (siehe unten).

"Configure" habe ich mit folgenden Optionen laufen lassen:

Code: Alles auswählen

--prefix=$HOME/rel100-dream --with-cvsdir=$HOME/rel100 --enable-maintainer-mode --with-hostruleset=standard --with-hardwareruleset=dreambox --with-targetruleset=flash

Code: Alles auswählen

make[2]: Entering directory `/home/nano/rel100/cdk/build/ld'
make  all-recursive
make[3]: Entering directory `/home/nano/rel100/cdk/build/ld'
Making all in po
make[4]: Entering directory `/home/nano/rel100/cdk/build/ld/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/nano/rel100/cdk/build/ld/po'
make[4]: Entering directory `/home/nano/rel100/cdk/build/ld'
/bin/sh ../../binutils-2.13.90.0.16/ld/../ylwrap "bison -y" ../../binutils-2.13.90.0.16/ld/ldgram.y y.tab.c ldgram.c y.tab.h ldgram.h --  -d
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.13.90.0.16/ld -I. -D_GNU_SOURCE -I. -I../../binutils-2.13.90.0.16/ld -I../bfd -I../../binutils-2.13.90.0.16/ld/../bfd -I../../binutils-2.13.90.0.16/ld/../include -I../../binutils-2.13.90.0.16/ld/../intl -I../intl  -g -O2 -DLOCALEDIR="\"/home/nano/rel100-dream/cdk/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ldgram.c
flex   ../../binutils-2.13.90.0.16/ld/ldlex.l && mv lex.yy.c ldlex.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.13.90.0.16/ld -I. -D_GNU_SOURCE -I. -I../../binutils-2.13.90.0.16/ld -I../bfd -I../../binutils-2.13.90.0.16/ld/../bfd -I../../binutils-2.13.90.0.16/ld/../include -I../../binutils-2.13.90.0.16/ld/../intl -I../intl  -g -O2 -DLOCALEDIR="\"/home/nano/rel100-dream/cdk/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ldlex.c
lex.yy.c:3467: warning: no previous prototype for `yyget_lineno'
lex.yy.c:3476: warning: no previous prototype for `yyget_in'
lex.yy.c:3484: warning: no previous prototype for `yyget_out'
lex.yy.c:3492: warning: no previous prototype for `yyget_leng'
lex.yy.c:3501: warning: no previous prototype for `yyget_text'
lex.yy.c:3510: warning: no previous prototype for `yyset_lineno'
lex.yy.c:3522: warning: no previous prototype for `yyset_in'
lex.yy.c:3527: warning: no previous prototype for `yyset_out'
lex.yy.c:3532: warning: no previous prototype for `yyget_debug'
lex.yy.c:3537: warning: no previous prototype for `yyset_debug'
lex.yy.c:3543: warning: no previous prototype for `yylex_destroy'
../../binutils-2.13.90.0.16/ld/ldlex.l: In function `yy_input':
../../binutils-2.13.90.0.16/ld/ldlex.l:615: error: `yy_current_buffer' undeclared (first use in this function)
../../binutils-2.13.90.0.16/ld/ldlex.l:615: error: (Each undeclared identifier is reported only once
../../binutils-2.13.90.0.16/ld/ldlex.l:615: error: for each function it appears in.)
../../binutils-2.13.90.0.16/ld/ldlex.l: At top level:
lex.yy.c:2975: warning: `yyunput' defined but not used
make[4]: *** [ldlex.o] Error 1
make[4]: Leaving directory `/home/nano/rel100/cdk/build/ld'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/nano/rel100/cdk/build/ld'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/nano/rel100/cdk/build/ld'
make[1]: *** [all-ld] Error 2
make[1]: Leaving directory `/home/nano/rel100/cdk/build'
make: *** [.binutils] Error 2
Habe ne DM5620S und möchte den PPC Kernel 2.4.20 mit entsprechenden Patches kompilieren. Leider geht das wohl nur mit einem älteren GCC (3.2.3), da es sonst zu Fehlern kommt. (siehe hier http://www.dream-multimedia-tv.de/board ... =8764&sid=)

Was würdet Ihr mir denn empfehlen?

1) rel_1_0_0 zum Laufen bringen

2) Aktuelles CVS CDK nehmen und GCC 3.2.3 einbauen

3) ?

Gruss,

Nano
Nano_X
Beiträge: 2
Registriert: Mittwoch 8. Dezember 2004, 11:33

Beitrag von Nano_X »

Hallo nochmal!

Habe folgendes gefunden zu meinem Fehler beim CDK rel_1_0_0:

http://www.hjackson.org/cgi-bin/programming/flex.pl

Es liegt wohl an meiner zu neuen Flex Version (2.5.31-27).
Ich musste unter Sarge das flex-old package installieren. (Version 2.5.4)

Jetzt läuft es durch!

Im INSTALL Readme stand leider nichts von einer speziellen Flex Version.