When I try to compile Beecrypt I get the following errors:
Code:
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DOPTIMIZE_I386 -O2 -DNDEBUG -Wa,--noexecstack -c CertificateFactory.cxx -fPIC -DPIC -o .libs/CertificateFactory.o
../../../beecrypt/c++/security/Security.h: In static member function 'static beecrypt::security::cert::CertificateFactory* beecrypt::security::cert::CertificateFactory::getInstance(const beecrypt::lang::String&)':
../../../beecrypt/c++/security/Security.h:81: error: 'struct beecrypt::security::Security::spi' is private
CertificateFactory.cxx:48: error: within this context
../../../beecrypt/c++/security/Security.h:89: error: 'static beecrypt::security::Security::spi* beecrypt::security::Security::getSpi(const beecrypt::lang::String&, const beecrypt::lang::String&)' is private
CertificateFactory.cxx:48: error: within this context
../../../beecrypt/c++/security/Security.h: In static member function 'static beecrypt::security::cert::CertificateFactory* beecrypt::security::cert::CertificateFactory::getInstance(const beecrypt::lang::String&, const beecrypt::lang::String&)':
../../../beecrypt/c++/security/Security.h:81: error: 'struct beecrypt::security::Security::spi' is private
CertificateFactory.cxx:63: error: within this context
../../../beecrypt/c++/security/Security.h:90: error: 'static beecrypt::security::Security::spi* beecrypt::security::Security::getSpi(const beecrypt::lang::String&, const beecrypt::lang::String&, const beecrypt::lang::String&)' is private
CertificateFactory.cxx:63: error: within this context
../../../beecrypt/c++/security/Security.h: In static member function 'static beecrypt::security::cert::CertificateFactory* beecrypt::security::cert::CertificateFactory::getInstance(const beecrypt::lang::String&, const beecrypt::security::Provider&)':
../../../beecrypt/c++/security/Security.h:81: error: 'struct beecrypt::security::Security::spi' is private
CertificateFactory.cxx:78: error: within this context
../../../beecrypt/c++/security/Security.h:91: error: 'static beecrypt::security::Security::spi* beecrypt::security::Security::getSpi(const beecrypt::lang::String&, const beecrypt::lang::String&, const beecrypt::security::Provider&)' is private
CertificateFactory.cxx:78: error: within this context
make[4]: *** [CertificateFactory.lo] Error 1
make[4]: Leaving directory `/home/guille4ty/Desktop/beecrypt-4.1.2/c++/security/cert'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/guille4ty/Desktop/beecrypt-4.1.2/c++/security'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/guille4ty/Desktop/beecrypt-4.1.2/c++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/guille4ty/Desktop/beecrypt-4.1.2'
make: *** [all] Error 2
that's a bit of output but thanks for the help!
--Edit--
seems to be a coding error (bug) (class is private but used as public), i'll look into it