[squid-users] squid-3.2.0.5 compilation errors

From: Yonah Russ <yonah.russ_at_gmail.com>
Date: Sun, 13 Feb 2011 09:18:21 +0200

Hi,

I tried to compile the latest beta this morning and the compilation failed .
I'm running Ubuntu 10.04.2 LTS

I'm using the following configure string:
./configure --enable-build-info
'--enable-storeio=aufs,coss,diskd,ufs'
'--enable-removal-policies=heap,lru' '--enable-icmp'
'--enable-delay-pools' --enable-esi --enable-icap-client
'--enable-ssl' --enable-forw-via-db '--enable-cache-digests'
'--enable-follow-x-forwarded-for' --disable-ident-lookups
--enable-ssl-crtd '--enable-default-hostsfile=/etc/hosts'
--enable-auth --enable-auth-basic -enable-auth-ntlm
--enable-auth-negotiate --enable-auth-digest
'--enable-log-daemon-helpers=file' --enable-external-acl-helpers
'--enable-x-accelerator-vary' --disable-translation

It fails with the following message:

/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
 -I../.. -I../../include -I../../lib -I../../src -I../../include
-I../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Werror -pipe -D_REENTRANT -g -O2 -MT MyPortName.lo -MD -MP -MF
.deps/MyPortName.Tpo -c -o MyPortName.lo MyPortName.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -I../../libltdl -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT
-g -O2 -MT MyPortName.lo -MD -MP -MF .deps/MyPortName.Tpo -c
MyPortName.cc -fPIC -DPIC -o .libs/MyPortName.o
In file included from ../../src/ProtoPort.h:10,
                 from MyPortName.cc:37:
../../src/ssl/gadgets.h:54: error: variable or field 'TXT_DB_free_cpp'
declared void
../../src/ssl/gadgets.h:54: error: 'TXT_DB' was not declared in this scope
../../src/ssl/gadgets.h:54: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:55: error: 'TXT_DB' was not declared in this scope
../../src/ssl/gadgets.h:55: error: 'TXT_DB_free_cpp' was not declared
in this scope
../../src/ssl/gadgets.h:55: error: template argument 1 is invalid
../../src/ssl/gadgets.h:55: error: template argument 2 is invalid
../../src/ssl/gadgets.h:55: error: invalid type in declaration before ';' token
make[3]: *** [MyPortName.lo] Error 1
make[3]: Leaving directory `/root/squid-3.2.0.5/src/acl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.2.0.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/squid-3.2.0.5/src'
make: *** [all-recursive] Error 1

Thanks,
Yonah
Received on Sun Feb 13 2011 - 07:18:29 MST

This archive was generated by hypermail 2.2.0 : Sun Feb 13 2011 - 12:00:03 MST