I tried to build squid 3.2.3 on fedora 17 x64 and got an error.
compiling options
./configure --disable-strict-error-checking \
   --exec_prefix=/usr \
   --libexecdir=/usr/lib/squid \
   --localstatedir=/var \
   --datadir=/usr/share/squid \
   --sysconfdir=/etc/squid \
   --with-logdir='/var/log/squid' \
   --with-pidfile='/var/run/squid.pid' \
   --disable-dependency-tracking \
   --enable-eui \
   --enable-follow-x-forwarded-for \
   --enable-auth \
   --enable-auth-basic="none" \
   --enable-auth-ntlm="none" \
   --enable-auth-digest="none" \
   --enable-auth-negotiate="none" \
   --enable-external-acl-helpers="none" \
   --enable-cache-digests \
   --enable-cachemgr-hostname=localhost \
   --enable-delay-pools \
   --enable-epoll \
   --enable-icap-client \
   --enable-ident-lookups \
   --with-large-files \
   --enable-linux-netfilter \
   --enable-removal-policies="heap,lru" \
   --enable-snmp \
   --enable-ssl \
   --enable-ssl-crtd \
   --enable-storeio="aufs,diskd,ufs" \
   --enable-wccpv2 \
   --enable-esi \
   --with-aio \
   --with-default-user="squid" \
   --with-filedescriptors=16384 \
   --with-dl \
   --with-openssl \
   --with-pthreads

the error output from make is:
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -m64 -g -O2 -c crtd_message.cc -fPIC -DPIC -o .libs/crtd_message.o libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -m64 -g -O2 -c crtd_message.cc -o crtd_message.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CXX --mode=link g++ -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -m64 -g -O2 -m64 -g -o libsslutil.la gadgets.lo crtd_message.lo libtool: link: /usr/bin/ar cru .libs/libsslutil.a .libs/gadgets.o .libs/crtd_message.o
libtool: link: ranlib .libs/libsslutil.a
libtool: link: ( cd ".libs" && rm -f "libsslutil.la" && ln -s "../libsslutil.la" "libsslutil.la" ) g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -m64 -g -O2 -c -o ssl_crtd.o ssl_crtd.cc g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -m64 -g -O2 -c -o certificate_db.o certificate_db.cc
certificate_db.cc: In member function גvoid Ssl::CertificateDb::load()ג:
certificate_db.cc:460:76: error: גindex_serial_hash_LHASH_HASHג was not declared in this scope certificate_db.cc:460:106: error: גindex_serial_cmp_LHASH_COMPג was not declared in this scope certificate_db.cc:463:74: error: גindex_name_hash_LHASH_HASHג was not declared in this scope certificate_db.cc:463:102: error: גindex_name_cmp_LHASH_COMPג was not declared in this scope certificate_db.cc: In member function גvoid Ssl::CertificateDb::deleteRow(const char**, int)ג: certificate_db.cc:495:39: error: cannot convert גstack_st_OPENSSL_PSTRING*ג to ג_STACK* {aka stack_st*}ג for argument ג1ג to גvoid* sk_delete(_STACK*, int)ג
certificate_db.cc:504:13: error: גLHASHג was not declared in this scope
certificate_db.cc:504:20: error: גfieldIndexג was not declared in this scope
certificate_db.cc: In member function גbool Ssl::CertificateDb::deleteInvalidCertificate()ג: certificate_db.cc:525:46: error: cannot convert גstack_st_OPENSSL_PSTRING*ג to גconst _STACK* {aka const stack_st*}ג for argument ג1ג to גint sk_num(const _STACK*)ג certificate_db.cc:526:79: error: cannot convert גstack_st_OPENSSL_PSTRING*ג to גconst _STACK* {aka const stack_st*}ג for argument ג1ג to גvoid* sk_value(const _STACK*, int)ג certificate_db.cc: In member function גbool Ssl::CertificateDb::deleteOldestCertificate()ג: certificate_db.cc:549:30: error: cannot convert גstack_st_OPENSSL_PSTRING*ג to גconst _STACK* {aka const stack_st*}ג for argument ג1ג to גint sk_num(const _STACK*)ג certificate_db.cc:556:65: error: cannot convert גstack_st_OPENSSL_PSTRING*ג to גconst _STACK* {aka const stack_st*}ג for argument ג1ג to גvoid* sk_value(const _STACK*, int)ג certificate_db.cc: In member function גbool Ssl::CertificateDb::deleteByHostname(const string&)ג: certificate_db.cc:573:46: error: cannot convert גstack_st_OPENSSL_PSTRING*ג to גconst _STACK* {aka const stack_st*}ג for argument ג1ג to גint sk_num(const _STACK*)ג certificate_db.cc:574:79: error: cannot convert גstack_st_OPENSSL_PSTRING*ג to גconst _STACK* {aka const stack_st*}ג for argument ג1ג to גvoid* sk_value(const _STACK*, int)ג
make[3]: *** [certificate_db.o] Error 1
make[3]: Leaving directory `/home/makerpm/rpmbuild/tests/squid-3.2.3/src/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/makerpm/rpmbuild/tests/squid-3.2.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/makerpm/rpmbuild/tests/squid-3.2.3/src'
make: *** [all-recursive] Error 1
$


So it's something with the crtd code but I am unable to understand the meaning of it.

Without the ssl-crtd there is not a problem in compilation.
Is it a dependency ? or a code problem?

Thanks,
Eliezer

--
Eliezer Croitoru
https://www1.ngtech.co.il
sip:[email protected]
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il

Reply via email to