Jan@jr ~/ds-0.2.8
$ 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/Jan/ds-0.2.8/source/find-squashfs'
gcc -W -Wall -O2 -c -o find-squashfs.o find-squashfs.c
gcc -o find-squashfs find-squashfs.o
make[1]: Leaving directory `/home/Jan/ds-0.2.8/source/find-squashfs'
cp source/find-squashfs/find-squashfs tools/find-squashfs
wget -P dl http://www.7-zip.org/dl/lzma406.zip
--00:55:55-- http://www.7-zip.org/dl/lzma406.zip
=> `dl/lzma406.zip'
Resolving www.7-zip.org... 69.73.182.99
Connecting to www.7-zip.org|69.73.182.99|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 185,934 (182K) [application/zip]
100%[====================================>] 185,934 63.21K/s
00:55:58 (63.06 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.*
source/lzma406/SRC/7zip/Compress/LZMA/LZMADecoder.cpp: done.
source/lzma406/SRC/7zip/Compress/LZMA/LZMADecoder.h: done.
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/Jan/ds-0.2.8/source/lzma406/SRC/7zip/Compress
/LZMA_Lib'
g++ -O3 -Wall -c ZLib.cpp
ZLib.cpp:28:18: zlib.h: No such file or directory
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_dat
a'
ZLib.cpp:54: error: `data' undeclared (first use this function)
ZLib.cpp:54: error: (Each undeclared identifier is reported only once for each f
unction it appears in.)
ZLib.cpp:54: error: `size' undeclared (first use this function)
ZLib.cpp: In member function `virtual LONG CInMemoryStream::Read(void*, UInt32,
UInt32*)':
ZLib.cpp:66: error: `m_data' undeclared (first use this function)
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' undeclared (first use this function)
ZLib.cpp: At global scope:
ZLib.cpp:183: error: expected constructor, destructor, or type conversion before
"int"
ZLib.cpp:183: error: expected `,' or `;' before "int"
ZLib.cpp:246: error: expected constructor, destructor, or type conversion before
"int"
ZLib.cpp:246: error: expected `,' or `;' before "int"
make[1]: *** [ZLib.o] Error 1
make[1]: Leaving directory `/home/Jan/ds-0.2.8/source/lzma406/SRC/7zip/Compress/
LZMA_Lib'
make: *** [source/lzma406/SRC/7zip/Compress/LZMA_Lib/liblzma.a] Error 2
Jan@jr ~/ds-0.2.8
$