[Slackbuilds-users] ptlib doesn't compile on -current any more

Matteo Bernardini matteo.bernardini at gmail.com
Sun Apr 4 18:21:49 UTC 2021


strange, builds fine here: I just add this last patch after the other
ones already applied in the modified ptlib.SlackBuild of the
unofficial repository for current.
one of them is specific to port ptlib to openssl-1.1.x and from the
output you posted could it be that is not applied?

Matteo

Il giorno dom 4 apr 2021 alle ore 20:00 Sebastian Arcus
<s.arcus at open-t.co.uk> ha scritto:
>
> On 04/04/2021 18:43, Matteo Bernardini wrote:
>  > you need this additional patch
>  >
>  >
> https://build.opensuse.org/package/view_file/network:telephony/libpt2/libpt2-gnu-make-4.3.patch
>  >
>  > Matteo
>  >
>  > Il giorno dom 4 apr 2021 alle ore 18:07 Sebastian Arcus
>
>
> Thank you for that. It now seems to fail with different errors (below).
> Does the order of the 3 patches in ptbli.SlackBuild matter?
>
>
>
> /usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
>     57 |   template<typename> class auto_ptr;
>        |                            ^~~~~~~~
> ptclib/pssl.cxx:143:35: error: ‘BIO_s_file_internal’ was not declared in
> this scope
>    143 |     PSSL_BIO(BIO_METHOD *method = BIO_s_file_internal())
>        |                                   ^~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/openssl/x509.h:18,
>                   from /usr/include/openssl/ssl.h:20,
>                   from ptclib/pssl.cxx:99:
> ptclib/pssl.cxx: In member function ‘PBoolean
> PSSLPrivateKey::Create(unsigned int, void (*)(int, int, void*), void*)’:
> ptclib/pssl.cxx:255:83: warning: ‘RSA* RSA_generate_key(int, long
> unsigned int, void (*)(int, int, void*), void*)’ is deprecated
> [-Wdeprecated-declarations]
>    255 |   if (EVP_PKEY_assign_RSA(key, RSA_generate_key(modulus,
> 0x10001, callback, cb_arg)))
>        |
>                     ^
> In file included from /usr/include/openssl/e_os2.h:13,
>                   from /usr/include/openssl/ssl.h:15,
>                   from ptclib/pssl.cxx:99:
> /usr/include/openssl/rsa.h:235:1: note: declared here
>    235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned
> long e, void
>        | ^~~~~~~~~~~~~~~~~~
> ptclib/pssl.cxx: In constructor
> ‘PSSLDiffieHellman::PSSLDiffieHellman(const BYTE*, PINDEX, const BYTE*,
> PINDEX)’:
> ptclib/pssl.cxx:630:5: error: invalid use of incomplete type ‘struct dh_st’
>    630 |   dh->p = BN_bin2bn(pData, pSize, NULL);
>
> <snip>
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>


More information about the SlackBuilds-users mailing list