Evan Carew
unread,Jan 31, 2013, 9:59:27 AM1/31/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I'm not sure if this is a bug or not, however, the last time it poped up in the email list history was in 2007. I'm getting a bug in compiling ACE with SSL in my environment. Initially, I installed the ACE libraries and dev environment for Ununtu 12.10, along with the OpenSSL libraries. My intent was to start playing around with an ACE based SSL web client. When the libraries shipped with this version of Ubuntu started wigging out in the HTTPS_Session area, I figured that this was just the builders bad form for not running the ACE tests. So, off I went to build ACE, with SSL.
Currently, ace without SSL builds fine, but as soon as I add in the ssl=1 to the make line, I get linker errors. Looking at the source code, this appears to be some kind of confusion over defines in the ssl.h file belonging to the OpenSSL package. Anyway, here's the PRF:
ACE VERSION: 6.1.0
HOST MACHINE and OPERATING SYSTEM:
Ubuntu 12.10
TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
Same
COMPILER NAME AND VERSION (AND PATCHLEVEL):
gcc 4.7.2
THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
specific file, simply state which one]: ace/config-linux.h
THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
use a link to a platform-specific file, simply state which one
(unless this isn't used in this case, e.g., with Microsoft Visual
C++)]:include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles): N/A
AREA/CLASS/EXAMPLE AFFECTED:
SSL build fails
DOES THE PROBLEM AFFECT:
COMPILATION? Compilation of the SSL_Context.cpp source file
This is an ACE library build problem
SYNOPSIS:
Building the ace library with the command "ssl=1 make" from ACE_ROOT fails in the SSL context session. Looks like a problem with the defines in the OpenSSL file "ssl.h".
DESCRIPTION:
Building the ace library with the command "ssl=1 make" from ACE_ROOT yields the following compilation errors:
g++ -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -O3 -ggdb -pthread -Wall -W -Wpointer-arith -pipe -D_GNU_SOURCE -I/home/ecarew/Projects/ACE_wrappers -D__ACE_INLINE__ -I../.. -I/usr/kerberos/include -DACE_SSL_BUILD_DLL -c -fPIC -o .shobj/SSL_Context.o SSL_Context.cpp
SSL_Context.cpp: In member function ‘int ACE_SSL_Context::set_mode(int)’:
SSL_Context.cpp:240:16: error: ‘::SSLv2_client_method’ has not been declared
SSL_Context.cpp:243:16: error: ‘::SSLv2_server_method’ has not been declared
SSL_Context.cpp:246:16: error: ‘::SSLv2_method’ has not been declared
make[1]: *** [.shobj/SSL_Context.o] Error 1
make[1]: Leaving directory `/home/ecarew/Projects/ACE_wrappers/ace/SSL'
make: *** [SSL] Error 2