LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-02-2008, 03:01 PM   #1
guille4ty
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Rep: Reputation: 15
Unhappy Beecrypt compilation problems


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

Last edited by guille4ty; 08-02-2008 at 03:03 PM. Reason: Adding More Details
 
Old 10-10-2008, 06:47 AM   #2
fandar
Member
 
Registered: Oct 2006
Posts: 61

Rep: Reputation: 15
Hi, i have same problem. Did you solve it? Thank You
 
Old 10-11-2008, 07:33 PM   #3
guille4ty
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Original Poster
Rep: Reputation: 15
I haven't really tried but, I'm guessing you could look up what the compilation errors are in the code and then, you could just change them from private to public I'm not 100% sure, because I forgot how I compiled battle for wesnoth... I'll see what I can do
 
  


Reply

Tags
compile, errors


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation problems roqin Ubuntu 2 06-16-2008 07:50 PM
libjingle 0.3.0 compilation problems MarkoSan Debian 0 06-17-2006 02:22 PM
C++ compilation problems madhatter301 Programming 4 03-16-2005 06:13 PM
Compilation Problems kamransoomro84 Programming 9 05-04-2004 07:39 PM
X compilation problems da Perp Linux From Scratch 2 07-16-2002 03:46 AM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration