Hello,
Paltform: Ubuntu 11.10 x64
Squid 3.1.18 with configure opts:
./configure \
--prefix=/usr \
--program-suffix=custom \
--includedir=${prefix}/include \
--mandir=${prefix}/share/man \
--infodir=${prefix}/share/info \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=${prefix}/lib/squid3-custom \
--srcdir=. \
--disable-maintainer-mode \
--disable-dependency-tracking \
--disable-silent-rules \
--datadir=/usr/share/squid3-custom \
--sysconfdir=/etc/squid3-custom \
--mandir=/usr/share/man \
--with-cppunit-basedir=/usr \
--enable-inline \
--enable-async-io=8 \
--enable-storeio=ufs,aufs,diskd \
--enable-delay-pools \
--enable-cache-digests \
--enable-underscores \
--enable-icap-client \
--enable-follow-x-forwarded-for \
--enable-auth=basic,digest,ntlm,negotiate \
--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SASL,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 \
------------------------------------------------------------------------------------------
ERROR:
/bin/bash ../../libtool --tag=CXX --mode=link g++
-I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Werror -fhuge-objects -D_REENTRANT -m64 -g -O2 -m64 -g -o ssl_crtd
ssl_crtd.o certificate_db.o -L/usr/include/openssl/lib -lssl -lcrypto
-lsslutil ../../compat/libcompat.la ../../lib/libmiscutil.a
libtool: link: g++ -I/usr/include/libxml2 -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Werror -fhuge-objects -D_REENTRANT -m64 -g
-O2 -m64 -g -o ssl_crtd ssl_crtd.o certificate_db.o
-L/usr/include/openssl/lib -lssl -lcrypto
/var/installs/squid-3.1.18/src/ssl/.libs/libsslutil.a
../../compat/.libs/libcompat.a ../../lib/libmiscutil.a
g++: warning: switch '-fhuge-objects' is no longer supported
../../lib/libmiscutil.a(MemPool.o): In function `MemPools::flushMeters()':
/var/installs/squid-3.1.18/lib/MemPool.cc:224: undefined reference to
`squid_curtime'
/var/installs/squid-3.1.18/lib/MemPool.cc:225: undefined reference to
`squid_curtime'
/var/installs/squid-3.1.18/lib/MemPool.cc:223: undefined reference to
`squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o): In function
`MemPoolChunked::deallocate(void*, bool)':
/var/installs/squid-3.1.18/lib/MemPoolChunked.cc:357: undefined
reference to `squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o): In function
`MemPoolChunked::convertFreeCacheToChunkFreeCache()':
/var/installs/squid-3.1.18/lib/MemPoolChunked.cc:380: undefined
reference to `squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o):/var/installs/squid-3.1.18/lib/MemPoolChunked.cc:406:
more undefined references to `squid_curtime' follow
collect2: ld returned 1 exit status
make[3]: *** [ssl_crtd] Error 1
make[3]: Leaving directory `/var/installs/squid-3.1.18/src/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/installs/squid-3.1.18/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/installs/squid-3.1.18/src'
make: *** [all-recursive] Error 1
-----------------------------------------------------------------------------------------
What is the solution. In the bug report I read the this is fixed in
3-HEAD but what is the exacct stable source version
http://bugs.squid-cache.org/show_bug.cgi?id=3038
Received on Tue Mar 06 2012 - 12:14:59 MST
This archive was generated by hypermail 2.2.0 : Wed Mar 07 2012 - 12:00:02 MST