Hi Folks
I am still trying to compile 3.1.15. I still get the following
libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Werror -fhuge-objects -D_REENTRANT -m64 -g -O2 -g -Wall -O2
.libs/squidS.o -m64 -g -o squid AclRegs.o AuthReg.o access_log.o
AsyncEngine.o cache_cf.o ProtoPort.o CacheDigest.o cache_manager.o
carp.o cbdata.o ChunkedCodingParser.o client_db.o client_side.o
client_side_reply.o client_side_request.o BodyPipe.o clientStream.o
CompletionDispatcher.o comm_select.o comm_select_win32.o comm_poll.o
comm_devpoll.o comm_epoll.o comm_kqueue.o ConfigOption.o ConfigParser.o
debug.o delay_pools.o DelayId.o DelayBucket.o DelayConfig.o DelayPool.o
DelaySpec.o DelayTagged.o DelayUser.o DelayVector.o NullDelayId.o disk.o
DiskIO/DiskIOModule.o DiskIO/ReadRequest.o DiskIO/WriteRequest.o dlink.o
dns_internal.o DnsLookupDetails.o errorpage.o ETag.o event.o EventLoop.o
external_acl.o ExternalACLEntry.o fd.o fde.o filemap.o forward.o
fqdncache.o ftp.o gopher.o helper.o htcp.o http.o HttpStatusLine.o
HttpHdrCc.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o
HttpHdrContRange.o HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o
HttpReply.o HttpRequest.o HttpRequestMethod.o icp_v2.o icp_v3.o int.o
internal.o ipc.o ipcache.o list.o logfile.o main.o mem.o mem_node.o
MemBuf.o MemObject.o mime.o mime_header.o multicast.o neighbors.o
Packer.o Parsing.o pconn.o peer_digest.o peer_select.o peer_sourcehash.o
peer_userhash.o redirect.o referer.o refresh.o RemovalPolicy.o
send-announce.o snmp_core.o snmp_agent.o SquidMath.o SquidNew.o
ssl_support.o stat.o StatHist.o String.o stmem.o store.o
StoreFileSystem.o store_io.o StoreIOState.o store_client.o
store_digest.o store_dir.o store_key_md5.o store_log.o store_rebuild.o
store_swapin.o store_swapmeta.o store_swapout.o StoreMeta.o
StoreMetaMD5.o StoreMetaSTD.o StoreMetaSTDLFS.o StoreMetaUnpacker.o
StoreMetaURL.o StoreMetaVary.o StoreSwapLogData.o Server.o SwapDir.o
time.o tools.o tunnel.o unlinkd.o url.o URLScheme.o urn.o useragent.o
wccp.o wccp2.o whois.o wordlist.o LoadableModule.o LoadableModules.o
DiskIO/DiskIOModules_gen.o repl_modules.o globals.o string_arrays.o
DiskIO/AIO/AIODiskIOModule.o DiskIO/Blocking/BlockingDiskIOModule.o
DiskIO/DiskDaemon/DiskDaemonDiskIOModule.o
DiskIO/DiskThreads/DiskThreadsDiskIOModule.o -Wl,--export-dynamic
/home/administrator/src/squid-3.1.15/libltdl/./.libs/dlopen.a
base/.libs/libbase.a ./.libs/libsquid.a auth/.libs/libacls.a
ident/.libs/libident.a acl/.libs/libacls.a acl/.libs/libstate.a
auth/.libs/libauth.a acl/.libs/libapi.a ip/.libs/libip.a
fs/.libs/libfs.a icmp/.libs/libicmp.a icmp/.libs/libicmp-core.a
../compat/.libs/libcompat.a -L/home/administrator/src/squid-3.1.15/lib
repl/liblru.a repl/libheap.a libAIO.a libBlocking.a libDiskDaemon.a
libDiskThreads.a -lrt -lpthread -lcrypt ../snmplib/libsnmp.a
adaptation/.libs/libadaptation.a esi/.libs/libesi.a
../lib/libTrie/src/libTrie.a -lssl -lcrypto ssl/.libs/libsslutil.a
ssl/.libs/libsslsquid.a -lmiscutil -lm -lnsl ../libltdl/.libs/libltdlc.a
-ldl
g++: warning: switch '-fhuge-objects' is no longer supported
/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'
collect2: ld returned 1 exit status
libtool: link: rm -f ".libs/squidS.o"
make[3]: *** [squid] Error 1
On the same machine I can compile 3.2.0.12 flawlessly.
here is the way I configure the whole shebang
export build_alias="x86_64-linux-gnu"
export CFLAGS="-g -O2 -g -Wall -O2"
export LDFLAGS=
export CPPFLAGS=
export CXXFLAGS="-g -O2 -g -Wall -O2"
export FFLAGS="-g -O2"
./configure --prefix=/usr \
--sysconfdir=/etc/squid3 \
--datadir=/usr/share/squid3 \
--enable-inline \
--enable-async-io=8 \
--enable-storeio=ufs,aufs,diskd \
--enable-removal-policies=lru,heap \
--enable-delay-pools \
--enable-cache-digests \
--enable-underscores \
--enable-icap-client \
--enable-follow-x-forwarded-for \
--enable-auth \
--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,DB,POP3,getpwnam,squid_radius_auth,multi-domain-NTLM
\
--enable-ntlm-auth-helpers=smb_lm \
--enable-digest-auth-helpers=ldap,password \
--enable-negotiate-auth-helpers=squid_kerb_auth \
--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group
\
--enable-arp-acl \
--enable-esi \
--disable-translation \
--with-logdir=/var/log/squid3 \
--with-pidfile=/var/run/squid3.pid \
--with-filedescriptors=65536 \
--with-large-files \
--with-default-user=proxy \
--enable-linux-netfilter\
--enable-ltdl-convenience \
--enable-ssl
administrator_at_http-proxy:~/src/squid-3.1.15$ which openssl
/usr/bin/openssl
administrator_at_http-proxy:~/src/squid-3.1.15$ openssl
OpenSSL> version
OpenSSL 1.0.0d 8 Feb 2011
I know this has been reported, but IAFAIK no solution yet.
Thanks
Erich
This archive was generated by hypermail 2.2.0 : Fri Oct 14 2011 - 12:00:03 MDT