Post
Topic
Board Announcements (Altcoins)
Re: [BBR] Boolberry: Privacy and Security - Guaranteed Since 2014
by
clintar2
on 19/10/2018, 08:25:15 UTC
Hello, compiling version 0.3.0.68 on ubuntu 18.04 was ok, the new version 0.3.0.80 cancels on linking with the following messages:

Quote
[ 70%] Linking CXX executable unit_tests
/tmp/cc8Fa5Kb.ltrans4.ltrans.o: In function `epee::net_utils::content_encoding_gzip::update_in(std::__cxx11::basic_string, std::allocator >&)':
Sad.text+0x19ea): undefined reference to `inflate'
Sad.text+0x1ab9): undefined reference to `inflateReset'
Sad.text+0x1ad5): undefined reference to `inflate'
Sad.text+0x1af8): undefined reference to `inflate'
/tmp/cc8Fa5Kb.ltrans4.ltrans.o: In function `epee::net_utils::content_encoding_gzip::~content_encoding_gzip()':
Sad.text+0x1e34): undefined reference to `inflateEnd'
Sad.text+0x1e40): undefined reference to `deflateEnd'
/tmp/cc8Fa5Kb.ltrans4.ltrans.o: In function `epee::net_utils::content_encoding_gzip::~content_encoding_gzip() [clone .lto_priv.2178]':
Sad.text+0x4e74): undefined reference to `inflateEnd'
Sad.text+0x4e80): undefined reference to `deflateEnd'
/tmp/cc8Fa5Kb.ltrans5.ltrans.o: In function `epee::net_utils::http::http_simple_client::analize_cached_header_and_invoke_state()':
Sad.text+0x6ecd): undefined reference to `inflateInit2_'
Sad.text+0x6efb): undefined reference to `deflateInit2_'
Sad.text+0x7a90): undefined reference to `inflateInit_'
Sad.text+0x7aad): undefined reference to `deflateInit_'
collect2: error: ld returned 1 exit status
tests/CMakeFiles/unit_tests.dir/build.make:631: recipe for target 'tests/unit_tests' failed
make[3]: *** [tests/unit_tests] Error 1
make[3]: Leaving directory '/home/bbr/opt/boolberry-0.3.0.80/build/release'
CMakeFiles/Makefile2:708: recipe for target 'tests/CMakeFiles/unit_tests.dir/all' failed
make[2]: *** [tests/CMakeFiles/unit_tests.dir/all] Error 2
make[2]: Leaving directory '/home/bbr/opt/boolberry-0.3.0.80/build/release'
Makefile:140: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/bbr/opt/boolberry-0.3.0.80/build/release'
Makefile:20: recipe for target 'build-release' failed
make: *** [build-release] Error 2

Any hint?
Try just doing
Code:
make daemon
and
Code:
make simplewallet
so it skips the tests that fail. Maybe
Code:
make qt-boolbd
if you are trying to make that.
In tests/CMakeLists.txt, the ones that are failing need
Code:
zlibstatic
added to their target_link_libraries lines