BitShares Forum

Main => Technical Support => Topic started by: richiela on December 15, 2014, 11:26:37 pm

Title: Latest github pull doesnt' compile
Post by: richiela on December 15, 2014, 11:26:37 pm
Linking CXX executable ecc_test
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block':
(.text+0x59): undefined reference to `inflate'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `zlib_stateful_compress_block':
(.text+0xea): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `bio_zlib_free':
(.text+0x13d): undefined reference to `inflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `bio_zlib_free':
(.text+0x15b): undefined reference to `deflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish':
(.text+0x1d0): undefined reference to `inflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish':
(.text+0x1d9): undefined reference to `deflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':
(.text+0x268): undefined reference to `inflateInit_'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':
(.text+0x2d9): undefined reference to `deflateInit_'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl':
(.text+0x54c): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl':
(.text+0x5f0): undefined reference to `zError'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `bio_zlib_write':
(.text+0x809): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `bio_zlib_write':
(.text+0x89a): undefined reference to `zError'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `bio_zlib_write':
(.text+0x933): undefined reference to `deflateInit_'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `bio_zlib_read':
(.text+0xa13): undefined reference to `inflate'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `bio_zlib_read':
(.text+0xa8d): undefined reference to `zError'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(c_zlib.o): In function `bio_zlib_read':
(.text+0xafc): undefined reference to `inflateInit_'
collect2: error: ld returned 1 exit status
make[2]: *** [libraries/fc/ecc_test] Error 1
make[1]: *** [libraries/fc/CMakeFiles/ecc_test.dir/all] Error 2
make: *** [all] Error 2
Title: Re: Latest github pull doesnt' compile
Post by: bytemaster on December 15, 2014, 11:32:07 pm
Might be your open ssl version.
Title: Re: Latest github pull doesnt' compile
Post by: richiela on December 16, 2014, 12:00:58 am
Hmm this same config was building .24 just fine... any pointers on what openssl version we need to switch to?
Title: Re: Latest github pull doesnt' compile
Post by: richiela on December 16, 2014, 12:08:36 am
nevermind figured it out... looks like cmake isn't including right linker options... -lz fixes it ...