[squid-users] compile error with sslbump on squid-3.3.0.1

From: Shree R <mailinglistshree_at_gmail.com>
Date: Wed, 14 Nov 2012 11:54:09 -0800

Hi,

I am trying to compile squid-3.3.0.1 (latest release on 20 Oct 2012)
with these configure options, "--enable-icap-client --enable-ssl
--enable-ssl-crtd". I am building it on RHEL6.2 (64 bit), with GCC
version as 4.4.6-3.el6 and openssl version as 1.0.0-20.el6.

I am getting the following error on my system.

certificate_db.cc: In member function ‘void Ssl::CertificateDb::load()’:
certificate_db.cc:393: error: ‘index_serial_hash_LHASH_HASH’ was not
declared in this scope
certificate_db.cc:393: error: ‘index_serial_cmp_LHASH_COMP’ was not
declared in this scope
certificate_db.cc:396: error: ‘index_name_hash_LHASH_HASH’ was not
declared in this scope
certificate_db.cc:396: 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:428: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘_STACK*’ for argument ‘1’ to ‘void*
sk_delete(_STACK*, int)’
certificate_db.cc:437: error: ‘LHASH’ was not declared in this scope
certificate_db.cc:437: error: ‘fieldIndex’ was not declared in this scope
certificate_db.cc: In member function ‘bool
Ssl::CertificateDb::deleteInvalidCertificate()’:
certificate_db.cc:458: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘const _STACK*’ for argument ‘1’ to
‘int sk_num(const _STACK*)’
certificate_db.cc:459: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘const _STACK*’ for argument ‘1’ to
‘void* sk_value(const _STACK*, int)’
certificate_db.cc: In member function ‘bool
Ssl::CertificateDb::deleteOldestCertificate()’:
certificate_db.cc:482: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘const _STACK*’ for argument ‘1’ to
‘int sk_num(const _STACK*)’
certificate_db.cc:489: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘const _STACK*’ for argument ‘1’ to
‘void* sk_value(const _STACK*, int)’
certificate_db.cc: In member function ‘bool
Ssl::CertificateDb::deleteByHostname(const std::string&)’:
certificate_db.cc:506: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘const _STACK*’ for argument ‘1’ to
‘int sk_num(const _STACK*)’
certificate_db.cc:507: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘const _STACK*’ for argument ‘1’ to
‘void* sk_value(const _STACK*, int)’
make[3]: *** [certificate_db.o] Error 1

A similar error has been reported on the user group
(http://www.squid-cache.org/mail-archive/squid-users/201202/0057.html)
but I am not sure if the suggested patch will work for my
configuration (http://www.squid-cache.org/mail-archive/squid-users/201202/0062.html).

Any suggestions are appreciated.

Thanks,
Shree
Received on Wed Nov 14 2012 - 19:54:17 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 15 2012 - 12:00:03 MST