Garnome 2.13.3 on a Debian unstable distribution : errors in pwlib



A lot of compiling errors :

/reserve/garnome-2.13.3/bootstrap/pwlib/work/main.d/pwlib-1.8.7% LANG=C make
make P_SHAREDLIB=1 opt
make[1]: Entering directory `/reserve/garnome-2.13.3/bootstrap/pwlib/work/main.d/pwlib-1.8.7'
set -e; make -C src/ptlib/unix opt; make -C plugins opt;
make[2]: Entering directory `/reserve/garnome-2.13.3/bootstrap/pwlib/work/main.d/pwlib-1.8.7/src/ptlib/unix'
g++ -D_REENTRANT -Wall  -fPIC -I/reserve/garnome-2.13.3/bootstrap/pwlib/work/main.d/pwlib-1.8.7/include -Os   -felide-constructors -x c++ -c ../../ptclib/pssl.cxx -o /reserve/garnome-2.13.3/bootstrap/pwlib/work/main.d/pwlib-1.8.7/lib/obj_linux_x86_r/pssl.o
../../ptclib/pssl.cxx: In constructor 'PSSLPrivateKey::PSSLPrivateKey(const BYTE*, PINDEX)':
../../ptclib/pssl.cxx:300: error: invalid conversion from 'BYTE**' to 'const unsigned char**'
../../ptclib/pssl.cxx:300: error:   initializing argument 2 of 'EVP_PKEY* d2i_AutoPrivateKey(EVP_PKEY**, const unsigned char**, long int)'
../../ptclib/pssl.cxx: In constructor 'PSSLPrivateKey::PSSLPrivateKey(const PBYTEArray&)':
../../ptclib/pssl.cxx:307: error: invalid conversion from 'BYTE**' to 'const unsigned char**'
../../ptclib/pssl.cxx:307: error:   initializing argument 2 of 'EVP_PKEY* d2i_AutoPrivateKey(EVP_PKEY**, const unsigned char**, long int)'
../../ptclib/pssl.cxx: In constructor 'PSSLCertificate::PSSLCertificate(const BYTE*, PINDEX)':
../../ptclib/pssl.cxx:475: error: invalid conversion from 'unsigned char**' to 'const unsigned char**'
../../ptclib/pssl.cxx:475: error:   initializing argument 2 of 'X509* d2i_X509(X509**, const unsigned char**, long int)'
../../ptclib/pssl.cxx: In constructor 'PSSLCertificate::PSSLCertificate(const PBYTEArray&)':
../../ptclib/pssl.cxx:482: error: invalid conversion from 'unsigned char**' to 'const unsigned char**'
../../ptclib/pssl.cxx:482: error:   initializing argument 2 of 'X509* d2i_X509(X509**, const unsigned char**, long int)'
../../ptclib/pssl.cxx: In constructor 'PSSLCertificate::PSSLCertificate(const PString&)':
../../ptclib/pssl.cxx:492: error: invalid conversion from 'unsigned char**' to 'const unsigned char**'
../../ptclib/pssl.cxx:492: error:   initializing argument 2 of 'X509* d2i_X509(X509**, const unsigned char**, long int)'
make[2]: *** [/reserve/garnome-2.13.3/bootstrap/pwlib/work/main.d/pwlib-1.8.7/lib/obj_linux_x86_r/pssl.o] Error 1
make[2]: Leaving directory `/reserve/garnome-2.13.3/bootstrap/pwlib/work/main.d/pwlib-1.8.7/src/ptlib/unix'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/reserve/garnome-2.13.3/bootstrap/pwlib/work/main.d/pwlib-1.8.7'
make: *** [optshared] Error 2
zsh: exit 2     LANG=C make

-- 


			Olivier Lecarme




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]