Search squid archive

squid 3.2.0.19 compilation problem

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

 



Hi All,

I am facing compilation problem with squid 3.2.0.19. This fails
because of some changes in openssl header lhash.h (generally installs
in /usr/icnlude/openssl/lhash.h).
I used openssl 1.0.0 (OpenSSL 1.0.0-fips) for building squid.
The lhash.h header has slightly different macros in openssl 1.0.0 and
openssl 0.9.8.   That is failing the build. I believe if we fix these
macro calls, squid should compile without any problem. Most probably
there won't be any issue with any other openssl APIs used by squid and
squid hopefully  works just fine with openssl 1.0.0 as well.

My question here is, if anybody fixed the problem already and if squid
works works with openssl 1.0.0 also.

Below is the compilation error:

certificate_db.cc: In member function ‘void Ssl::CertificateDb::load()’:
certificate_db.cc:460: error: ‘index_serial_hash_LHASH_HASH’ was not
declared in this scope
certificate_db.cc:460: error: ‘index_serial_cmp_LHASH_COMP’ was not
declared in this scope
certificate_db.cc:463: error: ‘index_name_hash_LHASH_HASH’ was not
declared in this scope
certificate_db.cc:463: 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: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘_STACK*’ for argument ‘1’ to ‘void*
sk_delete(_STACK*, int)’
certificate_db.cc:504: error: ‘LHASH’ was not declared in this scope
certificate_db.cc:504: error: ‘fieldIndex’ was not declared in this scope
certificate_db.cc: In member function ‘bool
Ssl::CertificateDb::deleteInvalidCertificate()’:
certificate_db.cc:525: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘const _STACK*’ for argument ‘1’ to
‘int sk_num(const _STACK*)’
certificate_db.cc:526: 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:549: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘const _STACK*’ for argument ‘1’ to
‘int sk_num(const _STACK*)’
certificate_db.cc:556: 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:573: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘const _STACK*’ for argument ‘1’ to
‘int sk_num(const _STACK*)’
certificate_db.cc:574: error: cannot convert
‘stack_st_OPENSSL_PSTRING*’ to ‘const _STACK*’ for argument ‘1’ to
‘void* sk_value(const _STACK*, int)’

Regards,
Nipun Talukdar
Bangalore
India



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

  Powered by Linux