Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ace-users] ACE SSL build errors on Ubuntu 12.10 with ACE+TAO version 6.1.0

531 views
Skip to first unread message

Evan Carew

unread,
Jan 31, 2013, 9:59:27 AM1/31/13
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

Evan Carew

unread,
Jan 31, 2013, 9:51:44 AM1/31/13
to ace-...@list.isis.vanderbilt.edu

Johnny Willemsen

unread,
Jan 31, 2013, 10:50:43 AM1/31/13
to Evan Carew, ace-...@list.isis.vanderbilt.edu
Hi,

Thanks for usign the PRF form. The ubuntu version of SSL doesn't ship
sslv2 support. We have added support for this in a more recent version
of ACE. Please upgrade to ACE 6.1.7, that does compile and run on Ubuntu
with ssl enabled.

Best regards,

Johnny Willemsen
Remedy IT
> _______________________________________________
> ace-users mailing list
> ace-...@list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/ace-users
>

Steve Huston

unread,
Jan 31, 2013, 2:55:53 PM1/31/13
to Evan Carew, ace-...@list.isis.vanderbilt.edu

Try:

 

make ssl=1

0 new messages