[squid-users] Rebuilding Squid 3.5.25 with the `--with-openssl` option generates compilation error
Alex Rousskov
rousskov at measurement-factory.com
Thu Sep 21 18:22:10 UTC 2023
On 2023-09-20 23:22, Bud Miljkovic wrote:
> Using the *Squid 3.5.25* version from the Open Embedded *pyro*
> repository, I enabled the `*--with-openssl*` build option by adding the
> *squid_%.bbappend* file, please the attachment below.
>
> Then using *docker*, I tried to rebuild *squid* package but now I get
> the following compilation error - please see the *squid_rebuild.log*
> file below.
> squid-3.5.25/src/ssl/gadgets.h:229:7: error: 'Ssl::CertificateProperties' declared with greater visibility than the type of its field 'Ssl::CertificateProperties::mimicCert' [-Werror=attributes]
FWIW, I have not seen -Wattributes warnings before and cannot quickly
figure out what they really mean in your context. There is nothing
particularly alarming in that Squid code AFAICT.
If you have to use unsupported and buggy Squid v3, consider building it
with --disable-strict-error-checking. Otherwise, consider switching to
Squid v6 that more folks may be interested in helping you with.
HTH,
Alex.
More information about the squid-users
mailing list