Search squid archive

Re: Compiling squid-3.3.5 with SSL on RedHat EL 6

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

 



On May 21, 2013, at 10:28 , Eliezer Croitoru wrote:
>>  However, with an unmodified tree, I seem to still be unable to compile certificate_db.cc on my x86_64 RedHat EL 6.3 host.  The following are the compilation errors:
>> 
>> g++ -DHAVE_CONFIG_H  -I../.. -I../../include -I../../lib -I../../src -I../../include   -I../../libltdl   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -std=c++0x -MT certificate_db.o -MD -MP -MF .deps/certificate_db.Tpo -c -o certificate_db.o certificate_db.cc
>> certificate_db.cc: In static member function ‘static void Ssl::CertificateDb::sq_TXT_DB_delete(TXT_DB*, const char**)’:
>> certificate_db.cc:170: error: invalid conversion from ‘void*’ to ‘const _STACK*’
>> certificate_db.cc:170: error:   initializing argument 1 of ‘void* sk_value(const _STACK*, int)’
>> […]

> The above is known issue with RHEL 6.3 and CentOS 6.3.
> This issue requires you to either install some custom openssl libs and headers or upgrade to 6.4(which is much more reasonable to me) and use the fixed openssl in 6.4.

  Thank you. I found that I could crudely redefine CHECKED_PTR_OF within certificate_db.cc so I can compile, and I will push our systems team to update the OS.  I agree that's the sensible solution to my problem.  Thank you for that information.

                      - Chris






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

  Powered by Linux