[squid-dev] squid master build with alternate openssl fails

Christos Tsantilas christos at chtsanti.net
Fri May 8 14:12:34 UTC 2020


Hi all,

Squid master 699ade2d fails to build with an alternate OpenSsl, when the 
"--with-openssl=/path/to/openssl" is used.

I think that the issue added with the commit 245314010.

Example build output:
g++ -DHAVE_CONFIG_H 
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid3-cvs/etc/squid.conf\" 
-DDEFAULT_SQUID_DATA_DIR=\"/usr/local/squid3-cvs/share\" 
-DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/squid3-cvs/etc\"   -I.. 
-I../include -I../lib -I../src -I../include    -I../src 
-I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments 
-Wshadow -Woverloaded-virtual -Werror -pipe -D_REENTRANT 
-I/usr/include/libxml2 -m64    -I/usr/include/p11-kit-1  -g -O2 
-march=native -MT CacheDigest.o -MD -MP -MF $depbase.Tpo -c -o 
CacheDigest.o CacheDigest.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from cache_cf.cc:3427:0:
cf_parser.cci: In function ‘int parse_line(char*)’:
cf_parser.cci:1466:20: error: ‘Ssl’ has not been declared
          parse_eol(&Ssl::TheConfig.ssl_crtd);
...


My understanding is that squid enables ssl-crtd build (--with-ssl-crtd 
is given) but fails to detect OpenSsl correctly.


More information about the squid-dev mailing list