[GnomeMeeting-list] Unable to build pwlib



I help maintain a source based distribution and lately people have been
writing bugs about not being able to build pwlib.  I was always able to
build until the last few days, but not any more.  I wanted to wait until the
new release before I wrote to the list.  Tonight I tried 1.8.7 with no luck.

Here is the error:
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall  -fPIC -I/usr/src/pwlib-1.8.7/include
-Os  -O -march=athlon -mmmx -m3dnow -pipe -Os -felide-constructors -x c++ -c
../../ptclib/pssl.cxx -o /usr/src/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]: *** [/usr/src/pwlib-1.8.7/lib/obj_linux_x86_r/pssl.o] Error 1

Any ideas?

George Sherwood
SMGL Chat guru
http://www.sourcemage.org





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