Re: Garnome 2.13.3 on a Debian unstable distribution : errors in pwlib
- From: "Joseph E. Sacco, Ph.D." <joseph_sacco comcast net>
- To: garnome-list gnome org
- Subject: Re: Garnome 2.13.3 on a Debian unstable distribution : errors in pwlib
- Date: Thu, 29 Dec 2005 10:06:13 -0500
Olivier,
What version of gcc (g++) are you using? The GNU folks have been
enforcing coding standards as of late.
You need to track down where the definition of BYTE is coming from. If
you know how to use compiler flags like '-E' that would be a place to start.
-Joseph
===============================================================
Olivier Lecarme wrote:
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
--
joseph_sacco [at] comcast [dot] net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]