git cloned fresh from master, then trying to compile on ubuntu 16.04 with cmake version 3.2.2, gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609, and boost Version: 1.58.0.1ubuntu1 I get:
In file included from /boolberry/contrib/epee/include/net/http_client.h:42:0,
from /boolberry/tests/exchange_tests/main.cpp:4:
/boolberry/contrib/epee/include/gzip_encoding.h: In constructor ‘epee::net_utils::content_encoding_gzip::content_encoding_gzip(epee::net_utils::i_target_handler*, bool, int)’:
/boolberry/contrib/epee/include/gzip_encoding.h:59:8: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
int ret = 0;
^
/boolberry/contrib/epee/include/gzip_encoding.h: In member function ‘virtual bool epee::net_utils::content_encoding_gzip::update_in(std::__cxx11::string&)’:
/boolberry/contrib/epee/include/gzip_encoding.h:172:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
bool res = true;
^
Linking CXX executable exchange_test
/tmp/cce8Fu8j.ltrans3.ltrans.o: In function `epee::net_utils::content_encoding_gzip::~content_encoding_gzip()':
<artificial>
.text+0x60): undefined reference to `inflateEnd'
<artificial>
.text+0x6c): undefined reference to `deflateEnd'
/tmp/cce8Fu8j.ltrans3.ltrans.o: In function `epee::net_utils::content_encoding_gzip::~content_encoding_gzip() [clone .lto_priv.663]':
<artificial>
.text+0xd0): undefined reference to `inflateEnd'
<artificial>
.text+0xdc): undefined reference to `deflateEnd'
/tmp/cce8Fu8j.ltrans3.ltrans.o: In function `epee::net_utils::content_encoding_gzip::update_in(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
<artificial>
.text+0x1913): undefined reference to `inflate'
<artificial>
.text+0x1bc4): undefined reference to `inflateReset'
<artificial>
.text+0x1bdd): undefined reference to `inflate'
<artificial>
.text+0x1c00): undefined reference to `inflate'
/tmp/cce8Fu8j.ltrans13.ltrans.o: In function `epee::net_utils::http::http_simple_client::analize_cached_header_and_invoke_state() [clone .constprop.6]':
<artificial>
.text+0xbf5): undefined reference to `inflateInit_'
<artificial>
.text+0xc0c): undefined reference to `deflateInit_'
<artificial>
.text+0xde3): undefined reference to `inflateInit2_'
<artificial>
.text+0xe0a): undefined reference to `deflateInit2_'
collect2: error: ld returned 1 exit status
tests/CMakeFiles/exchange_test.dir/build.make:95: recipe for target 'tests/exchange_test' failed
make[3]: *** [tests/exchange_test] Error 1
make[3]: Leaving directory '/boolberry/build/release'
CMakeFiles/Makefile2:798: recipe for target 'tests/CMakeFiles/exchange_test.dir/all' failed
make[2]: *** [tests/CMakeFiles/exchange_test.dir/all] Error 2
make[2]: Leaving directory '/boolberry/build/release'
Makefile:126: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/boolberry/build/release'
Makefile:20: recipe for target 'build-release' failed
make: *** [build-release] Error 2