Hallo zusammen,
ich würde auch gerne den ds-mod 0.2.5 (heute runtergeladen) benutzen, weil
ich diese Funktinen jetzt schon lange gesucht habe.
Allerdings habe ich noch nie crosscompiled - vielleicht mache ich deswegen schon prinzipiell was falsch?
Ich habe eine 7050 von 1und1 mit aktueller FW 14.04.01.
Ich will unter Ubuntu Breezy (5.10) ds-mod kompilieren.
Mein Problem fängt allerdings schon beim Kompilieren an: ich wähle in menuconfig abweichend von der Standardvorgabe folgendes aus:
Entferne Remove Help und Assistent
Package: dnsmasq 2.26, dropbear 0.48.1
Extensions: firewall, syslogd und wol-cgi
dann mache ich make und bekomme folgende ausgabe:
Code:tommy@obelix:~/ds/ds-0.2.5$ make tar -C source -xjf tools/source/find-squashfs.tar.bz2 touch source/find-squashfs/.unpacked make CC="gcc" LD="ld -static" \ -C source/find-squashfs make[1]: Entering directory `/home/tommy/ds/ds-0.2.5/source/find-squashfs' gcc -W -Wall -O2 -c -o find-squashfs.o find-squashfs.c find-squashfs.c:27:19: warning: multi-character character constant gcc -o find-squashfs find-squashfs.o make[1]: Leaving directory `/home/tommy/ds/ds-0.2.5/source/find-squashfs' cp source/find-squashfs/find-squashfs tools/find-squashfs wget -P dl http://www.7-zip.org/dl/lzma406.zip --21:32:49-- http://www.7-zip.org/dl/lzma406.zip => `dl/lzma406.zip' Resolving www.7-zip.org... 69.73.175.23 Connecting to www.7-zip.org|69.73.175.23|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 185,934 (182K) [application/zip] 100%[============================================================================>] 185,934 136.91K/s 21:32:51 (136.55 KB/s) - `dl/lzma406.zip' saved [185934/185934] unzip -q dl/lzma406.zip -d source/lzma406 chmod -R +w source/lzma406 dos2unix source/lzma406/SRC/7zip/Compress/LZMA/LZMADecoder.* for i in tools/make/patches/*.lzma.patch; do \ patch -d source/lzma406 -p0 < $i; \ done patching file SRC/7zip/Compress/LZMA/LZMADecoder.cpp patching file SRC/7zip/Compress/LZMA/LZMADecoder.h patching file SRC/7zip/Compress/LZMA_Lib/makefile patching file SRC/7zip/Compress/LZMA_Lib/ZLib.cpp touch source/lzma406/.unpacked make CXX="g++ -O3 -Wall" AR="ar" \ -C source/lzma406/SRC/7zip/Compress/LZMA_Lib make[1]: Entering directory `/home/tommy/ds/ds-0.2.5/source/lzma406/SRC/7zip/Compress/LZMA_Lib' g++ -O3 -Wall -c ZLib.cpp ZLib.cpp:28:18: error: zlib.h: No such file or directory ../../../Common/MyWindows.h:120: warning: 'struct IUnknown' has virtual functions but non-virtual destructor ../LZMA/../../IStream.h:14: warning: 'struct ISequentialInStream' has virtual functions but non-virtual destructor ../LZMA/../../IStream.h:32: warning: 'struct ISequentialOutStream' has virtual functions but non-virtual destructor ../LZMA/../../IStream.h:43: warning: 'struct IInStream' has virtual functions but non-virtual destructor ../LZMA/../../IStream.h:53: warning: 'struct IOutStream' has virtual functions but non-virtual destructor ../LZMA/../../IStream.h:64: warning: 'struct IStreamGetSize' has virtual functions but non-virtual destructor ../LZMA/../../IStream.h:74: warning: 'struct IOutStreamFlush' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:13: warning: 'struct ICompressProgressInfo' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:22: warning: 'struct ICompressCoder' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:35: warning: 'struct ICompressCoder2' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:69: warning: 'struct ICompressSetCoderProperties' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:79: warning: 'struct ICompressSetDecoderProperties' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:88: warning: 'struct ICompressWriteCoderProperties' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:97: warning: 'struct ICompressGetInStreamProcessedSize' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:106: warning: 'struct ICompressGetSubStreamSize' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:115: warning: 'struct ICompressSetInStream' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:124: warning: 'struct ICompressSetOutStream' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:133: warning: 'struct ICompressSetInStreamSize' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:142: warning: 'struct ICompressSetOutStreamSize' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:151: warning: 'struct ICompressFilter' has virtual functions but non-virtual destructor ../LZMA/../../ICoder.h:166: warning: 'struct ICryptoProperties' has virtual functions but non-virtual destructor ../LZMA/../LZ/IMatchFinder.h:11: warning: 'struct IInWindowStream' has virtual functions but non-virtual destructor ../LZMA/../LZ/IMatchFinder.h:26: warning: 'struct IMatchFinder' has virtual functions but non-virtual destructor ../LZMA/../LZ/IMatchFinder.h:38: warning: 'struct IMatchFinderCallback' has virtual functions but non-virtual destructor ../LZMA/../LZ/IMatchFinder.h:48: warning: 'struct IMatchFinderSetCallback' has virtual functions but non-virtual destructor ZLib.cpp:53: error: expected ',' or '...' before '*' token ZLib.cpp:53: error: ISO C++ forbids declaration of 'Bytef' with no type 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' ZLib.cpp:246: error: expected constructor, destructor, or type conversion before 'int' make[1]: *** [ZLib.o] Error 1 make[1]: Leaving directory `/home/tommy/ds/ds-0.2.5/source/lzma406/SRC/7zip/Compress/LZMA_Lib' make: *** [source/lzma406/SRC/7zip/Compress/LZMA_Lib/liblzma.a] Error 2 t
Da scheint entweder was beim DL oder patchen falsch zu laufen oder es passt
nicht zueinander.
Oder suche ich an der völlig falschen Stelle?
Ich wäre sehr dankbar, wenn mir jemand helfen könnte.![]()
Viele Grüße
Thomas





