[Slackbuilds-users] ptlib doesn't compile on -current any more
Sebastian Arcus
s.arcus at open-t.co.uk
Sun Apr 4 17:59:58 UTC 2021
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>
More information about the SlackBuilds-users
mailing list