u-boot Fehler beim bauen

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
Tommy
Tuxboxer
Tuxboxer
Beiträge: 4332
Registriert: Dienstag 7. Mai 2002, 17:04

u-boot Fehler beim bauen

Beitrag von Tommy »

Ich hab nun mein Environment auf dem Eisfair fertig:

Ausgabe von Toolchecker falls der Fehler hier liegt:
cvs: 1.11.22
autoconf >= 2.57a: 2.59
automake >= 1.8: 1.9.2
libtool >= 1.4.2: 1.5.8
gettext >= 0.12.1: 0.14.1
make >= 3.79: 3.80
makeinfo: 4.8
tar: 1.17
bunzip2: 1.0.3
gunzip:
patch: 2.5.4
infocmp: 5.4.20040208
gcc 2.95 or >= 3.0:
g++ 2.95 or >= 3.0:
flex: version
bison: 1.875
pkg-config: 0.21
wget: 1.10.2
EDIT:

Code: Alles auswählen

eis > gcc --version
2.95.3
eis > g++ --version
2.95.3
eis >

Ansonsten fliege ich immer beim u-boot bauen raus. Distclean + neu auschecken habe ich schon probiert. Ist da irgendwas faul? Habe extra viel oben drüber mit gepostet.
patching file Makefile
patching file common/Makefile
patching file common/cmd_bootm.c
patching file common/cmd_flash.c
patching file common/cmd_net.c
patching file common/cmd_nvedit.c
patching file common/devices.c
patching file common/env_common.c
patching file common/main.c
patching file cpu/mpc8xx/cpu_init.c
patching file cpu/mpc8xx/start.S
patching file fs/Makefile
patching file fs/cramfs/cramfs.c
patching file fs/cramfs/uncompress.c
patching file fs/jffs2/compr_rtime.c
patching file fs/jffs2/compr_rubin.c
patching file fs/jffs2/compr_zlib.c
patching file fs/jffs2/jffs2_1pass.c
patching file fs/jffs2/mini_inflate.c
patching file include/cmd_confdefs.h
patching file include/commproc.h
patching file include/devices.h
patching file include/flash.h
patching file include/jffs2/load_kernel.h
patching file include/lcd.h
patching file include/version.h
patching file lib_generic/crc32.c
patching file net/bootp.c
patching file net/net.c
patching file net/tftp.c
patching file tools/Makefile
cp -pR /home/tommy/tuxbox/tuxbox-cvs/boot/u-boot-tuxbox/* u-boot-1.2.0
cp -p /home/tommy/tuxbox/tuxbox-cvs/boot/u-boot-config/u-boot.config u-boot-1.2.0/include/configs/dbox2.h
make -C u-boot-1.2.0 dbox2_config
make[2]: Entering directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0'
Configuring for dbox2 board...
make[2]: Leaving directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0'
make -C u-boot-1.2.0 CROSS_COMPILE=powerpc-tuxbox-linux-gnu- u-boot.stripped
make[2]: Entering directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0'
for dir in tools post post/cpu ; do make -C $dir _depend ; done
make[3]: Entering directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/tools'
ln -s ../common/environment.c environment.c
ln -s ../lib_generic/crc32.c crc32.c
gcc: environment.o: No such file or directory
gcc: unrecognized option `-MQ'
In file included from /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include/config.h:2,
from environment.c:28:
/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include/configs/dbox2.h:143: too many `l's in integer constant
/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include/configs/dbox2.h:230: too many `l's in integer constant
gcc: crc32.o: No such file or directory
gcc: unrecognized option `-MQ'
gcc: img2srec.o: No such file or directory
gcc: unrecognized option `-MQ'
gcc: mkimage.o: No such file or directory
gcc: unrecognized option `-MQ'
gcc: envcrc.o: No such file or directory
gcc: unrecognized option `-MQ'
In file included from /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include/config.h:2,
from envcrc.c:32:
/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include/configs/dbox2.h:143: too many `l's in integer constant
/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include/configs/dbox2.h:230: too many `l's in integer constant
gcc: gen_eth_addr.o: No such file or directory
gcc: unrecognized option `-MQ'
gcc: bmp_logo.o: No such file or directory
gcc: unrecognized option `-MQ'
gcc: mktree.o: No such file or directory
gcc: unrecognized option `-MQ'
make[3]: *** [.depend] Error 1
make[3]: Leaving directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/tools'
make[3]: Entering directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/post'
make[3]: Leaving directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/post'
make[3]: Entering directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/post'
make[3]: Nothing to be done for `_depend'.
make[3]: Leaving directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/post'
make[3]: Entering directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/post/cpu'
make[3]: Leaving directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/post/cpu'
make[3]: Entering directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/post/cpu'
make[3]: Nothing to be done for `_depend'.
make[3]: Leaving directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/post/cpu'
make -C tools all
make[3]: Entering directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/tools'
gcc -Wall -pedantic -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include2 -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -DTEXT_BASE=0x40000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include2 -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -DTEXT_BASE=0x40000 -DUSE_HOSTCC -O -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -pedantic -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include2 -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -DTEXT_BASE=0x40000 -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c
gcc -g -Wall -pedantic -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include2 -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -DTEXT_BASE=0x40000 -DUSE_HOSTCC -O -c -o crc32.o crc32.c
gcc -Wall -pedantic -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include2 -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -DTEXT_BASE=0x40000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o
strip mkimage
gcc -g -Wall -pedantic -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include2 -idirafter /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include -DTEXT_BASE=0x40000 -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c
In file included from /home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include/config.h:2,
from envcrc.c:32:
/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include/configs/dbox2.h:143: too many `l's in integer constant
/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/include/configs/dbox2.h:230: too many `l's in integer constant
make[3]: *** [envcrc.o] Error 1
make[3]: Leaving directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0/tools'
make[2]: *** [tools] Error 2
make[2]: Leaving directory `/home/tommy/tuxbox/tuxbox-cvs/cdk/u-boot-1.2.0'
make[1]: *** [u-boot-1.2.0/u-boot.stripped] Error 2
make[1]: Leaving directory `/home/tommy/tuxbox/tuxbox-cvs/cdk'
make: *** [/home/tommy/tuxbox/dbox2/cdkflash/squashfs.flfs1x] Error 2
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Beitrag von Token »

tommy bei mir sieht das so aus:

cvs: 1.12.13
autoconf >= 2.57a: 2.61
automake >= 1.8: 1.10
libtool >= 1.4.2: 1.5.24
gettext >= 0.12.1: 0.16.1
make >= 3.79: 3.81
makeinfo: 4.8
tar: 1.18
bunzip2: 1.0.4
gunzip:
patch: 2.5.9
infocmp: 5.6.20070716
gcc 2.95 or >= 3.0: 4.1.3
g++ 2.95 or >= 3.0: 4.1.3
flex: 2.5.33
bison: 2.3
pkg-config: 0.22
wget: 1.10.2

... sehe grad gcc und g++ hat die 2.95.3 ... vielleicht ist hier schon der version mismatch ? (2.95 ist nicht 2.95.3)
... kannst du auf V4.x.x upgraden ?

cu token
sagem-avia600_enx-1xi-cable-telecom
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Beitrag von Token »

... was mir nicht gefaellt ist das hier:

ln -s ../common/environment.c environment.c
ln -s ../lib_generic/crc32.c crc32.c
gcc: environment.o: No such file or directory
gcc: unrecognized option `-MQ'

er moniert einmal den gcc mit der -MQ option selber, und einmal die fehlenden object-files ... werden die bei dir ueberhaupt compiled ?

cu token
sagem-avia600_enx-1xi-cable-telecom
dietmarw
Contributor
Beiträge: 1833
Registriert: Mittwoch 10. April 2002, 15:39

Beitrag von dietmarw »

evtl. ist die 2.95 inzwischen wirklich ein bissl alt,
nur da eh keiner mehr damit compiliert hat es niemand gemerkt ;)
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Beitrag von Token »

ausser tommy, der muss wieder die ollen sachen vorkramen ... :)

mfg token
sagem-avia600_enx-1xi-cable-telecom
Tommy
Tuxboxer
Tuxboxer
Beiträge: 4332
Registriert: Dienstag 7. Mai 2002, 17:04

Beitrag von Tommy »

Jungs - ich als olle Linux Wunderwaffe habe es gepackt den gcc 3.4.4 auf den Eisfair zu boxen. Jetzt bin ich zumindest über die u-boot Stelle raus und es läuft wieder. Falls mal jemand einen Eisfair aufbohren will - Kurzanleitung:

Voraussetzung:
Eisfair mit devel Paket auf aktuellem Stand

Vorgehensweise update auf gcc/g++ Version 3.4.4 (ausreichend für Dbox Entwicklungsumgebung)

Code: Alles auswählen

1. in ein Verzeichnis wechseln in dem Minimum 150MB Platz sind
2. wget ftp://gd.tuwien.ac.at/gnu/gcc/releases/gcc-3.4.4/gcc-3.4.4.tar.bz2
3. tar xvfj gcc-3.4.4.tar.bz2
4. cd gcc-3.4.4
5. ./configure --prefix=/usr --with-modules=yes
6. make
7. make install
Schritt 6. dauert auf einem Celeron500 ca. 3 Stunden ;-)

BTW: jemand sollte sich den Toolchecker mal vornehmen ;-)
Tommy
Tuxboxer
Tuxboxer
Beiträge: 4332
Registriert: Dienstag 7. Mai 2002, 17:04

Beitrag von Tommy »

Sodele, nachdem ich Python noch installiert habe und auch die zlibs läufts nun auf dem Eisfair durch.

Danke Allen die geholfen haben. Zum Abschluß nochmal ein Auszug vom Toolchecker:
cvs: 1.11.22
autoconf >= 2.57a: 2.59
automake >= 1.8: 1.9.2
libtool >= 1.4.2: 1.5.8
gettext >= 0.12.1: 0.14.1
make >= 3.79: 3.80
makeinfo: 4.8
tar: 1.17
bunzip2: 1.0.3
gunzip:
patch: 2.5.4
infocmp: 5.4.20040208
gcc 2.95 or >= 3.0: 3.4.4
g++ 2.95 or >= 3.0: 3.4.4
flex: version
bison: 1.875
pkg-config: 0.21
wget: 1.10.2
---------------------------
Alle weiteren Infos findest Du im WIKI
Bitte vor dem posten Boardregeln lesen und verstehen!
Wie erstelle ich ein Bootlog? Wo finde ich die FAQ?
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Beitrag von Token »

gratulation, dann kannst ja nun loslegen.
vergiss nicht die bb-modifikationen !!!

cu token
sagem-avia600_enx-1xi-cable-telecom