On 13/02/11 20:18, Yonah Russ wrote:
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

This would be a good thing to bring to the developers attention (via the squid-dev mailing list). The guys playing with SSL don't read this users list.

It appears like your OpenSSL version missing or not able to be found by Squid. The bug is probably that configure seems not to have told you that earlier in the build.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.11
  Beta testers wanted for 3.2.0.4

Reply via email to