[squid-users] squid + sslbump compile errors

From: James R. Leu <jleu_at_mindspring.com>
Date: Sun, 5 Feb 2012 14:09:34 -0600

I'm trying to compile squid with sslbump support.
As I understand it this means adding:

    --enable-ssl
    --enable-ssl-crtd

to the configure command line.

I'm using:
squid from bzr (11997)
openssl-1.0.0g-1
gcc-4.7.0-0.10

I get the following errors:

ufs/store_dir_ufs.cc: In member function 'virtual void UFSSwapDir::statfs(StoreEntry&) const':
ufs/store_dir_ufs.cc:321:55: error: unable to find string literal operator 'operator"" PRIu64'
ufs/store_dir_ufs.cc: In member function 'virtual void UFSSwapDir::dump(StoreEntry&) const':
ufs/store_dir_ufs.cc:1348:41: error: unable to find string literal operator 'operator"" PRIu64'

I was able to 'resolve' the above by using %jd instead
of the "PRIu64"

certificate_db.cc: In member function ‘void Ssl::CertificateDb::load()’:
certificate_db.cc:455:1: error: ‘index_serial_hash_LHASH_HASH’ was not declared in this scope
certificate_db.cc:455:1: error: ‘index_serial_cmp_LHASH_COMP’ was not declared in this scope
certificate_db.cc:458:1: error: ‘index_name_hash_LHASH_HASH’ was not declared in this scope
certificate_db.cc:458:1: 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:490: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:499:13: error: ‘LHASH’ was not declared in this scope
certificate_db.cc:499:20: error: ‘fieldIndex’ was not declared in this scope
certificate_db.cc: In member function ‘bool Ssl::CertificateDb::deleteInvalidCertificate()’:
certificate_db.cc:520: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:521: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:544: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:551: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:568: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:569: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)’

-- 
James R. Leu
jleu_at_mindspring.com

Received on Sun Feb 05 2012 - 20:09:41 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 06 2012 - 12:00:01 MST