Fehler bei ZLib.cpp

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
Mourice

Fehler bei ZLib.cpp

Beitrag von Mourice »

Hallo,

ich brauche mal wieder Hilfe.

Bin von VMware Linux umgestiegen auf ein "echtes" Linux - Kubuntu 9.10.

Habe dann das Check-Tool von Dietmarw benutzt, um die noch fehlenden Pakete nachzuinstallieren.

Dann neu ausgecheckt und autogen, configure und make flash-neutrino .....

Und dann bricht er das Bauen ab. Vielleicht hat ja jemand einen Tipp für mich. (entschuldigt das Log wegen den Umlauten - habe es mit Vi erstellt)

2009-11-06 10:21:27 (268 KB/s) - »/home/newmake/Archive/lzma442.tar.bz2« gespeichert [183872/183872]

rm -rf mksquashfs
mkdir -p mksquashfs
cd mksquashfs && \
gunzip -cd /home/newmake/Archive/squashfs3.0.tar.gz | TAPE=- tar -x
cd mksquashfs && \
bunzip2 -cd /home/newmake/Archive/lzma442.tar.bz2 | TAPE=- tar -x && \
patch -p1 < ../Patches/lzma_zlib-stream.diff && \
patch -p0 < ../Patches/mksquashfs_lzma.diff
patching file C/7zip/Compress/LZMA/LZMADecoder.cpp
patching file C/7zip/Compress/LZMA/LZMADecoder.h
patching file C/7zip/Compress/LZMA_Lib/makefile
patching file C/7zip/Compress/LZMA_Lib/ZLib.cpp
patching file squashfs3.0/squashfs-tools/Makefile
make -C mksquashfs/C/7zip/Compress/LZMA_Lib
make[1]: Betrete Verzeichnis '/home/newmake/tuxbox-cvs/cdk/mksquashfs/C/7zip/Compress/LZMA_Lib'
g++ -O3 -Wall -c -I ../../../ ZLib.cpp
ZLib.cpp:28:18: error: zlib.h: No such file or directory
ZLib.cpp:53: error: ISO C++ forbids declaration of ‘Bytef’ with no type
ZLib.cpp:53: error: expected ‘,’ or ‘...’ before ‘*’ token
ZLib.cpp:108: error: ISO C++ forbids declaration of ‘Bytef’ with no type
ZLib.cpp:108: error: expected ‘;’ before ‘*’ token
ZLib.cpp: In constructor ‘CInMemoryStream::CInMemoryStream(int)’:
ZLib.cpp:54: error: class ‘CInMemoryStream’ does not have any field named ‘m_data’
ZLib.cpp:54: error: ‘data’ was not declared in this scope
ZLib.cpp:54: error: ‘size’ was not declared in this scope
ZLib.cpp: In member function ‘virtual LONG CInMemoryStream::Read(void*, UInt32, UInt32*)’:
ZLib.cpp:66: error: ‘m_data’ was not declared in this scope
ZLib.cpp: At global scope:
ZLib.cpp:118: error: expected ‘)’ before ‘*’ token
ZLib.cpp:177: error: ISO C++ forbids declaration of ‘Bytef’ with no type
ZLib.cpp:177: error: expected ‘;’ before ‘*’ token
ZLib.cpp: In member function ‘virtual LONG COutMemoryStream::Write(const void*, UInt32, UInt32*)’:
ZLib.cpp:130: error: ‘m_data’ was not declared in this scope
ZLib.cpp: At global scope:
ZLib.cpp:183: error: expected constructor, destructor, or type conversion before ‘int’
make[1]: *** [ZLib.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/newmake/tuxbox-cvs/cdk/mksquashfs/C/7zip/Compress/LZMA_Lib'
make: *** [/home/newmake/dbox2/cdk/bin/mksquashfs-lzma] Fehler 2

Gruss
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler bei ZLib.cpp

Beitrag von rhabarber1848 »

Mourice hat geschrieben:ZLib.cpp:28:18: error: zlib.h: No such file or directory
apt-get install zlib1g-dev
Mourice

Re: Fehler bei ZLib.cpp

Beitrag von Mourice »

ich danke Dir .... genau das war es.

Jetzt läuft alles, wie früher. Nur schneller ...

Gruss
Striper
Erleuchteter
Erleuchteter
Beiträge: 625
Registriert: Samstag 8. September 2007, 16:17

Re: Fehler bei ZLib.cpp

Beitrag von Striper »

Mourice hat geschrieben:Jetzt läuft alles, wie früher. Nur schneller ...
Mindestens! ;)