[squid-users] Latest ssl and Squid stable compile issue

James Lay jlay at slave-tothe-box.net
Wed Jun 22 21:12:23 UTC 2016


Had zero issues when compiling against libressl-2.4.1.  I now have 
ChaCha Poly cipher support...happy days!

James

On 2016-06-22 13:29, James Lay wrote:
> So yea...git pulled latest ssl, here's my results:
> 
> make[3]: Entering directory
> `/home/nobackup/build/squid-3.5.19/src/anyp'
> depbase=`echo PortCfg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
>  /bin/bash ../../libtool  --tag=CXX   --mode=compile g++
> -DHAVE_CONFIG_H   -I../.. -I../../include -I../../lib -I../../src
> -I../../include    -I/opt/openssl/include  -Wall -Wpointer-arith
> -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror -pipe
> -D_REENTRANT -m64   -g -O2 -march=native -std=c++11 -MT PortCfg.lo -MD
> -MP -MF $depbase.Tpo -c -o PortCfg.lo PortCfg.cc &&\
>  mv -f $depbase.Tpo $depbase.Plo
> libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include
> -I../../lib -I../../src -I../../include -I/opt/openssl/include -Wall
> -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow
> -Woverloaded-virtual -Werror -pipe -D_REENTRANT -m64 -g -O2
> -march=native -std=c++11 -MT PortCfg.lo -MD -MP -MF .deps/PortCfg.Tpo
> -c PortCfg.cc  -fPIC -DPIC -o .libs/PortCfg.o
> In file included from ../../src/anyp/PortCfg.h:18:0,
>                  from PortCfg.cc:10:
> ../../src/ssl/gadgets.h:83:45: error: ‘CRYPTO_LOCK_X509’ was not
> declared in this scope
>  typedef LockingPointer<X509, X509_free_cpp, CRYPTO_LOCK_X509>
> X509_Pointer;
>                                              ^
> ../../src/ssl/gadgets.h:83:61: error: template argument 3 is invalid
>  typedef LockingPointer<X509, X509_free_cpp, CRYPTO_LOCK_X509>
> X509_Pointer;
>                                                              ^
> ../../src/ssl/gadgets.h:83:75: error: invalid type in declaration
> before ‘;’ token
>  typedef LockingPointer<X509, X509_free_cpp, CRYPTO_LOCK_X509>
> X509_Pointer;
> 
>     ^
> ../../src/ssl/gadgets.h:89:53: error: ‘CRYPTO_LOCK_EVP_PKEY’ was
> not declared in this scope
>  typedef LockingPointer<EVP_PKEY, EVP_PKEY_free_cpp,
> CRYPTO_LOCK_EVP_PKEY> EVP_PKEY_Pointer;
>                                                      ^
> ../../src/ssl/gadgets.h:89:73: error: template argument 3 is invalid
>  typedef LockingPointer<EVP_PKEY, EVP_PKEY_free_cpp,
> CRYPTO_LOCK_EVP_PKEY> EVP_PKEY_Pointer;
> 
>   ^
> ../../src/ssl/gadgets.h:89:91: error: invalid type in declaration
> before ‘;’ token
>  typedef LockingPointer<EVP_PKEY, EVP_PKEY_free_cpp,
> CRYPTO_LOCK_EVP_PKEY> EVP_PKEY_Pointer;
> 
>                     ^
> ../../src/ssl/gadgets.h:116:43: error: ‘CRYPTO_LOCK_SSL’ was not
> declared in this scope
>  typedef LockingPointer<SSL, SSL_free_cpp, CRYPTO_LOCK_SSL>
> SSL_Pointer;
>                                            ^
> ../../src/ssl/gadgets.h:116:58: error: template argument 3 is invalid
>  typedef LockingPointer<SSL, SSL_free_cpp, CRYPTO_LOCK_SSL>
> SSL_Pointer;
>                                                           ^
> ../../src/ssl/gadgets.h:116:71: error: invalid type in declaration
> before ‘;’ token
>  typedef LockingPointer<SSL, SSL_free_cpp, CRYPTO_LOCK_SSL>
> SSL_Pointer;
> 
> ^
> make[3]: *** [PortCfg.lo] Error 1
> make[3]: Leaving directory
> `/home/jlay/nobackup/build/squid-3.5.19/src/anyp'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/jlay/nobackup/build/squid-3.5.19/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/jlay/nobackup/build/squid-3.5.19/src'
> make: *** [all-recursive] Error 1
> 
> This is to hopefully compile in chacha support....should I go with dev
> 4.0.11 squid instead?  Thank you.
> 
> James
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list