Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Latest github pull doesnt' compile  (Read 318 times)

Offline richiela

  • Newbie
  • *
  • Posts: 14
    • View Profile
Latest github pull doesnt' compile
« 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

Offline bytemaster

Re: Latest github pull doesnt' compile
« Reply #1 on: December 15, 2014, 11:32:07 PM »
Might be your open ssl version.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline richiela

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Latest github pull doesnt' compile
« Reply #2 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?

Offline richiela

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Latest github pull doesnt' compile
« Reply #3 on: December 16, 2014, 12:08:36 AM »
nevermind figured it out... looks like cmake isn't including right linker options... -lz fixes it ...

 

Google+