On 7/03/2012 1:14 a.m., Marcin Jarzab wrote:
Hello,
Paltform: Ubuntu 11.10 x64
Squid 3.1.18 with configure opts:
<snip>
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'
<snip>
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
That bug is about squidpurge in 3.2. Your problems is ssl_crtd with
http://bugs.squid-cache.org/show_bug.cgi?id=3263
There is a patch there. It affects the makefile templates so will not
work if just applied. But a manual edit of the src/ssl/Makefile to do
the same change in the auto-built makefile should work.
Thanks for pointing this out. Will try to get it into the next releases.
Amos