On 05/23/2013 03:26 PM, Sean Beck wrote:
Now it won't compile because it can't find OpenSSL files, but I have
OpenSSL installed:

decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:42:25: error:
openssl/ssl.h: No such file or directory
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:43:25: error:
openssl/evp.h: No such file or directory
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:44:26: error:
openssl/rand.h: No such file or directory
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:45:26: error:
openssl/conf.h: No such file or directory
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:84: error: ISO C++
forbids declaration of ‘SSL_CTX’ with no type
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:84: error: expected
‘;’ before ‘*’ token
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp: In constructor
‘decaf::internal::net::ssl::openssl::ContextData::ContextData(int)’:
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:101: error: class
‘decaf::internal::net::ssl::openssl::ContextData’ does not have any field
named ‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp: In destructor
‘decaf::internal::net::ssl::openssl::ContextData::~ContextData()’:
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:110: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:110: error:
‘SSL_CTX_free’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp: In static member
function ‘static void
decaf::internal::net::ssl::openssl::ContextData::lockCallback(int, int,
const char*, int)’:
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:119: error:
‘CRYPTO_LOCK’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp: In destructor
‘virtual
decaf::internal::net::ssl::openssl::OpenSSLContextSpi::~OpenSSLContextSpi()’:
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:162: error:
‘CRYPTO_set_locking_callback’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:163: error:
‘EVP_cleanup’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp: In member function
‘virtual void
decaf::internal::net::ssl::openssl::OpenSSLContextSpi::providerInit(decaf::security::SecureRandom*)’:
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:188: error:
‘SSL_load_error_strings’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:189: error:
‘SSL_library_init’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:190: error:
‘OpenSSL_add_all_algorithms’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:193: error:
‘CRYPTO_num_locks’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:195: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:195: error:
‘SSLv23_method’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:195: error:
‘SSL_CTX_new’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:198: error:
‘CRYPTO_set_id_callback’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:199: error:
‘CRYPTO_set_locking_callback’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:202: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:202: error:
‘SSL_CTX_set_default_verify_paths’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:203: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:203: error:
‘SSL_OP_ALL’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:203: error:
‘SSL_OP_NO_SSLv2’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:203: error:
‘SSL_CTX_set_options’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:204: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:204: error:
‘SSL_MODE_AUTO_RETRY’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:204: error:
‘SSL_CTX_set_mode’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:207: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:207: error:
‘SSL_CTX_set_default_passwd_cb’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:208: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:208: error:
‘SSL_CTX_set_default_passwd_cb_userdata’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:212: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:212: error:
‘SSL_CTX_set_cipher_list’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:223: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:223: error:
‘SSL_CTX_use_certificate_chain_file’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:226: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:226: error:
‘SSL_FILETYPE_PEM’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:226: error:
‘SSL_CTX_use_PrivateKey_file’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:245: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:245: error:
‘SSL_CTX_load_verify_locations’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:253: error:
‘RAND_seed’ was not declared in this scope
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp: In member function
‘void*
decaf::internal::net::ssl::openssl::OpenSSLContextSpi::getOpenSSLCtx()’:
decaf/internal/net/ssl/openssl/OpenSSLContextSpi.cpp:314: error: ‘class
decaf::internal::net::ssl::openssl::ContextData’ has no member named
‘openSSLContext’
make[2]: ***
[decaf/internal/net/ssl/openssl/libactivemq_cpp_la-OpenSSLContextSpi.lo]
Error 1
make[2]: Leaving directory `/root/activemq-cpp/activemq-cpp/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/activemq-cpp/activemq-cpp'
make: *** [all] Error 2



On Thu, May 23, 2013 at 1:04 PM, Sean Beck <seanmckayb...@gmail.com> wrote:

I downloaded the svn copy of the trunk so hopefully that will take care of
it. Thanks for being so helpful!


On Thu, May 23, 2013 at 1:00 PM, Timothy Bish <tabish...@gmail.com> wrote:

On 05/23/2013 02:56 PM, Sean Beck wrote:

While installing ActiveMQ-CPP it terminated because of an error:

activemq/state/**ConnectionStateTracker.cpp: In constructor
‘activemq::state::**MessageCache::MessageCache(**activemq::state::**
ConnectionStateTracker*)’:
activemq/state/**ConnectionStateTracker.cpp:61: error: class
‘activemq::state::**MessageCache’ does not have any field named
‘LinkedHashMap’
make[1]: *** [activemq/state/libactivemq_**
cpp_la-ConnectionStateTracker.**lo]
Error 1
make[1]: Leaving directory `/root/activemq-cpp-library-3.**7.0/src/main'
make: *** [install-recursive] Error 1

Is there a fix for this or should I download an earlier version? I
downloaded the most recent release


On Thu, May 23, 2013 at 12:22 PM, Timothy Bish <tabish...@gmail.com>
wrote:

  On 05/23/2013 02:15 PM, Sean Beck wrote:
  I am new to ActiveMQ and am trying to use it with some C programs I am
working on.

I was unable to find a download link for the source, so I just
copy-pasted
the files one-by-one from the svn repo. Also, is there some sort of
installation process I need to do in order to use this source? Or do I
have
to compile the object files one-by-one as well?

Help is appreciated! Thanks!

   That code hasn't been maintained in quite some time, doubt anyone
knows

much about it.

There are C clients for STOMP that you can use, or you can use the
ActiveMQ-CPP library with the C wrapper FuseMQ-C library.

https://github.com/fusesource/****fusemq-c<https://github.com/fusesource/**fusemq-c>
<https://github.com/**fusesource/fusemq-c<https://github.com/fusesource/fusemq-c>


--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.b...@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/

www.camelone.org : The open source integration conference:



The fix is on trunk, or you can apply the patch from this issue.
https://issues.apache.org/**jira/browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>


--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.b...@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/

www.camelone.org : The open source integration conference:


You probably have an older version installed than 0.9.8 or your installation is modified in some way. You can disable it in the configure script or you can install a supported version.

--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.b...@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/

www.camelone.org : The open source integration conference:

Reply via email to