Ticket Change Details
EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA

Artifact ID: a102dfe711da483f90cedd57f9f1a0b2549e28dae951d9f5449e1ee228564902
Ticket: 14befce25ea1041cce8430113ef3399242598bf6
Compile error with openssl1.1.1.c and GCC
User & Date: anonymous on 2019-09-26 13:20:29

  1. icomment:
    The core problem seems to be that include/openssl/bn.h of defines BIGNUM as a typedef of struct bignum_st, but does not define that structure anywhere.
    The declarations of the header of openssl 1.0.2 are still including such a definition; but the openssl 1.1 distributed with openSUSE 15.1 does no longer define the structure, and it's found nowhere in /usr/include, so the compiler has no chance to know whether 'p' and/or 'g' are members of that structure.
    So the first approach here might be that the code in tlsInt.h does not define TCLTLS_OPENSSL_PRE_1_1_API for e.g. OPENSSL_VERSION_NUMBER == 0x1010009fL as defined in opensslv.h .
  2. login: "anonymous"
  3. mimetype: "text/x-fossil-plain"
  4. username: "R. J. Mathar"