[squid-users] Again.... compile error in 3.1.15 (hopefully without bad references)

From: Erich Titl <erich.titl_at_think.ch>
Date: Tue, 20 Sep 2011 19:14:54 +0200

Hi Folks

I believe this has been reported before, but I could not find a solution

/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_free':
(.text+0x4f): undefined reference to `inflateEnd'
/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_free':
(.text+0x6d): undefined reference to `deflateEnd'
/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl':
(.text+0x27c): undefined reference to `deflate'
/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl':
(.text+0x332): undefined reference to `zError'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block':
(.text+0x401): undefined reference to `inflate'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_compress_block':
(.text+0x4aa): undefined reference to `deflate'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish':
(.text+0x4ff): undefined reference to `inflateEnd'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish':
(.text+0x509): undefined reference to `deflateEnd'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':
(.text+0x5b7): undefined reference to `inflateInit_'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':
(.text+0x639): undefined reference to `deflateInit_'
/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_read':
(.text+0x86b): undefined reference to `inflate'
/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_read':
(.text+0x8ed): undefined reference to `zError'
/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_read':
(.text+0x95c): undefined reference to `inflateInit_'
/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_write':
(.text+0xa8b): undefined reference to `deflate'
/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_write':
(.text+0xb1d): undefined reference to `zError'
/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_write':
(.text+0xbb4): undefined reference to `deflateInit_'
ssl/.libs/libsslutil.a(gadgets.o): In function
`Ssl::signRequest(TidyPointer<X509_req_st,
&(Ssl::X509_REQ_free_cpp(X509_req_st*))> const&, TidyPointer<x509_st,
&(Ssl::X509_free_cpp(x509_st*))> const&, TidyPointer<evp_pkey_st,
&(Ssl::EVP_PKEY_free_cpp(evp_pkey_st*))> const&, asn1_string_st*,
bignum_st const*)':
/home/administrator/src/squid-3.1.15/src/ssl/gadgets.cc:108: undefined
reference to `X509_set_issuer_name'
/home/administrator/src/squid-3.1.15/src/ssl/gadgets.cc:115: undefined
reference to `X509_set_notAfter'
/home/administrator/src/squid-3.1.15/src/ssl/gadgets.cc:120: undefined
reference to `X509_set_subject_name'
/home/administrator/src/squid-3.1.15/src/ssl/gadgets.cc:125: undefined
reference to `X509_set_pubkey'

excerpt from config.log

./configure --prefix=/usr --sysconfdir=/etc/squid3 --enable-ssl

administrator_at_http-proxy:~/src/squid-3.1.15$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.1-4'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-multiarch
--with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib/x86_64-linux-gnu --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-objc-gc --with-arch-32=i586 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.1 (Debian 4.6.1-4)

cheers

Erich

Received on Tue Sep 20 2011 - 17:15:02 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 20 2011 - 12:00:03 MDT