Search squid archive

squid + sslbump compile errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx

Attachment: pgpO_sf79ltAr.pgp
Description: PGP signature


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux