ZenHAX
http://zenhax.com/

Compiling QuickBMS on Ubuntu 14.04
http://zenhax.com/viewtopic.php?f=13&t=1742
Page 1 of 2

Author:  crushedice2000 [ Mon Nov 09, 2015 9:35 pm ]
Post subject:  Compiling QuickBMS on Ubuntu 14.04

Hi! I'm trying to compile QuickBMS on Ubuntu 14.04 but when I type make I get this output:

Code:
cc quickbms.c -m32 -s -O0 -fstack-protector-all -fno-unit-at-a-time -fno-omit-frame-pointer -o quickbms \
   \
   -D_7ZIP_ST \
   \
   compression/*.c* encryption/*.c* extra/mem2mem.c libs/lzma/LzmaDec.c libs/lzma/Lzma2Dec.c libs/lzma/Bra86.c libs/lzma/LzFind.c libs/lzma/LzmaEnc.c libs/lzma/Lzma2Enc.c libs/mspack/*.c libs/ppmd/*.cpp libs/aplib/depacks.c libs/brieflz/depacks.c libs/brieflz/brieflz.c compression/jcalg1_static.lib libs/zziplib/*.c libs/bcl/*.c libs/szip/*.c libs/lzhl/*.cpp libs/tdcb/*.c libs/libkirk/*.c libs/7z_advancecomp/*.cc libs/iris/*.cpp libs/old_cabextract/lzx.c libs/mrci/*.cpp libs/lz4/*.c libs/snappy/snappy.cc libs/snappy/snappy-c.cc libs/snappy/snappy-stubs-internal.cc libs/snappy/snappy-sinksource.cc libs/mmini/mmini_huffman.c libs/mmini/mmini_lzl.c libs/clzw/lzw-dec.c libs/clzw/lzw-enc.c libs/lzlib/lzlib.c libs/blosc/blosclz.c libs/gipfeli/*.cc libs/liblzg/src/lib/decode.c libs/liblzg/src/lib/encode.c libs/liblzg/src/lib/checksum.c libs/doboz/*.cpp libs/tornado/Tornado.cpp libs/amiga/* libs/tornado/Common.cpp libs/sphlib/c/*.c libs/shadowforce/*.cpp libs/zstd/*.c libs/zstd/legacy/*.c -Ilibs/zstd/legacy libs/azo/unAZO.cpp libs/azo/Decoder/MainCodeD.cpp libs/azo/Common/x86Filter.cpp libs/nintendo_ds/*.c libs/ctw/*.c libs/grzip/libgrzip.c libs/heatshrink/heatshrink_decoder.c libs/heatshrink/heatshrink_encoder.c libs/libzling/src/*.cpp  -Ilibs/ecrypt/include -Ilibs/libcsc -D_7Z_TYPES_ libs/libcsc/csc_dec.cpp libs/libcsc/csc_filters.cpp libs/libcsc/csc_memio.cpp -DDENSITY_FORCE_INLINE=inline -Drestrict=__restrict__ libs/density/src/*.c libs/density/src/spookyhash/src/*.c libs/brotli/*.c libs/libbsc/adler32/adler32.cpp libs/libbsc/bwt/bwt.cpp libs/libbsc/bwt/divsufsort/divsufsort.c libs/libbsc/coder/coder.cpp libs/libbsc/coder/qlfc/qlfc.cpp libs/libbsc/coder/qlfc/qlfc_model.cpp libs/libbsc/filters/detectors.cpp libs/libbsc/filters/preprocessing.cpp libs/libbsc/libbsc/libbsc.cpp libs/libbsc/lzp/lzp.cpp libs/libbsc/platform/platform.cpp libs/libbsc/st/st.cpp libs/shoco/shoco.c libs/ms-compress/src/*.cpp libs/lzjody/lzjody.c libs/lzjody/byteplane_xfrm.c disasm/disasm.c disasm/cmdlist.c disasm/assembl/assembl.c libs/mydownlib/mydownlib.c libs/TurboRLE/trlec.c libs/TurboRLE/trled.c libs/TurboRLE/mrle.c libs/lhasa/lib/*_decoder.c libs/lhasa/lib/crc16.c libs/dipperstein/*.c libs/liblzf/lzf_d.c libs/liblzf/lzf_c_best.c libs/zopfli/*.c libs/lzham_codec/lzhamcomp/*.cpp libs/lzham_codec/lzhamdecomp/*.cpp libs/lzham_codec/lzhamlib/*.cpp -Ilibs/lzham_codec/include -Ilibs/lzham_codec/lzhamcomp -Ilibs/lzham_codec/lzhamdecomp -DLZHAM_ANSI_CPLUSPLUS libs/dmsdos/*.c \
   \
   -lstdc++ -ldl -lcrypto -lssl -lz -lbz2 -lstdc++ -lm -lpthread -llzo2 -DDISABLE_UCL -DDISABLE_MCRYPT -DDISABLE_TOMCRYPT
In file included from quickbms.c:108:0:
/usr/include/zlib.h:34:19: fatal error: zconf.h: No existe el archivo o el directorio
 #include "zconf.h"
                   ^
compilation terminated.


It seems to fail because it can't find zconf.h when trying to find it on /usr/include
When I type locate zconf.h it says that there is a existing header file on /usr/include/x86_64-linux-gnu/zconf.h
I suspect that this is because the include says "zconf.h" instead of <zconf.h> and then gcc will not search on any include path but the base directory where zlib.h is located (/usr/include)

Should I edit /usr/include/zlib.h?

Author:  aluigi [ Tue Nov 10, 2015 9:31 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

sudo ln -s /usr/include/x86_64-linux-gnu/zconf.h /usr/include

It's a bug of Ubuntu, you can find more posts by searching: ubuntu zlib zconf.h on google

Author:  crushedice2000 [ Tue Nov 10, 2015 9:42 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

aluigi wrote:
sudo ln -s /usr/include/x86_64-linux-gnu/zconf.h /usr/include

It's a bug of Ubuntu, you can find more posts by searching: ubuntu zlib zconf.h on google


I've tried it already, but it then says this:

Code:
cc quickbms.c -m32 -s -O0 -fstack-protector-all -fno-unit-at-a-time -fno-omit-frame-pointer -o quickbms \
   \
   -D_7ZIP_ST \
   \
   compression/*.c* encryption/*.c* extra/mem2mem.c libs/lzma/LzmaDec.c libs/lzma/Lzma2Dec.c libs/lzma/Bra86.c libs/lzma/LzFind.c libs/lzma/LzmaEnc.c libs/lzma/Lzma2Enc.c libs/mspack/*.c libs/ppmd/*.cpp libs/aplib/depacks.c libs/brieflz/depacks.c libs/brieflz/brieflz.c compression/jcalg1_static.lib libs/zziplib/*.c libs/bcl/*.c libs/szip/*.c libs/lzhl/*.cpp libs/tdcb/*.c libs/libkirk/*.c libs/7z_advancecomp/*.cc libs/iris/*.cpp libs/old_cabextract/lzx.c libs/mrci/*.cpp libs/lz4/*.c libs/snappy/snappy.cc libs/snappy/snappy-c.cc libs/snappy/snappy-stubs-internal.cc libs/snappy/snappy-sinksource.cc libs/mmini/mmini_huffman.c libs/mmini/mmini_lzl.c libs/clzw/lzw-dec.c libs/clzw/lzw-enc.c libs/lzlib/lzlib.c libs/blosc/blosclz.c libs/gipfeli/*.cc libs/liblzg/src/lib/decode.c libs/liblzg/src/lib/encode.c libs/liblzg/src/lib/checksum.c libs/doboz/*.cpp libs/tornado/Tornado.cpp libs/amiga/* libs/tornado/Common.cpp libs/sphlib/c/*.c libs/shadowforce/*.cpp libs/zstd/*.c libs/zstd/legacy/*.c -Ilibs/zstd/legacy libs/azo/unAZO.cpp libs/azo/Decoder/MainCodeD.cpp libs/azo/Common/x86Filter.cpp libs/nintendo_ds/*.c libs/ctw/*.c libs/grzip/libgrzip.c libs/heatshrink/heatshrink_decoder.c libs/heatshrink/heatshrink_encoder.c libs/libzling/src/*.cpp  -Ilibs/ecrypt/include -Ilibs/libcsc -D_7Z_TYPES_ libs/libcsc/csc_dec.cpp libs/libcsc/csc_filters.cpp libs/libcsc/csc_memio.cpp -DDENSITY_FORCE_INLINE=inline -Drestrict=__restrict__ libs/density/src/*.c libs/density/src/spookyhash/src/*.c libs/brotli/*.c libs/libbsc/adler32/adler32.cpp libs/libbsc/bwt/bwt.cpp libs/libbsc/bwt/divsufsort/divsufsort.c libs/libbsc/coder/coder.cpp libs/libbsc/coder/qlfc/qlfc.cpp libs/libbsc/coder/qlfc/qlfc_model.cpp libs/libbsc/filters/detectors.cpp libs/libbsc/filters/preprocessing.cpp libs/libbsc/libbsc/libbsc.cpp libs/libbsc/lzp/lzp.cpp libs/libbsc/platform/platform.cpp libs/libbsc/st/st.cpp libs/shoco/shoco.c libs/ms-compress/src/*.cpp libs/lzjody/lzjody.c libs/lzjody/byteplane_xfrm.c disasm/disasm.c disasm/cmdlist.c disasm/assembl/assembl.c libs/mydownlib/mydownlib.c libs/TurboRLE/trlec.c libs/TurboRLE/trled.c libs/TurboRLE/mrle.c libs/lhasa/lib/*_decoder.c libs/lhasa/lib/crc16.c libs/dipperstein/*.c libs/liblzf/lzf_d.c libs/liblzf/lzf_c_best.c libs/zopfli/*.c libs/lzham_codec/lzhamcomp/*.cpp libs/lzham_codec/lzhamdecomp/*.cpp libs/lzham_codec/lzhamlib/*.cpp -Ilibs/lzham_codec/include -Ilibs/lzham_codec/lzhamcomp -Ilibs/lzham_codec/lzhamdecomp -DLZHAM_ANSI_CPLUSPLUS libs/dmsdos/*.c \
   \
   -lstdc++ -ldl -lcrypto -lssl -lz -lbz2 -lstdc++ -lm -lpthread -llzo2 -DDISABLE_UCL -DDISABLE_MCRYPT -DDISABLE_TOMCRYPT
quickbms.c:114:26: fatal error: lzo/lzo1.h: No existe el archivo o el directorio
     #include <lzo/lzo1.h>
                          ^
compilation terminated.

Author:  aluigi [ Tue Nov 10, 2015 9:49 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

I'm sure that in quickbms.txt there is an example apt-get command-line to resolve the few dependencies of quickbms.

Author:  crushedice2000 [ Tue Nov 10, 2015 10:07 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

aluigi wrote:
I'm sure that in quickbms.txt there is an example apt-get command-line to resolve the few dependencies of quickbms.


Sorry. I feel a bit supid! Yes, I've found the dependencies on quickbms.txt
However, I also needed to run apt-get install libssl-dev:i386 libbz2-dev:i386 liblzo2-dev:i386

After seeing a lot of C warnings :P... It woked!
Thanks!

Author:  aluigi [ Tue Nov 10, 2015 10:22 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Good info, I will add that additional apt-get in quickbms.txt in case other people have problems too.

Author:  crushedice2000 [ Tue Nov 10, 2015 10:27 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

aluigi wrote:
Good info, I will add that additional apt-get in quickbms.txt in case other people have problems too.


It seems to be because I have a 64bit machine. What about adding a configure script?

Off-topic: How can I add inline code? I want to highlight tome code and now I'm adding bold, but this is ugly. :?

Author:  aluigi [ Tue Nov 10, 2015 11:00 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

I don't think it's necessary a configure script.
After you have those few dependencies you need nothing else and a make does the job on the fly.

Regarding the phpbb codes take a look here:
https://www.phpbb.com/community/faq.php?mode=bbcode

Author:  crushedice2000 [ Tue Nov 10, 2015 11:05 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Thanks! I'm a Markdown user and these BB codes seems weird. ;)

Author:  aluigi [ Tue Nov 10, 2015 11:11 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Never used a phpbb forum till now?!? Really?

Author:  crushedice2000 [ Tue Nov 10, 2015 11:17 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

I'm not user of phpBB since 3 years ago. And I ever used plain text :shock:

Author:  Savage [ Fri Jun 24, 2016 1:53 pm ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Compiling latest quickbms in xbuntu/debian/mint 64 bits

sudo ln -s /usr/include/x86_64-linux-gnu/zconf.h /usr/include

sudo apt-get install libssl-dev:i386 libbz2-dev:i386 liblzo2-dev:i386 gcc-4.9-multilib g++-4.9-multilib g++-multilib

cd src
make

And that's it :D

Author:  aluigi [ Fri Jun 24, 2016 2:42 pm ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Well done.

Author:  Savage [ Sat Jan 28, 2017 12:41 pm ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Here is the compiled 0.7.7 version for 32 bits, works with 64 bits too, tested under Linux Mint 18.1 (32 and 64 bits), read the file readme_linux.txt

quickbms.0.7.7.linux.v2.x86.7z (1.6 MB)
https://mega.nz/#!Kt9VFBpL!j7iftC1K5KvV ... 9bll9RXhn4

Created new version.

Changelog:

Quote:
v 1.0 [01-28-2017]
---
-Created first version of the quickbms 0.7.7, needs the external library liblzo2.so (added)
-Created a small installer for the library
--
V 2.0 [01-28-2017]
--
-Modified the Makefile for the external library liblzo2.so, now is compiled internally and static


Here are the changes of the Makefile, previosly you need to compile the LZO program, i will post a small manual HOW-TO later
Code:
CFLAGS  += -m32 -s -O0 -fstack-protector-all -fno-unit-at-a-time -fno-omit-frame-pointer -w -L./liblzo2
CLIBS   += -lstdc++ -ldl -lcrypto -lssl -lz -lbz2 -lstdc++ -lm -lpthread liblzo2.a

Author:  Savage [ Tue Jan 31, 2017 3:09 pm ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Compiling Quickbms 32 bits Linux 18.1

Here is the manual, i integrated the liblzo2 in the main executable and it works great under Mint 64 bits
Quote:
wget http://oberhumer.com/opensource/lzo/dow ... .09.tar.gz
tar xvfa lzo-2.09.tar.gz
cd lzo-2.09
./configure --disable-shared --enable-static && make && cd ..
mkdir quickbms && cd quickbms && wget http://aluigi.altervista.org/papers/quickbms_src.zip && unzip quickbms_src.zip && cd src

Change this lines in the Makefile and save it

Code:
CFLAGS  += -m32 -s -O0 -fstack-protector-all -fno-unit-at-a-time -fno-omit-frame-pointer -w -L./liblzo2


Code:
CLIBS   += -lstdc++ -ldl -lcrypto -lssl -lz -lbz2 -lstdc++ -lm -lpthread liblzo2.a


cp ../../lzo-2.09/src/*.o .
cp ../../lzo-2.09/src/.libs/liblzo2.a .
sudo apt-get install zlib1g-dev libbz2-dev liblzo2-dev libssl-dev g++
make

Author:  Savage [ Wed Feb 01, 2017 2:04 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Here is an automated script wich compiles from scratch the last version of Quickbms under the last Linux Mint (18.1) or Ubuntu 32 bits

Code:
#!/bin/bash
#
# Quickbms auto compiler from scrath for Linux Mint 18.1 32 bits (v1.0.2)
#
# This version compiles the LZO libray into the main binary,
# no external libray lizblzo.so.2 is required to run, the binary compiled
# works with the 64 bits OS too
#
# Created by SAVAGE (March 6 2017)
#
# Added the parameter -DQUICKBMS64 in the CFLASH, thanks ALUIGI for the tip
#
# You can reachme at ZENHAX FORUM www.zenhax.com
#
# How to:
# sudo chmod +x quickbms32bitscompiler.sh && ./quickbms32bitscompiler.sh
#
wget http://www.oberhumer.com/opensource/lzo/download/lzo-2.09.tar.gz
tar xvfa lzo-2.09.tar.gz && cd lzo-2.09
./configure --disable-shared --enable-static && make && cd ..
mkdir quickbmsrc && cd quickbmsrc && wget http://aluigi.altervista.org/papers/quickbms_src.zip && unzip quickbms_src.zip && cd src

sed -i 's/-m32/-m32 -DQUICKBMS64/g' Makefile
sed -i 's/-w/-w -L.\/liblzo2/g' Makefile
sed -i 's/-llzo2/liblzo2.a/g' Makefile
cp ../../lzo-2.09/src/*.o .
cp ../../lzo-2.09/src/.libs/liblzo2.a .

sudo apt-get install -y zlib1g-dev libbz2-dev liblzo2-dev libssl-dev g++
make

clear
echo
echo The compiled version is at quickbmsrc/src
echo


And here is the compiled version, 1,7 Mb's

https://mega.nz/#!KwYDWJBD!cOPui3xJKw1j ... 0ciUe8Crog

Author:  Vido [ Wed Feb 22, 2017 12:10 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Im having trouble with copiling quick bms on 16.04 LTS

Code:
:~/quickbms src$ make
cc quickbms.c -m32 -s -O0 -fstack-protector-all -fno-unit-at-a-time -fno-omit-frame-pointer -w -o quickbms \
\
-D_7ZIP_ST \
\
compression/*.c* encryption/*.c* extra/mem2mem.c libs/lzma/LzmaDec.c libs/lzma/Lzma2Dec.c libs/lzma/Bra86.c libs/lzma/LzFind.c libs/lzma/LzmaEnc.c libs/lzma/Lzma2Enc.c libs/mspack/*.c libs/ppmd/*.cpp libs/aplib/depacks.c libs/brieflz/depacks.c libs/brieflz/brieflz.c compression/jcalg1_static.lib libs/zziplib/*.c libs/bcl/*.c libs/szip/*.c libs/lzhl/*.cpp libs/tdcb/*.c libs/libkirk/*.c libs/7z_advancecomp/*.cc libs/iris/*.cpp libs/old_cabextract/lzx.c libs/mrci/*.cpp libs/lz4/*.c libs/snappy/snappy.cc libs/snappy/snappy-c.cc libs/snappy/snappy-stubs-internal.cc libs/snappy/snappy-sinksource.cc libs/mmini/mmini_huffman.c libs/mmini/mmini_lzl.c libs/clzw/lzw-dec.c libs/clzw/lzw-enc.c libs/lzlib/lzlib.c libs/blosc/blosclz.c libs/gipfeli/*.cc libs/liblzg/src/lib/decode.c libs/liblzg/src/lib/encode.c libs/liblzg/src/lib/checksum.c libs/doboz/*.cpp libs/amiga/* libs/sphlib/c/*.c libs/shadowforce/*.cpp libs/zstd/common/*.c libs/zstd/compress/*.c libs/zstd/decompress/*.c libs/zstd/dictBuilder/*.c libs/zstd/legacy/*.c -Ilibs/zstd -Ilibs/zstd/common -Ilibs/zstd/legacy libs/azo/unAZO.cpp libs/azo/Decoder/MainCodeD.cpp libs/azo/Common/x86Filter.cpp libs/nintendo_ds/*.c libs/ctw/*.c libs/grzip/libgrzip.c libs/heatshrink/heatshrink_decoder.c libs/heatshrink/heatshrink_encoder.c libs/libzling/*.cpp  -Ilibs/ecrypt/include -Ilibs/libcsc -D_7Z_TYPES_ libs/libcsc/csc_dec.cpp libs/libcsc/csc_default_alloc.cpp libs/libcsc/csc_filters.cpp libs/libcsc/csc_memio.cpp -DDENSITY_FORCE_INLINE=inline -Drestrict=__restrict__ libs/density/src/*.c libs/density/src/spookyhash/src/*.c libs/brotli/dec/*.c libs/brotli/common/*.c libs/libbsc/adler32/adler32.cpp libs/libbsc/bwt/bwt.cpp libs/libbsc/coder/coder.cpp libs/libbsc/coder/qlfc/qlfc.cpp libs/libbsc/coder/qlfc/qlfc_model.cpp libs/libbsc/filters/detectors.cpp libs/libbsc/filters/preprocessing.cpp libs/libbsc/libbsc/libbsc.cpp libs/libbsc/lzp/lzp.cpp libs/libbsc/platform/platform.cpp libs/libbsc/st/st.cpp libs/shoco/shoco.c libs/ms-compress/src/*.cpp libs/lzjody/lzjody.c libs/lzjody/byteplane_xfrm.c disasm/disasm.c disasm/cmdlist.c disasm/assembl/assembl.c libs/mydownlib/mydownlib.c libs/TurboRLE/trlec.c libs/TurboRLE/trled.c libs/TurboRLE/ext/mrle.c libs/lhasa/lib/*_decoder.c libs/lhasa/lib/crc16.c libs/dipperstein/*.c libs/liblzf/lzf_d.c libs/liblzf/lzf_c_best.c libs/zopfli/*.c libs/lzham_codec/lzhamcomp/*.cpp libs/lzham_codec/lzhamdecomp/*.cpp libs/lzham_codec/lzhamlib/*.cpp -Ilibs/lzham_codec/include -Ilibs/lzham_codec/lzhamcomp -Ilibs/lzham_codec/lzhamdecomp -DLZHAM_ANSI_CPLUSPLUS libs/dmsdos/*.c libs/tornado/Tornado.cpp libs/tornado/Common.cpp libs/PKLib/*.c extra/mybits.c libs/lz5/lz5*.c libs/ppmz2/*.c* libs/libdivsufsort/*.c libs/xxhash/*.c extra/xalloc.c libs/lzfse/src/*.c  libs/hsel/myhsel.cpp libs/hsel/HSEL.cpp libs/glza/GLZAmodel.c libs/minilzo/minilzo.c  \
\
-lstdc++ -ldl -lcrypto -lssl -lz -lbz2 -lstdc++ -lm -lpthread -llzo2 -DDISABLE_UCL -DDISABLE_MCRYPT -DDISABLE_TOMCRYPT
In file included from /usr/include/c++/5/vector:60:0,
                 from compression/filter-lzw.hpp:26,
                 from compression/filter-lzw.cpp:35:
/usr/include/c++/5/bits/stl_algobase.h:59:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from compression/../libs/gipfeli/stubs-internal.h:13:0,
                 from compression/../libs/gipfeli/gipfeli.h:36,
                 from compression/gipfeli.cpp:1:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from compression/lzpxj.cpp:4:0:
/usr/include/c++/5/cstdio:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from compression/ppmz2.cpp:4:0:
/usr/include/c++/5/iostream:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from compression/u6decode.cc:7:0:
/usr/include/c++/5/iostream:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from compression/../libs/azo/Common/../Common/AZOPrivate.h:5:0,
                 from compression/../libs/azo/Common/Allocator.h:4,
                 from compression/unazo.cpp:12:
/usr/include/c++/5/cstdio:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from compression/unquad.cpp:5:0:
/usr/include/c++/5/cstdio:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from compression/../libs/snappy/snappy.h:43:0,
                 from compression/unsnappy.cpp:1:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/stdexcept:38:0,
                 from compression/yalz77.h:91,
                 from compression/yalz77.cpp:4:
/usr/include/c++/5/exception:37:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from compression/../libs/libzling/libzling_inc.h:38,
                 from compression/../libs/libzling/libzling.h:38,
                 from compression/zling.cpp:4:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from compression/../libs/libzpaq/libzpaq.h:842,
                 from compression/../libs/libzpaq/libzpaq.cpp:25,
                 from compression/zpaq.cpp:2:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from encryption/city.h:67:0,
                 from encryption/city.cc:32:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/lzhl/HuffStat.cpp:2:0:
/usr/include/c++/5/cstring:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/lzhl/LZBuffer.hpp:5:0,
                 from libs/lzhl/LZBuffer.cpp:1:
/usr/include/c++/5/cstddef:44:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/lzhl/LZBuffer.hpp:5:0,
                 from libs/lzhl/LZHLCompressor.hpp:4,
                 from libs/lzhl/LZHL.cpp:3:
/usr/include/c++/5/cstddef:44:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/lzhl/LZBuffer.hpp:5:0,
                 from libs/lzhl/LZHLCompressor.hpp:4,
                 from libs/lzhl/LZHLCompressor.cpp:1:
/usr/include/c++/5/cstddef:44:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/lzhl/LZHLDecoderStat.cpp:2:0:
/usr/include/c++/5/cstring:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/lzhl/LZBuffer.hpp:5:0,
                 from libs/lzhl/LZHLDecompressor.hpp:4,
                 from libs/lzhl/LZHLDecompressor.cpp:1:
/usr/include/c++/5/cstddef:44:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/lzhl/LZHLEncoder.hpp:6:0,
                 from libs/lzhl/LZHLEncoder.cpp:1:
/usr/include/c++/5/cstddef:44:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/lzhl/LZHLEncoderStat.cpp:2:0:
/usr/include/c++/5/cstdlib:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/7z_advancecomp/AriBitCoder.cc:4:0:
/usr/include/c++/5/cmath:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/snappy/snappy.h:43:0,
                 from libs/snappy/snappy.cc:29:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/snappy/snappy.h:43:0,
                 from libs/snappy/snappy-c.cc:29:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/snappy/snappy-stubs-internal.cc:29:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/gipfeli/stubs-internal.h:13:0,
                 from libs/gipfeli/gipfeli.h:36,
                 from libs/gipfeli/gipfeli-internal.h:7,
                 from libs/gipfeli/decompress.cc:3:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/gipfeli/entropy.h:6:0,
                 from libs/gipfeli/entropy.cc:3:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/gipfeli/stubs-internal.h:13:0,
                 from libs/gipfeli/entropy_code_builder.h:6,
                 from libs/gipfeli/entropy_code_builder.cc:3:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/gipfeli/stubs-internal.h:13:0,
                 from libs/gipfeli/gipfeli.h:36,
                 from libs/gipfeli/gipfeli-internal.h:7,
                 from libs/gipfeli/gipfeli-internal.cc:3:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/gipfeli/stubs-internal.h:13:0,
                 from libs/gipfeli/lz77.h:8,
                 from libs/gipfeli/lz77.cc:3:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/doboz/Compressor.cpp:19:0:
/usr/include/c++/5/cstring:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/doboz/Decompressor.cpp:19:0:
/usr/include/c++/5/cstring:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/doboz/Dictionary.cpp:19:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/shadowforce/first.h:5,
                 from libs/shadowforce/BHUT.cpp:1:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/shadowforce/first.h:5,
                 from libs/shadowforce/Bitstream.cpp:1:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/shadowforce/first.h:5,
                 from libs/shadowforce/Compress.cpp:8:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/shadowforce/first.h:5,
                 from libs/shadowforce/ELSCoder.cpp:10:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/shadowforce/first.h:5,
                 from libs/shadowforce/LZ77.cpp:1:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/shadowforce/first.h:5,
                 from libs/shadowforce/RefPack.cpp:8:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/shadowforce/first.h:5,
                 from libs/shadowforce/Compress.h:21,
                 from libs/shadowforce/shadowforce.cpp:4:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/azo/Common/../Common/AZOPrivate.h:5:0,
                 from libs/azo/Common/Allocator.h:4,
                 from libs/azo/unAZO.cpp:16:
/usr/include/c++/5/cstdio:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/azo/Decoder/../Base/../Common/AZOPrivate.h:5:0,
                 from libs/azo/Decoder/../Base/MainCodeB.h:4,
                 from libs/azo/Decoder/MainCodeD.h:4,
                 from libs/azo/Decoder/MainCodeD.cpp:4:
/usr/include/c++/5/cstdio:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/azo/Common/../Common/AZOPrivate.h:5:0,
                 from libs/azo/Common/x86Filter.h:4,
                 from libs/azo/Common/x86Filter.cpp:4:
/usr/include/c++/5/cstdio:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/libzling/libzling_inc.h:38,
                 from libs/libzling/libzling.h:38,
                 from libs/libzling/libzling.cpp:35:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/libzling/libzling_inc.h:38,
                 from libs/libzling/libzling_huffman.h:38,
                 from libs/libzling/libzling_huffman.cpp:35:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/libzling/libzling_inc.h:38,
                 from libs/libzling/libzling_lz.h:38,
                 from libs/libzling/libzling_lz.cpp:35:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/libzling/libzling_inc.h:38,
                 from libs/libzling/libzling_utils.h:38,
                 from libs/libzling/libzling_utils.cpp:35:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/ms-compress/src/../include/mscomp/internal.h:41:0,
                 from libs/ms-compress/src/lznt1_compress.cpp:18:
/usr/include/c++/5/new:39:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/ms-compress/src/../include/mscomp/internal.h:41:0,
                 from libs/ms-compress/src/lznt1_decompress.cpp:18:
/usr/include/c++/5/new:39:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/ms-compress/src/../include/mscomp/internal.h:41:0,
                 from libs/ms-compress/src/mscomp.cpp:18:
/usr/include/c++/5/new:39:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/ms-compress/src/../include/mscomp/internal.h:41:0,
                 from libs/ms-compress/src/xpress_compress.cpp:18:
/usr/include/c++/5/new:39:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/ms-compress/src/../include/mscomp/internal.h:41:0,
                 from libs/ms-compress/src/xpress_decompress.cpp:18:
/usr/include/c++/5/new:39:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/ms-compress/src/../include/mscomp/internal.h:41:0,
                 from libs/ms-compress/src/xpress_huff_compress.cpp:18:
/usr/include/c++/5/new:39:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/ms-compress/src/../include/mscomp/internal.h:41:0,
                 from libs/ms-compress/src/xpress_huff_decompress.cpp:18:
/usr/include/c++/5/new:39:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamcomp/lzham_lzbase.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamcomp/lzham_lzcomp.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamcomp/lzham_lzcomp_internal.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamcomp/lzham_lzcomp_state.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamcomp/lzham_match_accel.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamcomp/lzham_pthreads_threading.cpp:22:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_assert.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_checksum.cpp:2:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_huffman_codes.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_lzdecomp.cpp:8:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_lzdecompbase.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_mem.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_platform.cpp:4:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_prefix_coding.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_symbol_codec.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_timer.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamdecomp/lzham_vector.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/algorithm:60:0,
                 from libs/lzham_codec/lzhamdecomp/lzham_core.h:250,
                 from libs/lzham_codec/lzhamlib/lzham_lib.cpp:3:
/usr/include/c++/5/utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/memory:62:0,
                 from libs/ppmz2/Coder.h:3,
                 from libs/ppmz2/Coder.cpp:2:
/usr/include/c++/5/bits/stl_algobase.h:59:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/5/ios:38:0,
                 from /usr/include/c++/5/istream:38,
                 from /usr/include/c++/5/sstream:38,
                 from libs/ppmz2/CodingMetrics.h:3,
                 from libs/ppmz2/CodingMetrics.cpp:2:
/usr/include/c++/5/iosfwd:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from libs/ppmz2/PPMZ2.h:8:0,
                 from libs/ppmz2/PPMZ2.cpp:2:
/usr/include/c++/5/exception:37:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
Makefile:24: recipe for target 'all' failed
make: *** [all] Error 1

Author:  aluigi [ Wed Feb 22, 2017 10:25 am ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Try this:
https://askubuntu.com/questions/709893/ ... -compiling

Author:  Vido [ Wed Feb 22, 2017 4:00 pm ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

Tnx aluigi that worked

Author:  Savage [ Sun Mar 05, 2017 5:09 pm ]
Post subject:  Re: Compiling QuickBMS on Ubuntu 14.04

@Aluigi, my binary compiled can't work with files bigger than 4 gb's, what i need to change in the source (i think) to make the binary like quickbms_4gb_files.bin?
Thanks!

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/