You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Sean Beck <se...@gmail.com> on 2013/05/23 20:15:33 UTC

Help with OpenWire C

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!

Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
OK I fixed it by replacing ~/ with /root/

Now it won't make.......just one thing after another! Do you actually use
FuseMQ?


On Thu, May 23, 2013 at 2:38 PM, Sean Beck <se...@gmail.com> wrote:

> Well I am using ./configure
> --with-activemqcpp=~/activemq-cpp/activemq-cpp/activemqcpp-config to run
> configuration and it is complaining that the flag is incorrect (must
> specify install prefix, build directory, or activemqcpp-config file). I am
> giving it a legitimate config file but it still is complaining.
>
>
> On Thu, May 23, 2013 at 2:33 PM, Timothy Bish <ta...@gmail.com> wrote:
>
>> On 05/23/2013 04:16 PM, Sean Beck wrote:
>>
>>> OK that did it. ActiveMQ-CPP is now installed. Now I'm trying to install
>>> FuseMQ and it keeps saying ActiveMQ-CPP isn't installed. Should I give
>>> the
>>> directory I unpacked activemq-cpp to with --with-activemqcpp?
>>>
>>>
>>> On Thu, May 23, 2013 at 1:52 PM, Sean Beck <se...@gmail.com>
>>> wrote:
>>>
>>>  Just reran configure and did a make clean.
>>>>
>>>> Making again now. OS is CentOS 6.4
>>>>
>>>>
>>>> On Thu, May 23, 2013 at 1:48 PM, Timothy Bish <ta...@gmail.com>
>>>> wrote:
>>>>
>>>>  On 05/23/2013 03:38 PM, Sean Beck wrote:
>>>>>
>>>>>  My version is 1.0.0. I installed openssl-devel and it fixed that
>>>>>> problem
>>>>>> but now it's a different issue:
>>>>>>
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `ERR_error_string_n'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509V3_EXT_get'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `BIO_new'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `OBJ_obj2nid'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_set_default_passwd_****cb'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_new'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_use_certificate_****chain_file'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_set_verify'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_shutdown'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_get_ext'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_get_error'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_ctrl'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `BIO_s_socket'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_set_cipher_list'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_load_verify_****locations'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_set_bio'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_use_PrivateKey_file'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSLv23_method'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_pending'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_read'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `ASN1_item_d2i'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_load_error_strings'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_library_init'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_connect'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `OPENSSL_add_all_algorithms_****noconf'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `EVP_cleanup'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_get_subject_name'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `CRYPTO_set_id_callback'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_set_default_passwd_****cb_userdata'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_write'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_EXTENSION_get_object'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_free'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_new'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to `sk_num'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `CRYPTO_set_locking_callback'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `RAND_seed'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `OBJ_nid2sn'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `sk_value'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_free'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_get_ext_count'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_get_peer_certificate'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_NAME_get_text_by_NID'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_free'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `CRYPTO_num_locks'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `ERR_get_error'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_set_default_verify_****paths'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_set_shutdown'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `BIO_int_ctrl'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_accept'
>>>>>>
>>>>>> collect2: ld returned 1 exit status
>>>>>> make[2]: *** [example] Error 1
>>>>>> make[2]: Leaving directory `/root/activemq-cpp/activemq-****
>>>>>> cpp/src/examples'
>>>>>>
>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>> make[1]: Leaving directory `/root/activemq-cpp/activemq-****cpp'
>>>>>> make: *** [all] Error 2
>>>>>>
>>>>>> It seems like a lot of things referring to openssl again
>>>>>>
>>>>>>
>>>>>> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <ta...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>   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 <seanmckaybeck@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 <tabish121@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 <
>>>>>>>>>>> tabish121@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>
>>>>>>>>>>>> >
>>>>>>>>>>>> <https://github.**com/**fusesource/****fusemq-c<https:**
>>>>>>>>>>>> //github.com/fusesource/******fusemq-c<https://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>> >
>>>>>>>>>>>> <https://github.**com/****fusesource/**fusemq-c<https://****
>>>>>>>>>>>> github.com/fusesource/******fusemq-c<http://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>> <https://github.com/**fusesource/**fusemq-c<https://github.com/fusesource/**fusemq-c>
>>>>>>>>>>>> >
>>>>>>>>>>>> <https://github.com/********fusesource/fusemq-c<https://github.com/******fusesource/fusemq-c>
>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<https://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>> >
>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>> <https://**github.com/**fusesource/**fusemq-c<https://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>> >
>>>>>>>>>>>> <https://**github.com/****fusesource/fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>> **>
>>>>>>>>>>>>
>>>>>>>>>>>> <https://**github.com/**fusesource/fusemq-c<http://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.bish@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>
>>>>>>>>>>> <https**://issues.apache.org/****jira/**browse/AMQCPP-483<https://issues.apache.org/****jira/browse/AMQCPP-483>
>>>>>>>>>>> >
>>>>>>>>>>>
>>>>>>>>>> <https:/**/issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>> <http**s://issues.apache.org/**jira/**browse/AMQCPP-483<https://issues.apache.org/**jira/browse/AMQCPP-483>
>>>>>>>>>> >
>>>>>>>>>> <https:/**/issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>> <http**://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>> >
>>>>>>>>>> <https**://issues.apache.org/**jira/**browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>> <https**://issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>>>>>> >
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Tim Bish
>>>>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>>>>> tim.bish@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.bish@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:
>>>>>>>
>>>>>>>
>>>>>>>   Hard to say, each distro does things its own way. Did you rerun
>>>>>>>
>>>>>> configure and do a clean?
>>>>>
>>>>>
>>>>> --
>>>>> Tim Bish
>>>>> Sr Software Engineer | RedHat Inc.
>>>>> tim.bish@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:
>>>>>
>>>>>
>>>>>  If you didn't install the ActiveMQ-CPP into the standard system
>> location like /usr or /usr/local then you need to use the with option.  I'm
>> not 100% sure on the configure checks in fusemq-c and whether it will
>> reject the v3.7.0 library or not, should say in the configure output if the
>> version is not to its liking.
>>
>>
>> --
>> Tim Bish
>> Sr Software Engineer | RedHat Inc.
>> tim.bish@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:
>>
>>
>

Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
It worked now. All is good. Thanks for being so helpful Timothy!


On Thu, May 23, 2013 at 3:10 PM, Sean Beck <se...@gmail.com> wrote:

> does --prefix=/usr install it in the /usr directory? I moved everything
> into /usr/local/include and am reinstalling
>
>
> On Thu, May 23, 2013 at 3:06 PM, Timothy Bish <ta...@gmail.com> wrote:
>
>> On 05/23/2013 04:38 PM, Sean Beck wrote:
>>
>>> Well I am using ./configure
>>> --with-activemqcpp=~/activemq-**cpp/activemq-cpp/activemqcpp-**config
>>> to run
>>> configuration and it is complaining that the flag is incorrect (must
>>> specify install prefix, build directory, or activemqcpp-config file). I
>>> am
>>> giving it a legitimate config file but it still is complaining.
>>>
>>>
>>> On Thu, May 23, 2013 at 2:33 PM, Timothy Bish <ta...@gmail.com>
>>> wrote:
>>>
>>>  On 05/23/2013 04:16 PM, Sean Beck wrote:
>>>>
>>>>  OK that did it. ActiveMQ-CPP is now installed. Now I'm trying to
>>>>> install
>>>>> FuseMQ and it keeps saying ActiveMQ-CPP isn't installed. Should I give
>>>>> the
>>>>> directory I unpacked activemq-cpp to with --with-activemqcpp?
>>>>>
>>>>>
>>>>> On Thu, May 23, 2013 at 1:52 PM, Sean Beck <se...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>   Just reran configure and did a make clean.
>>>>>
>>>>>> Making again now. OS is CentOS 6.4
>>>>>>
>>>>>>
>>>>>> On Thu, May 23, 2013 at 1:48 PM, Timothy Bish <ta...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>   On 05/23/2013 03:38 PM, Sean Beck wrote:
>>>>>>
>>>>>>>   My version is 1.0.0. I installed openssl-devel and it fixed that
>>>>>>>
>>>>>>>> problem
>>>>>>>> but now it's a different issue:
>>>>>>>>
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `ERR_error_string_n'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509V3_EXT_get'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `BIO_new'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `OBJ_obj2nid'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_set_default_passwd_******cb'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_new'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_use_certificate_******chain_file'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_set_verify'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_shutdown'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_get_ext'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_get_error'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_ctrl'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `BIO_s_socket'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_set_cipher_list'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_load_verify_******locations'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_set_bio'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_use_PrivateKey_file'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSLv23_method'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_pending'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_read'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `ASN1_item_d2i'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_load_error_strings'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_library_init'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_connect'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `OPENSSL_add_all_algorithms_******noconf'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `EVP_cleanup'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_get_subject_name'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `CRYPTO_set_id_callback'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_set_default_passwd_******cb_userdata'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_write'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_EXTENSION_get_object'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_free'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_new'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `sk_num'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `CRYPTO_set_locking_callback'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `RAND_seed'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `OBJ_nid2sn'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `sk_value'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_free'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_get_ext_count'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_get_peer_certificate'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_NAME_get_text_by_NID'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_free'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `CRYPTO_num_locks'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `ERR_get_error'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_set_default_verify_******paths'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_set_shutdown'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `BIO_int_ctrl'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>>
>>>>>>>> `SSL_accept'
>>>>>>>>
>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>> make[2]: *** [example] Error 1
>>>>>>>> make[2]: Leaving directory `/root/activemq-cpp/activemq-******
>>>>>>>>
>>>>>>>> cpp/src/examples'
>>>>>>>>
>>>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>>>> make[1]: Leaving directory `/root/activemq-cpp/activemq-******cpp'
>>>>>>>> make: *** [all] Error 2
>>>>>>>>
>>>>>>>> It seems like a lot of things referring to openssl again
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <ta...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>    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 <
>>>>>>>>>> seanmckaybeck@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 <
>>>>>>>>>>> tabish121@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 <
>>>>>>>>>>>>> tabish121@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>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <https://**github.com/**fusesource/********fusemq-c<http://github.com/fusesource/********fusemq-c>
>>>>>>>>>>>>>> <ht**tps://github.com/fusesource/********fusemq-c<https://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <https://github.**com/****fusesource/****fusemq-c<https:****
>>>>>>>>>>>>>> //github.com/fusesource/********fusemq-c<http://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>>> <https://github.com/**fusesource/****fusemq-c<https://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <https://github.**com/******fusesource/**fusemq-c<https://**
>>>>>>>>>>>>>> ****
>>>>>>>>>>>>>> github.com/fusesource/********fusemq-c<http://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>>> <http://github.com/**fusesource/****fusemq-c<http://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <https://github.com/****fusesource/**fusemq-c<https://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/fusesource/****fusemq-c<https://github.com/fusesource/**fusemq-c>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <https://github.com/**********fusesource/fusemq-c<https://github.com/********fusesource/fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<https://github.com/******fusesource/fusemq-c>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<http://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<https://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<http://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>>> <http://**github.com/**fusesource/****fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/**fusesource/**fusemq-c<https://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <https://**github.com/******fusesource/fusemq-c<http://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>>>> <http://**github.com/**fusesource/**fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <http://**github.com/**fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <https://**github.com/****fusesource/fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>> <https://**github.com/**fusesource/fusemq-c<http://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.bish@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>
>>>>>>>>>>>>>> <htt**ps://issues.apache.org/********jira/browse/AMQCPP-483<https://issues.apache.org/******jira/browse/AMQCPP-483>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>
>>>>>>>>>>>>> <https**://issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> <ht**tps://issues.apache.org/******jira/browse/AMQCPP-483<https://issues.apache.org/****jira/browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>>
>>>>>>>>>>>> <https:/**/issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <ht**tp://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>> >
>>>>>>>>>>>> <http**s://issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <http**s://issues.apache.org/**jira/**browse/AMQCPP-483<https://issues.apache.org/**jira/browse/AMQCPP-483>
>>>>>>>>>>>> >
>>>>>>>>>>>> <https:/**/issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <ht**tp://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>> >
>>>>>>>>>>>> <http**://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/jira/****browse/AMQCPP-483>
>>>>>>>>>>>> <htt**p://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>>> >
>>>>>>>>>>>> <https**://issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <http**://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>>> >
>>>>>>>>>>>>
>>>>>>>>>>>> <https**://issues.apache.org/**jira/**browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <https**://issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>>>>>>>> >
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Tim Bish
>>>>>>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>>>>>>> tim.bish@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.bish@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:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>    Hard to say, each distro does things its own way. Did you rerun
>>>>>>>>>
>>>>>>>>>  configure and do a clean?
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Tim Bish
>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>> tim.bish@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:
>>>>>>>
>>>>>>>
>>>>>>>   If you didn't install the ActiveMQ-CPP into the standard system
>>>>>>>
>>>>>> location like /usr or /usr/local then you need to use the with
>>>> option.  I'm
>>>> not 100% sure on the configure checks in fusemq-c and whether it will
>>>> reject the v3.7.0 library or not, should say in the configure output if
>>>> the
>>>> version is not to its liking.
>>>>
>>>>
>>>> --
>>>> Tim Bish
>>>> Sr Software Engineer | RedHat Inc.
>>>> tim.bish@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:
>>>>
>>>>
>>>>  Did you actually install the activemq-cpp by doing a make install if
>> not then things are tricky, its best to do a configure then make then make
>> install as with any autoconf based build
>>
>> ./configure --prefix=/usr
>> make
>> sudo make install
>>
>> Then configure fusemq-c
>>
>>
>> --
>> Tim Bish
>> Sr Software Engineer | RedHat Inc.
>> tim.bish@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:
>>
>>
>

Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
I'm having trouble getting my program to compile/link. In my makefile I
have it including /usr/local/include and /usr/local/lib. It seems to
compile everything but when I start my program it says that there is an
undefined symbol: cms_destroyProducer. What do you think the issue is? It
should have all the library info, etc. it needs, and cms_destroyProducer()
is definitely a part of the library.


On Thu, May 23, 2013 at 3:23 PM, Timothy Bish <ta...@gmail.com> wrote:

> On 05/23/2013 05:10 PM, Sean Beck wrote:
>
>> does --prefix=/usr install it in the /usr directory? I moved everything
>> into /usr/local/include and am reinstalling
>>
>>
>> On Thu, May 23, 2013 at 3:06 PM, Timothy Bish <ta...@gmail.com>
>> wrote:
>>
>>  On 05/23/2013 04:38 PM, Sean Beck wrote:
>>>
>>>  Well I am using ./configure
>>>> --with-activemqcpp=~/activemq-****cpp/activemq-cpp/**activemqcpp-**config
>>>> to
>>>>
>>>> run
>>>> configuration and it is complaining that the flag is incorrect (must
>>>> specify install prefix, build directory, or activemqcpp-config file). I
>>>> am
>>>> giving it a legitimate config file but it still is complaining.
>>>>
>>>>
>>>> On Thu, May 23, 2013 at 2:33 PM, Timothy Bish <ta...@gmail.com>
>>>> wrote:
>>>>
>>>>   On 05/23/2013 04:16 PM, Sean Beck wrote:
>>>>
>>>>>   OK that did it. ActiveMQ-CPP is now installed. Now I'm trying to
>>>>> install
>>>>>
>>>>>> FuseMQ and it keeps saying ActiveMQ-CPP isn't installed. Should I give
>>>>>> the
>>>>>> directory I unpacked activemq-cpp to with --with-activemqcpp?
>>>>>>
>>>>>>
>>>>>> On Thu, May 23, 2013 at 1:52 PM, Sean Beck <se...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>    Just reran configure and did a make clean.
>>>>>>
>>>>>>  Making again now. OS is CentOS 6.4
>>>>>>>
>>>>>>>
>>>>>>> On Thu, May 23, 2013 at 1:48 PM, Timothy Bish <ta...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>    On 05/23/2013 03:38 PM, Sean Beck wrote:
>>>>>>>
>>>>>>>     My version is 1.0.0. I installed openssl-devel and it fixed that
>>>>>>>>
>>>>>>>>  problem
>>>>>>>>> but now it's a different issue:
>>>>>>>>>
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `ERR_error_string_n'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `X509V3_EXT_get'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `BIO_new'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `OBJ_obj2nid'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_CTX_set_default_passwd_********cb'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_CTX_new'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_CTX_use_certificate_********chain_file'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_set_verify'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_shutdown'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `X509_get_ext'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_get_error'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_CTX_ctrl'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `BIO_s_socket'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_CTX_set_cipher_list'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_CTX_load_verify_********locations'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_set_bio'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_CTX_use_PrivateKey_file'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSLv23_method'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_pending'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_read'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `ASN1_item_d2i'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_load_error_strings'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_library_init'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_connect'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `OPENSSL_add_all_algorithms_********noconf'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `EVP_cleanup'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `X509_get_subject_name'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `CRYPTO_set_id_callback'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_CTX_set_default_passwd_********cb_userdata'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_write'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `X509_EXTENSION_get_object'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_free'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_new'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `sk_num'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `CRYPTO_set_locking_callback'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `RAND_seed'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `OBJ_nid2sn'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `sk_value'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `X509_free'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `X509_get_ext_count'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_get_peer_certificate'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `X509_NAME_get_text_by_NID'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_CTX_free'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `CRYPTO_num_locks'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `ERR_get_error'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_CTX_set_default_verify_********paths'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `SSL_set_shutdown'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>> `BIO_int_ctrl'
>>>>>>>>> ../main/.libs/libactivemq-cpp.********so: undefined reference to
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> `SSL_accept'
>>>>>>>>>
>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>> make[2]: *** [example] Error 1
>>>>>>>>> make[2]: Leaving directory `/root/activemq-cpp/activemq-********
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> cpp/src/examples'
>>>>>>>>>
>>>>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>>>>> make[1]: Leaving directory `/root/activemq-cpp/activemq-***
>>>>>>>>> *****cpp'
>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>
>>>>>>>>> It seems like a lot of things referring to openssl again
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <tabish121@gmail.com
>>>>>>>>> >
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>     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 <
>>>>>>>>>>> seanmckaybeck@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 <
>>>>>>>>>>>> tabish121@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 <
>>>>>>>>>>>>>> tabish121@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>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://**github.com/**fusesource/**********fusemq-c<http://github.com/fusesource/**********fusemq-c>
>>>>>>>>>>>>>>> <**https://github.com/fusesource/**********fusemq-c<https://github.com/fusesource/********fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://**github.com/****fusesource/********fusemq-c<http://github.com/**fusesource/********fusemq-c>
>>>>>>>>>>>>>>> <ht**tp://github.com/fusesource/**********fusemq-c<http://github.com/fusesource/********fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <ht**tps://github.com/**fusesource/********fusemq-c<http://github.com/fusesource/********fusemq-c>
>>>>>>>>>>>>>>> <ht**tps://github.com/fusesource/********fusemq-c<https://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://github.**com/******fusesource/****fusemq-c<https:**
>>>>>>>>>>>>>>> ****
>>>>>>>>>>>>>>> //github.com/fusesource/**********fusemq-c<http://github.com/fusesource/********fusemq-c>
>>>>>>>>>>>>>>> <http://github.com/**fusesource/******fusemq-c<http://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://github.com/****fusesource/****fusemq-c<https://github.com/**fusesource/****fusemq-c>
>>>>>>>>>>>>>>> <https:**//github.com/fusesource/******fusemq-c<https://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://github.**com/********fusesource/**fusemq-c<https://
>>>>>>>>>>>>>>> ****
>>>>>>>>>>>>>>> ****
>>>>>>>>>>>>>>> github.com/fusesource/**********fusemq-c<http://github.com/fusesource/********fusemq-c>
>>>>>>>>>>>>>>> <http://github.com/**fusesource/******fusemq-c<http://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <http://github.com/****fusesource/****fusemq-c<http://github.com/**fusesource/****fusemq-c>
>>>>>>>>>>>>>>> <http:/**/github.com/fusesource/******fusemq-c<http://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://github.com/******fusesource/**fusemq-c<https://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>>>> <https://**github.com/**fusesource/****fusemq-c<https://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://**github.com/**fusesource/****fusemq-c<http://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>>>>> <https:**//github.com/fusesource/****fusemq-c<https://github.com/fusesource/**fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://github.com/************fusesource/fusemq-c<https://github.com/**********fusesource/fusemq-c>
>>>>>>>>>>>>>>> <https://**github.com/********fusesource/**fusemq-c<https://github.com/********fusesource/fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://**github.com/********fusesource/**fusemq-c<http://github.com/******fusesource/**fusemq-c>
>>>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<https://github.com/******fusesource/fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://**github.com/********fusesource/**fusemq-c<http://github.com/******fusesource/**fusemq-c>
>>>>>>>>>>>>>>> <http://**github.com/****fusesource/****fusemq-c<http://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<http://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<https://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://**github.com/********fusesource/**fusemq-c<http://github.com/******fusesource/**fusemq-c>
>>>>>>>>>>>>>>> <http://**github.com/****fusesource/****fusemq-c<http://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <http://**github.com/****fusesource/****fusemq-c<http://github.com/**fusesource/****fusemq-c>
>>>>>>>>>>>>>>> <http:/**/github.com/**fusesource/****fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<http://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>>>> <http://**github.com/**fusesource/****fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>>> <https://**github.com/**fusesource/**fusemq-c<https://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <https://**github.com/********fusesource/fusemq-c<http://github.com/******fusesource/fusemq-c>
>>>>>>>>>>>>>>> <http://**github.com/****fusesource/**fusemq-c<http://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <http://**github.com/****fusesource/**fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>>> <http://**github.com/**fusesource/**fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <http://**github.com/****fusesource/fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <http://**github.com/**fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <https://**github.com/******fusesource/fusemq-c<http://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>>>>> <http://**github.com/**fusesource/**fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <http://**github.com/**fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>>> <https://**github.com/****fusesource/fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>>> <https://**github.com/**fusesource/fusemq-c<http://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.bish@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>
>>>>>>>>>>>>>>> <h**ttps://issues.apache.org/*******
>>>>>>>>>>>>>>> ***jira/browse/AMQCPP-483<https://issues.apache.org/********jira/browse/AMQCPP-483>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> <htt**ps://issues.apache.org/***
>>>>>>>>>>>>>>> *******jira/browse/AMQCPP-483<http://issues.apache.org/********jira/browse/AMQCPP-483>
>>>>>>>>>>>>>>> <**https://issues.apache.org/********jira/browse/AMQCPP-483<https://issues.apache.org/******jira/browse/AMQCPP-483>
>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <https**://issues.apache.org/********jira/**browse/AMQCPP-483<http://issues.apache.org/******jira/**browse/AMQCPP-483>
>>>>>>>>>>>>>> <**http://issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> <ht**tps://issues.apache.org/********jira/browse/AMQCPP-483<http://issues.apache.org/******jira/browse/AMQCPP-483>
>>>>>>>>>>>>>> <ht**tps://issues.apache.org/******jira/browse/AMQCPP-483<https://issues.apache.org/****jira/browse/AMQCPP-483>
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>
>>>>>>>>>>>>> <https:/**/issues.apache.org/********jira/**browse/AMQCPP-483<http://issues.apache.org/******jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> <**http://issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <ht**tp://issues.apache.org/****jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/****browse/AMQCPP-483>
>>>>>>>>>>>>> <htt**p://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <http**s://issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> <ht**tp://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <http**s://issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> <http**s://issues.apache.org/**jira/**browse/AMQCPP-483<https://issues.apache.org/**jira/browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https:/**/issues.apache.org/********jira/**browse/AMQCPP-483<http://issues.apache.org/******jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> <**http://issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <ht**tp://issues.apache.org/****jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/****browse/AMQCPP-483>
>>>>>>>>>>>>> <htt**p://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <http**://issues.apache.org/****jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/****browse/AMQCPP-483>
>>>>>>>>>>>>> <htt**p://issues.apache.org/jira/******browse/AMQCPP-483<http://issues.apache.org/jira/****browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <htt**p://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/jira/****browse/AMQCPP-483>
>>>>>>>>>>>>> <htt**p://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https**://issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> <ht**tp://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>>
>>>>>>>>>>>>> <http**://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/jira/****browse/AMQCPP-483>
>>>>>>>>>>>>> <htt**p://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https**://issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> <http**://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https**://issues.apache.org/**jira/**browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> <https**://issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Tim Bish
>>>>>>>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>>>>>>>> tim.bish@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.bish@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:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>     Hard to say, each distro does things its own way. Did you
>>>>>>>>>> rerun
>>>>>>>>>>
>>>>>>>>>>   configure and do a clean?
>>>>>>>>>>
>>>>>>>>> --
>>>>>>>> Tim Bish
>>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>>> tim.bish@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:
>>>>>>>>
>>>>>>>>
>>>>>>>>    If you didn't install the ActiveMQ-CPP into the standard system
>>>>>>>>
>>>>>>>>  location like /usr or /usr/local then you need to use the with
>>>>>>> option.
>>>>>>>
>>>>>>   I'm
>>>>> not 100% sure on the configure checks in fusemq-c and whether it will
>>>>> reject the v3.7.0 library or not, should say in the configure output if
>>>>> the
>>>>> version is not to its liking.
>>>>>
>>>>>
>>>>> --
>>>>> Tim Bish
>>>>> Sr Software Engineer | RedHat Inc.
>>>>> tim.bish@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:
>>>>>
>>>>>
>>>>>   Did you actually install the activemq-cpp by doing a make install if
>>>>>
>>>> not then things are tricky, its best to do a configure then make then
>>> make
>>> install as with any autoconf based build
>>>
>>> ./configure --prefix=/usr
>>> make
>>> sudo make install
>>>
>>> Then configure fusemq-c
>>>
>>>
>>> --
>>> Tim Bish
>>> Sr Software Engineer | RedHat Inc.
>>> tim.bish@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 default is /usr/local which would install headers in
> /usr/local/include and the configure script in /usr/local/bin and the libs
> in /usr/local/lib
>
>
> --
> Tim Bish
> Sr Software Engineer | RedHat Inc.
> tim.bish@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:
>
>

Re: Help with OpenWire C

Posted by Timothy Bish <ta...@gmail.com>.
On 05/23/2013 05:10 PM, Sean Beck wrote:
> does --prefix=/usr install it in the /usr directory? I moved everything
> into /usr/local/include and am reinstalling
>
>
> On Thu, May 23, 2013 at 3:06 PM, Timothy Bish <ta...@gmail.com> wrote:
>
>> On 05/23/2013 04:38 PM, Sean Beck wrote:
>>
>>> Well I am using ./configure
>>> --with-activemqcpp=~/activemq-**cpp/activemq-cpp/activemqcpp-**config to
>>> run
>>> configuration and it is complaining that the flag is incorrect (must
>>> specify install prefix, build directory, or activemqcpp-config file). I am
>>> giving it a legitimate config file but it still is complaining.
>>>
>>>
>>> On Thu, May 23, 2013 at 2:33 PM, Timothy Bish <ta...@gmail.com>
>>> wrote:
>>>
>>>   On 05/23/2013 04:16 PM, Sean Beck wrote:
>>>>   OK that did it. ActiveMQ-CPP is now installed. Now I'm trying to install
>>>>> FuseMQ and it keeps saying ActiveMQ-CPP isn't installed. Should I give
>>>>> the
>>>>> directory I unpacked activemq-cpp to with --with-activemqcpp?
>>>>>
>>>>>
>>>>> On Thu, May 23, 2013 at 1:52 PM, Sean Beck <se...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>    Just reran configure and did a make clean.
>>>>>
>>>>>> Making again now. OS is CentOS 6.4
>>>>>>
>>>>>>
>>>>>> On Thu, May 23, 2013 at 1:48 PM, Timothy Bish <ta...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>    On 05/23/2013 03:38 PM, Sean Beck wrote:
>>>>>>
>>>>>>>    My version is 1.0.0. I installed openssl-devel and it fixed that
>>>>>>>
>>>>>>>> problem
>>>>>>>> but now it's a different issue:
>>>>>>>>
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `ERR_error_string_n'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509V3_EXT_get'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `BIO_new'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `OBJ_obj2nid'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_set_default_passwd_******cb'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_new'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_use_certificate_******chain_file'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_set_verify'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_shutdown'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_get_ext'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_get_error'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_ctrl'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `BIO_s_socket'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_set_cipher_list'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_load_verify_******locations'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_set_bio'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_use_PrivateKey_file'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSLv23_method'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_pending'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_read'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `ASN1_item_d2i'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_load_error_strings'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_library_init'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_connect'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `OPENSSL_add_all_algorithms_******noconf'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `EVP_cleanup'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_get_subject_name'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `CRYPTO_set_id_callback'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_set_default_passwd_******cb_userdata'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_write'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_EXTENSION_get_object'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_free'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_new'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `sk_num'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `CRYPTO_set_locking_callback'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `RAND_seed'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `OBJ_nid2sn'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `sk_value'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_free'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_get_ext_count'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_get_peer_certificate'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `X509_NAME_get_text_by_NID'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_free'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `CRYPTO_num_locks'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `ERR_get_error'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_CTX_set_default_verify_******paths'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `SSL_set_shutdown'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>> `BIO_int_ctrl'
>>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>>
>>>>>>>> `SSL_accept'
>>>>>>>>
>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>> make[2]: *** [example] Error 1
>>>>>>>> make[2]: Leaving directory `/root/activemq-cpp/activemq-******
>>>>>>>>
>>>>>>>> cpp/src/examples'
>>>>>>>>
>>>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>>>> make[1]: Leaving directory `/root/activemq-cpp/activemq-******cpp'
>>>>>>>> make: *** [all] Error 2
>>>>>>>>
>>>>>>>> It seems like a lot of things referring to openssl again
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <ta...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>     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 <
>>>>>>>>>> seanmckaybeck@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 <
>>>>>>>>>>> tabish121@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 <
>>>>>>>>>>>>> tabish121@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>
>>>>>>>>>>>>>> <https://**github.com/**fusesource/********fusemq-c<http://github.com/fusesource/********fusemq-c>
>>>>>>>>>>>>>> <ht**tps://github.com/fusesource/********fusemq-c<https://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>>> <https://github.**com/****fusesource/****fusemq-c<https:****
>>>>>>>>>>>>>> //github.com/fusesource/********fusemq-c<http://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>>> <https://github.com/**fusesource/****fusemq-c<https://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>>>> <https://github.**com/******fusesource/**fusemq-c<https://**
>>>>>>>>>>>>>> ****
>>>>>>>>>>>>>> github.com/fusesource/********fusemq-c<http://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>>> <http://github.com/**fusesource/****fusemq-c<http://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>>>> <https://github.com/****fusesource/**fusemq-c<https://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/fusesource/****fusemq-c<https://github.com/fusesource/**fusemq-c>
>>>>>>>>>>>>>> <https://github.com/**********fusesource/fusemq-c<https://github.com/********fusesource/fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<https://github.com/******fusesource/fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<http://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<https://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<http://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>>> <http://**github.com/**fusesource/****fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/**fusesource/**fusemq-c<https://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>> <https://**github.com/******fusesource/fusemq-c<http://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>>>> <http://**github.com/**fusesource/**fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>> <http://**github.com/**fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <https://**github.com/****fusesource/fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>>> **>
>>>>>>>>>>>>>> <https://**github.com/**fusesource/fusemq-c<http://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.bish@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>
>>>>>>>>>>>>>> <htt**ps://issues.apache.org/********jira/browse/AMQCPP-483<https://issues.apache.org/******jira/browse/AMQCPP-483>
>>>>>>>>>>>>> <https**://issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>>> <ht**tps://issues.apache.org/******jira/browse/AMQCPP-483<https://issues.apache.org/****jira/browse/AMQCPP-483>
>>>>>>>>>>>> <https:/**/issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <ht**tp://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <http**s://issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <http**s://issues.apache.org/**jira/**browse/AMQCPP-483<https://issues.apache.org/**jira/browse/AMQCPP-483>
>>>>>>>>>>>> <https:/**/issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <ht**tp://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <http**://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/jira/****browse/AMQCPP-483>
>>>>>>>>>>>> <htt**p://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <https**://issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <http**://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <https**://issues.apache.org/**jira/**browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <https**://issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Tim Bish
>>>>>>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>>>>>>> tim.bish@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.bish@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:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>     Hard to say, each distro does things its own way. Did you rerun
>>>>>>>>>
>>>>>>>>>   configure and do a clean?
>>>>>>> --
>>>>>>> Tim Bish
>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>> tim.bish@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:
>>>>>>>
>>>>>>>
>>>>>>>    If you didn't install the ActiveMQ-CPP into the standard system
>>>>>>>
>>>>>> location like /usr or /usr/local then you need to use the with option.
>>>>   I'm
>>>> not 100% sure on the configure checks in fusemq-c and whether it will
>>>> reject the v3.7.0 library or not, should say in the configure output if
>>>> the
>>>> version is not to its liking.
>>>>
>>>>
>>>> --
>>>> Tim Bish
>>>> Sr Software Engineer | RedHat Inc.
>>>> tim.bish@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:
>>>>
>>>>
>>>>   Did you actually install the activemq-cpp by doing a make install if
>> not then things are tricky, its best to do a configure then make then make
>> install as with any autoconf based build
>>
>> ./configure --prefix=/usr
>> make
>> sudo make install
>>
>> Then configure fusemq-c
>>
>>
>> --
>> Tim Bish
>> Sr Software Engineer | RedHat Inc.
>> tim.bish@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 default is /usr/local which would install headers in 
/usr/local/include and the configure script in /usr/local/bin and the 
libs in /usr/local/lib

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@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:


Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
does --prefix=/usr install it in the /usr directory? I moved everything
into /usr/local/include and am reinstalling


On Thu, May 23, 2013 at 3:06 PM, Timothy Bish <ta...@gmail.com> wrote:

> On 05/23/2013 04:38 PM, Sean Beck wrote:
>
>> Well I am using ./configure
>> --with-activemqcpp=~/activemq-**cpp/activemq-cpp/activemqcpp-**config to
>> run
>> configuration and it is complaining that the flag is incorrect (must
>> specify install prefix, build directory, or activemqcpp-config file). I am
>> giving it a legitimate config file but it still is complaining.
>>
>>
>> On Thu, May 23, 2013 at 2:33 PM, Timothy Bish <ta...@gmail.com>
>> wrote:
>>
>>  On 05/23/2013 04:16 PM, Sean Beck wrote:
>>>
>>>  OK that did it. ActiveMQ-CPP is now installed. Now I'm trying to install
>>>> FuseMQ and it keeps saying ActiveMQ-CPP isn't installed. Should I give
>>>> the
>>>> directory I unpacked activemq-cpp to with --with-activemqcpp?
>>>>
>>>>
>>>> On Thu, May 23, 2013 at 1:52 PM, Sean Beck <se...@gmail.com>
>>>> wrote:
>>>>
>>>>   Just reran configure and did a make clean.
>>>>
>>>>> Making again now. OS is CentOS 6.4
>>>>>
>>>>>
>>>>> On Thu, May 23, 2013 at 1:48 PM, Timothy Bish <ta...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>   On 05/23/2013 03:38 PM, Sean Beck wrote:
>>>>>
>>>>>>   My version is 1.0.0. I installed openssl-devel and it fixed that
>>>>>>
>>>>>>> problem
>>>>>>> but now it's a different issue:
>>>>>>>
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `ERR_error_string_n'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `X509V3_EXT_get'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `BIO_new'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `OBJ_obj2nid'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_CTX_set_default_passwd_******cb'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_CTX_new'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_CTX_use_certificate_******chain_file'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_set_verify'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_shutdown'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `X509_get_ext'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_get_error'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_CTX_ctrl'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `BIO_s_socket'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_CTX_set_cipher_list'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_CTX_load_verify_******locations'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_set_bio'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_CTX_use_PrivateKey_file'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSLv23_method'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_pending'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_read'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `ASN1_item_d2i'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_load_error_strings'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_library_init'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_connect'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `OPENSSL_add_all_algorithms_******noconf'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `EVP_cleanup'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `X509_get_subject_name'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `CRYPTO_set_id_callback'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_CTX_set_default_passwd_******cb_userdata'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_write'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `X509_EXTENSION_get_object'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_free'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_new'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `sk_num'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `CRYPTO_set_locking_callback'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `RAND_seed'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `OBJ_nid2sn'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `sk_value'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `X509_free'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `X509_get_ext_count'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_get_peer_certificate'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `X509_NAME_get_text_by_NID'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_CTX_free'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `CRYPTO_num_locks'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `ERR_get_error'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_CTX_set_default_verify_******paths'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `SSL_set_shutdown'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>> `BIO_int_ctrl'
>>>>>>> ../main/.libs/libactivemq-cpp.******so: undefined reference to
>>>>>>>
>>>>>>> `SSL_accept'
>>>>>>>
>>>>>>> collect2: ld returned 1 exit status
>>>>>>> make[2]: *** [example] Error 1
>>>>>>> make[2]: Leaving directory `/root/activemq-cpp/activemq-******
>>>>>>>
>>>>>>> cpp/src/examples'
>>>>>>>
>>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>>> make[1]: Leaving directory `/root/activemq-cpp/activemq-******cpp'
>>>>>>> make: *** [all] Error 2
>>>>>>>
>>>>>>> It seems like a lot of things referring to openssl again
>>>>>>>
>>>>>>>
>>>>>>> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <ta...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>    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 <
>>>>>>>>> seanmckaybeck@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 <
>>>>>>>>>> tabish121@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 <
>>>>>>>>>>>> tabish121@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>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https://**github.com/**fusesource/********fusemq-c<http://github.com/fusesource/********fusemq-c>
>>>>>>>>>>>>> <ht**tps://github.com/fusesource/********fusemq-c<https://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https://github.**com/****fusesource/****fusemq-c<https:****
>>>>>>>>>>>>> //github.com/fusesource/********fusemq-c<http://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>> <https://github.com/**fusesource/****fusemq-c<https://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https://github.**com/******fusesource/**fusemq-c<https://**
>>>>>>>>>>>>> ****
>>>>>>>>>>>>> github.com/fusesource/********fusemq-c<http://github.com/fusesource/******fusemq-c>
>>>>>>>>>>>>> <http://github.com/**fusesource/****fusemq-c<http://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https://github.com/****fusesource/**fusemq-c<https://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>> <https://**github.com/fusesource/****fusemq-c<https://github.com/fusesource/**fusemq-c>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https://github.com/**********fusesource/fusemq-c<https://github.com/********fusesource/fusemq-c>
>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<https://github.com/******fusesource/fusemq-c>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<http://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<https://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https://**github.com/******fusesource/**fusemq-c<http://github.com/****fusesource/**fusemq-c>
>>>>>>>>>>>>> <http://**github.com/**fusesource/****fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>>> <https://**github.com/**fusesource/**fusemq-c<https://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <https://**github.com/******fusesource/fusemq-c<http://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>>> <http://**github.com/**fusesource/**fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <http://**github.com/**fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>> **>
>>>>>>>>>>>>> **>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> <https://**github.com/****fusesource/fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>>> **>
>>>>>>>>>>>>> <https://**github.com/**fusesource/fusemq-c<http://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.bish@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>
>>>>>>>>>>>>> <htt**ps://issues.apache.org/********jira/browse/AMQCPP-483<https://issues.apache.org/******jira/browse/AMQCPP-483>
>>>>>>>>>>>>> >
>>>>>>>>>>>>>
>>>>>>>>>>>> <https**://issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>>> <ht**tps://issues.apache.org/******jira/browse/AMQCPP-483<https://issues.apache.org/****jira/browse/AMQCPP-483>
>>>>>>>>>>>> >
>>>>>>>>>>>>
>>>>>>>>>>> <https:/**/issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>> <ht**tp://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>> >
>>>>>>>>>>> <http**s://issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>> <http**s://issues.apache.org/**jira/**browse/AMQCPP-483<https://issues.apache.org/**jira/browse/AMQCPP-483>
>>>>>>>>>>> >
>>>>>>>>>>> <https:/**/issues.apache.org/******jira/**browse/AMQCPP-483<http://issues.apache.org/****jira/**browse/AMQCPP-483>
>>>>>>>>>>> <ht**tp://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>> >
>>>>>>>>>>> <http**://issues.apache.org/**jira/****browse/AMQCPP-483<http://issues.apache.org/jira/****browse/AMQCPP-483>
>>>>>>>>>>> <htt**p://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>> >
>>>>>>>>>>> <https**://issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>>> <http**://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>> >
>>>>>>>>>>>
>>>>>>>>>>> <https**://issues.apache.org/**jira/**browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>>> <https**://issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>>>>>>> >
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Tim Bish
>>>>>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>>>>>> tim.bish@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.bish@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:
>>>>>>>>
>>>>>>>>
>>>>>>>>    Hard to say, each distro does things its own way. Did you rerun
>>>>>>>>
>>>>>>>>  configure and do a clean?
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Tim Bish
>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>> tim.bish@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:
>>>>>>
>>>>>>
>>>>>>   If you didn't install the ActiveMQ-CPP into the standard system
>>>>>>
>>>>> location like /usr or /usr/local then you need to use the with option.
>>>  I'm
>>> not 100% sure on the configure checks in fusemq-c and whether it will
>>> reject the v3.7.0 library or not, should say in the configure output if
>>> the
>>> version is not to its liking.
>>>
>>>
>>> --
>>> Tim Bish
>>> Sr Software Engineer | RedHat Inc.
>>> tim.bish@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:
>>>
>>>
>>>  Did you actually install the activemq-cpp by doing a make install if
> not then things are tricky, its best to do a configure then make then make
> install as with any autoconf based build
>
> ./configure --prefix=/usr
> make
> sudo make install
>
> Then configure fusemq-c
>
>
> --
> Tim Bish
> Sr Software Engineer | RedHat Inc.
> tim.bish@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:
>
>

Re: Help with OpenWire C

Posted by Timothy Bish <ta...@gmail.com>.
On 05/23/2013 04:38 PM, Sean Beck wrote:
> Well I am using ./configure
> --with-activemqcpp=~/activemq-cpp/activemq-cpp/activemqcpp-config to run
> configuration and it is complaining that the flag is incorrect (must
> specify install prefix, build directory, or activemqcpp-config file). I am
> giving it a legitimate config file but it still is complaining.
>
>
> On Thu, May 23, 2013 at 2:33 PM, Timothy Bish <ta...@gmail.com> wrote:
>
>> On 05/23/2013 04:16 PM, Sean Beck wrote:
>>
>>> OK that did it. ActiveMQ-CPP is now installed. Now I'm trying to install
>>> FuseMQ and it keeps saying ActiveMQ-CPP isn't installed. Should I give the
>>> directory I unpacked activemq-cpp to with --with-activemqcpp?
>>>
>>>
>>> On Thu, May 23, 2013 at 1:52 PM, Sean Beck <se...@gmail.com>
>>> wrote:
>>>
>>>   Just reran configure and did a make clean.
>>>> Making again now. OS is CentOS 6.4
>>>>
>>>>
>>>> On Thu, May 23, 2013 at 1:48 PM, Timothy Bish <ta...@gmail.com>
>>>> wrote:
>>>>
>>>>   On 05/23/2013 03:38 PM, Sean Beck wrote:
>>>>>   My version is 1.0.0. I installed openssl-devel and it fixed that
>>>>>> problem
>>>>>> but now it's a different issue:
>>>>>>
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `ERR_error_string_n'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509V3_EXT_get'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to `BIO_new'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `OBJ_obj2nid'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_set_default_passwd_****cb'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_new'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_use_certificate_****chain_file'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_set_verify'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_shutdown'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_get_ext'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_get_error'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_ctrl'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `BIO_s_socket'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_set_cipher_list'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_load_verify_****locations'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_set_bio'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_use_PrivateKey_file'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSLv23_method'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_pending'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_read'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `ASN1_item_d2i'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_load_error_strings'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_library_init'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_connect'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `OPENSSL_add_all_algorithms_****noconf'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `EVP_cleanup'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_get_subject_name'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `CRYPTO_set_id_callback'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_set_default_passwd_****cb_userdata'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_write'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_EXTENSION_get_object'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_free'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to `SSL_new'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to `sk_num'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `CRYPTO_set_locking_callback'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `RAND_seed'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `OBJ_nid2sn'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `sk_value'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_free'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_get_ext_count'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_get_peer_certificate'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `X509_NAME_get_text_by_NID'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_free'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `CRYPTO_num_locks'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `ERR_get_error'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_CTX_set_default_verify_****paths'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_set_shutdown'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `BIO_int_ctrl'
>>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>>> `SSL_accept'
>>>>>>
>>>>>> collect2: ld returned 1 exit status
>>>>>> make[2]: *** [example] Error 1
>>>>>> make[2]: Leaving directory `/root/activemq-cpp/activemq-****
>>>>>> cpp/src/examples'
>>>>>>
>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>> make[1]: Leaving directory `/root/activemq-cpp/activemq-****cpp'
>>>>>> make: *** [all] Error 2
>>>>>>
>>>>>> It seems like a lot of things referring to openssl again
>>>>>>
>>>>>>
>>>>>> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <ta...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>    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 <se...@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 <ta...@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 <
>>>>>>>>>>> tabish121@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>
>>>>>>>>>>>> <https://github.**com/**fusesource/****fusemq-c<https:**
>>>>>>>>>>>> //github.com/fusesource/******fusemq-c<https://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>> <https://github.**com/****fusesource/**fusemq-c<https://****
>>>>>>>>>>>> github.com/fusesource/******fusemq-c<http://github.com/fusesource/****fusemq-c>
>>>>>>>>>>>> <https://github.com/**fusesource/**fusemq-c<https://github.com/fusesource/**fusemq-c>
>>>>>>>>>>>> <https://github.com/********fusesource/fusemq-c<https://github.com/******fusesource/fusemq-c>
>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<https://github.com/****fusesource/fusemq-c>
>>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>>> <https://**github.com/**fusesource/**fusemq-c<https://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>> <https://**github.com/****fusesource/fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>>> **>
>>>>>>>>>>>>
>>>>>>>>>>>> <https://**github.com/**fusesource/fusemq-c<http://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.bish@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>
>>>>>>>>>>> <https**://issues.apache.org/****jira/**browse/AMQCPP-483<https://issues.apache.org/****jira/browse/AMQCPP-483>
>>>>>>>>>> <https:/**/issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>> <http**s://issues.apache.org/**jira/**browse/AMQCPP-483<https://issues.apache.org/**jira/browse/AMQCPP-483>
>>>>>>>>>> <https:/**/issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>>> <http**://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>> <https**://issues.apache.org/**jira/**browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>>> <https**://issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Tim Bish
>>>>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>>>>> tim.bish@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.bish@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:
>>>>>>>
>>>>>>>
>>>>>>>    Hard to say, each distro does things its own way. Did you rerun
>>>>>>>
>>>>>> configure and do a clean?
>>>>>
>>>>> --
>>>>> Tim Bish
>>>>> Sr Software Engineer | RedHat Inc.
>>>>> tim.bish@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:
>>>>>
>>>>>
>>>>>   If you didn't install the ActiveMQ-CPP into the standard system
>> location like /usr or /usr/local then you need to use the with option.  I'm
>> not 100% sure on the configure checks in fusemq-c and whether it will
>> reject the v3.7.0 library or not, should say in the configure output if the
>> version is not to its liking.
>>
>>
>> --
>> Tim Bish
>> Sr Software Engineer | RedHat Inc.
>> tim.bish@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:
>>
>>
Did you actually install the activemq-cpp by doing a make install if not 
then things are tricky, its best to do a configure then make then make 
install as with any autoconf based build

./configure --prefix=/usr
make
sudo make install

Then configure fusemq-c

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@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:


Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
Well I am using ./configure
--with-activemqcpp=~/activemq-cpp/activemq-cpp/activemqcpp-config to run
configuration and it is complaining that the flag is incorrect (must
specify install prefix, build directory, or activemqcpp-config file). I am
giving it a legitimate config file but it still is complaining.


On Thu, May 23, 2013 at 2:33 PM, Timothy Bish <ta...@gmail.com> wrote:

> On 05/23/2013 04:16 PM, Sean Beck wrote:
>
>> OK that did it. ActiveMQ-CPP is now installed. Now I'm trying to install
>> FuseMQ and it keeps saying ActiveMQ-CPP isn't installed. Should I give the
>> directory I unpacked activemq-cpp to with --with-activemqcpp?
>>
>>
>> On Thu, May 23, 2013 at 1:52 PM, Sean Beck <se...@gmail.com>
>> wrote:
>>
>>  Just reran configure and did a make clean.
>>>
>>> Making again now. OS is CentOS 6.4
>>>
>>>
>>> On Thu, May 23, 2013 at 1:48 PM, Timothy Bish <ta...@gmail.com>
>>> wrote:
>>>
>>>  On 05/23/2013 03:38 PM, Sean Beck wrote:
>>>>
>>>>  My version is 1.0.0. I installed openssl-devel and it fixed that
>>>>> problem
>>>>> but now it's a different issue:
>>>>>
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `ERR_error_string_n'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `X509V3_EXT_get'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to `BIO_new'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `OBJ_obj2nid'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_CTX_set_default_passwd_****cb'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_CTX_new'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_CTX_use_certificate_****chain_file'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_set_verify'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_shutdown'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `X509_get_ext'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_get_error'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_CTX_ctrl'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `BIO_s_socket'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_CTX_set_cipher_list'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_CTX_load_verify_****locations'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_set_bio'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_CTX_use_PrivateKey_file'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSLv23_method'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_pending'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_read'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `ASN1_item_d2i'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_load_error_strings'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_library_init'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_connect'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `OPENSSL_add_all_algorithms_****noconf'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `EVP_cleanup'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `X509_get_subject_name'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `CRYPTO_set_id_callback'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_CTX_set_default_passwd_****cb_userdata'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_write'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `X509_EXTENSION_get_object'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_free'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to `SSL_new'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to `sk_num'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `CRYPTO_set_locking_callback'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `RAND_seed'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `OBJ_nid2sn'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `sk_value'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `X509_free'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `X509_get_ext_count'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_get_peer_certificate'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `X509_NAME_get_text_by_NID'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_CTX_free'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `CRYPTO_num_locks'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `ERR_get_error'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_CTX_set_default_verify_****paths'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_set_shutdown'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `BIO_int_ctrl'
>>>>> ../main/.libs/libactivemq-cpp.****so: undefined reference to
>>>>> `SSL_accept'
>>>>>
>>>>> collect2: ld returned 1 exit status
>>>>> make[2]: *** [example] Error 1
>>>>> make[2]: Leaving directory `/root/activemq-cpp/activemq-****
>>>>> cpp/src/examples'
>>>>>
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make[1]: Leaving directory `/root/activemq-cpp/activemq-****cpp'
>>>>> make: *** [all] Error 2
>>>>>
>>>>> It seems like a lot of things referring to openssl again
>>>>>
>>>>>
>>>>> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <ta...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>   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 <se...@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 <ta...@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 <
>>>>>>>>>> tabish121@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>
>>>>>>>>>>> >
>>>>>>>>>>> <https://github.**com/**fusesource/****fusemq-c<https:**
>>>>>>>>>>> //github.com/fusesource/******fusemq-c<https://github.com/fusesource/****fusemq-c>
>>>>>>>>>>> >
>>>>>>>>>>> <https://github.**com/****fusesource/**fusemq-c<https://****
>>>>>>>>>>> github.com/fusesource/******fusemq-c<http://github.com/fusesource/****fusemq-c>
>>>>>>>>>>> <https://github.com/**fusesource/**fusemq-c<https://github.com/fusesource/**fusemq-c>
>>>>>>>>>>> >
>>>>>>>>>>> <https://github.com/********fusesource/fusemq-c<https://github.com/******fusesource/fusemq-c>
>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<https://github.com/****fusesource/fusemq-c>
>>>>>>>>>>> >
>>>>>>>>>>> <https://**github.com/****fusesource/**fusemq-c<http://github.com/**fusesource/**fusemq-c>
>>>>>>>>>>> <https://**github.com/**fusesource/**fusemq-c<https://github.com/**fusesource/fusemq-c>
>>>>>>>>>>> >
>>>>>>>>>>> <https://**github.com/****fusesource/fusemq-c<http://github.com/**fusesource/fusemq-c>
>>>>>>>>>>> <http://**github.com/fusesource/fusemq-c<http://github.com/fusesource/fusemq-c>
>>>>>>>>>>> **>
>>>>>>>>>>>
>>>>>>>>>>> <https://**github.com/**fusesource/fusemq-c<http://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.bish@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>
>>>>>>>>>> <https**://issues.apache.org/****jira/**browse/AMQCPP-483<https://issues.apache.org/****jira/browse/AMQCPP-483>
>>>>>>>>>> >
>>>>>>>>>>
>>>>>>>>> <https:/**/issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>> <http**s://issues.apache.org/**jira/**browse/AMQCPP-483<https://issues.apache.org/**jira/browse/AMQCPP-483>
>>>>>>>>> >
>>>>>>>>> <https:/**/issues.apache.org/****jira/**browse/AMQCPP-483<http://issues.apache.org/**jira/**browse/AMQCPP-483>
>>>>>>>>> <http**://issues.apache.org/jira/****browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>> >
>>>>>>>>> <https**://issues.apache.org/**jira/**browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>>> <https**://issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>>>>> >
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Tim Bish
>>>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>>>> tim.bish@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.bish@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:
>>>>>>
>>>>>>
>>>>>>   Hard to say, each distro does things its own way. Did you rerun
>>>>>>
>>>>> configure and do a clean?
>>>>
>>>>
>>>> --
>>>> Tim Bish
>>>> Sr Software Engineer | RedHat Inc.
>>>> tim.bish@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:
>>>>
>>>>
>>>>  If you didn't install the ActiveMQ-CPP into the standard system
> location like /usr or /usr/local then you need to use the with option.  I'm
> not 100% sure on the configure checks in fusemq-c and whether it will
> reject the v3.7.0 library or not, should say in the configure output if the
> version is not to its liking.
>
>
> --
> Tim Bish
> Sr Software Engineer | RedHat Inc.
> tim.bish@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:
>
>

Re: Help with OpenWire C

Posted by Timothy Bish <ta...@gmail.com>.
On 05/23/2013 04:16 PM, Sean Beck wrote:
> OK that did it. ActiveMQ-CPP is now installed. Now I'm trying to install
> FuseMQ and it keeps saying ActiveMQ-CPP isn't installed. Should I give the
> directory I unpacked activemq-cpp to with --with-activemqcpp?
>
>
> On Thu, May 23, 2013 at 1:52 PM, Sean Beck <se...@gmail.com> wrote:
>
>> Just reran configure and did a make clean.
>>
>> Making again now. OS is CentOS 6.4
>>
>>
>> On Thu, May 23, 2013 at 1:48 PM, Timothy Bish <ta...@gmail.com> wrote:
>>
>>> On 05/23/2013 03:38 PM, Sean Beck wrote:
>>>
>>>> My version is 1.0.0. I installed openssl-devel and it fixed that problem
>>>> but now it's a different issue:
>>>>
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `ERR_error_string_n'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `X509V3_EXT_get'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `BIO_new'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `OBJ_obj2nid'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_CTX_set_default_passwd_**cb'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_CTX_new'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_CTX_use_certificate_**chain_file'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_set_verify'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_shutdown'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `X509_get_ext'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_get_error'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_CTX_ctrl'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `BIO_s_socket'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_CTX_set_cipher_list'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_CTX_load_verify_**locations'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_set_bio'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_CTX_use_PrivateKey_file'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSLv23_method'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_pending'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_read'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `ASN1_item_d2i'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_load_error_strings'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_library_init'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_connect'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `OPENSSL_add_all_algorithms_**noconf'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `EVP_cleanup'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `X509_get_subject_name'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `CRYPTO_set_id_callback'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_CTX_set_default_passwd_**cb_userdata'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_write'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `X509_EXTENSION_get_object'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_free'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_new'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `sk_num'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `CRYPTO_set_locking_callback'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `RAND_seed'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `OBJ_nid2sn'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `sk_value'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `X509_free'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `X509_get_ext_count'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_get_peer_certificate'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `X509_NAME_get_text_by_NID'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_CTX_free'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `CRYPTO_num_locks'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `ERR_get_error'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_CTX_set_default_verify_**paths'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `SSL_set_shutdown'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>>> `BIO_int_ctrl'
>>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_accept'
>>>> collect2: ld returned 1 exit status
>>>> make[2]: *** [example] Error 1
>>>> make[2]: Leaving directory `/root/activemq-cpp/activemq-**
>>>> cpp/src/examples'
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory `/root/activemq-cpp/activemq-**cpp'
>>>> make: *** [all] Error 2
>>>>
>>>> It seems like a lot of things referring to openssl again
>>>>
>>>>
>>>> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <ta...@gmail.com>
>>>> wrote:
>>>>
>>>>   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 <se...@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 <ta...@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 <tabish121@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>
>>>>>>>>>> <https://github.**com/**fusesource/**fusemq-c<https://**
>>>>>>>>>> github.com/fusesource/****fusemq-c<https://github.com/fusesource/**fusemq-c>
>>>>>>>>>> <https://github.com/******fusesource/fusemq-c<https://github.com/****fusesource/fusemq-c>
>>>>>>>>>> <https://**github.com/**fusesource/**fusemq-c<https://github.com/**fusesource/fusemq-c>
>>>>>>>>>> <https://**github.com/**fusesource/fusemq-c<http://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.bish@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>
>>>>>>>> <https:/**/issues.apache.org/**jira/**browse/AMQCPP-483<https://issues.apache.org/**jira/browse/AMQCPP-483>
>>>>>>>> <https:/**/issues.apache.org/**jira/**browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>>> <https**://issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Tim Bish
>>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>>> tim.bish@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.bish@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:
>>>>>
>>>>>
>>>>>   Hard to say, each distro does things its own way. Did you rerun
>>> configure and do a clean?
>>>
>>>
>>> --
>>> Tim Bish
>>> Sr Software Engineer | RedHat Inc.
>>> tim.bish@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:
>>>
>>>
If you didn't install the ActiveMQ-CPP into the standard system location 
like /usr or /usr/local then you need to use the with option.  I'm not 
100% sure on the configure checks in fusemq-c and whether it will reject 
the v3.7.0 library or not, should say in the configure output if the 
version is not to its liking.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@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:


Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
OK that did it. ActiveMQ-CPP is now installed. Now I'm trying to install
FuseMQ and it keeps saying ActiveMQ-CPP isn't installed. Should I give the
directory I unpacked activemq-cpp to with --with-activemqcpp?


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

> Just reran configure and did a make clean.
>
> Making again now. OS is CentOS 6.4
>
>
> On Thu, May 23, 2013 at 1:48 PM, Timothy Bish <ta...@gmail.com> wrote:
>
>> On 05/23/2013 03:38 PM, Sean Beck wrote:
>>
>>> My version is 1.0.0. I installed openssl-devel and it fixed that problem
>>> but now it's a different issue:
>>>
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `ERR_error_string_n'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `X509V3_EXT_get'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `BIO_new'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `OBJ_obj2nid'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_CTX_set_default_passwd_**cb'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_CTX_new'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_CTX_use_certificate_**chain_file'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_set_verify'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_shutdown'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `X509_get_ext'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_get_error'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_CTX_ctrl'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `BIO_s_socket'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_CTX_set_cipher_list'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_CTX_load_verify_**locations'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_set_bio'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_CTX_use_PrivateKey_file'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSLv23_method'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_pending'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_read'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `ASN1_item_d2i'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_load_error_strings'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_library_init'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_connect'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `OPENSSL_add_all_algorithms_**noconf'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `EVP_cleanup'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `X509_get_subject_name'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `CRYPTO_set_id_callback'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_CTX_set_default_passwd_**cb_userdata'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_write'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `X509_EXTENSION_get_object'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_free'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_new'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `sk_num'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `CRYPTO_set_locking_callback'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `RAND_seed'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `OBJ_nid2sn'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `sk_value'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `X509_free'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `X509_get_ext_count'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_get_peer_certificate'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `X509_NAME_get_text_by_NID'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_CTX_free'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `CRYPTO_num_locks'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `ERR_get_error'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_CTX_set_default_verify_**paths'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `SSL_set_shutdown'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>>> `BIO_int_ctrl'
>>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_accept'
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [example] Error 1
>>> make[2]: Leaving directory `/root/activemq-cpp/activemq-**
>>> cpp/src/examples'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/root/activemq-cpp/activemq-**cpp'
>>> make: *** [all] Error 2
>>>
>>> It seems like a lot of things referring to openssl again
>>>
>>>
>>> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <ta...@gmail.com>
>>> wrote:
>>>
>>>  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 <se...@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 <ta...@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 <tabish121@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>
>>>>>>>>> >
>>>>>>>>> <https://github.**com/**fusesource/**fusemq-c<https://**
>>>>>>>>> github.com/fusesource/****fusemq-c<https://github.com/fusesource/**fusemq-c>
>>>>>>>>> >
>>>>>>>>> <https://github.com/******fusesource/fusemq-c<https://github.com/****fusesource/fusemq-c>
>>>>>>>>> <https://**github.com/**fusesource/**fusemq-c<https://github.com/**fusesource/fusemq-c>
>>>>>>>>> >
>>>>>>>>> <https://**github.com/**fusesource/fusemq-c<http://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.bish@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>
>>>>>>> <https:/**/issues.apache.org/**jira/**browse/AMQCPP-483<https://issues.apache.org/**jira/browse/AMQCPP-483>
>>>>>>> >
>>>>>>> <https:/**/issues.apache.org/**jira/**browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>>> <https**://issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Tim Bish
>>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>>> tim.bish@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.bish@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:
>>>>
>>>>
>>>>  Hard to say, each distro does things its own way. Did you rerun
>> configure and do a clean?
>>
>>
>> --
>> Tim Bish
>> Sr Software Engineer | RedHat Inc.
>> tim.bish@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:
>>
>>
>

Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
Just reran configure and did a make clean.

Making again now. OS is CentOS 6.4


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

> On 05/23/2013 03:38 PM, Sean Beck wrote:
>
>> My version is 1.0.0. I installed openssl-devel and it fixed that problem
>> but now it's a different issue:
>>
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `ERR_error_string_n'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `X509V3_EXT_get'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `BIO_new'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `OBJ_obj2nid'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_CTX_set_default_passwd_**cb'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_CTX_new'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_CTX_use_certificate_**chain_file'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_set_verify'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_shutdown'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `X509_get_ext'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_get_error'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_CTX_ctrl'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `BIO_s_socket'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_CTX_set_cipher_list'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_CTX_load_verify_**locations'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_set_bio'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_CTX_use_PrivateKey_file'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSLv23_method'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_pending'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_read'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `ASN1_item_d2i'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_load_error_strings'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_library_init'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_connect'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `OPENSSL_add_all_algorithms_**noconf'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `EVP_cleanup'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `X509_get_subject_name'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `CRYPTO_set_id_callback'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_CTX_set_default_passwd_**cb_userdata'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_write'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `X509_EXTENSION_get_object'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_free'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_new'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `sk_num'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `CRYPTO_set_locking_callback'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `RAND_seed'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `OBJ_nid2sn'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `sk_value'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `X509_free'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `X509_get_ext_count'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_get_peer_certificate'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `X509_NAME_get_text_by_NID'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_CTX_free'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `CRYPTO_num_locks'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `ERR_get_error'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_CTX_set_default_verify_**paths'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to
>> `SSL_set_shutdown'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `BIO_int_ctrl'
>> ../main/.libs/libactivemq-cpp.**so: undefined reference to `SSL_accept'
>> collect2: ld returned 1 exit status
>> make[2]: *** [example] Error 1
>> make[2]: Leaving directory `/root/activemq-cpp/activemq-**
>> cpp/src/examples'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/root/activemq-cpp/activemq-**cpp'
>> make: *** [all] Error 2
>>
>> It seems like a lot of things referring to openssl again
>>
>>
>> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <ta...@gmail.com>
>> wrote:
>>
>>  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 <se...@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 <ta...@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 <ta...@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>
>>>>>>>> >
>>>>>>>> <https://github.**com/**fusesource/**fusemq-c<https://**
>>>>>>>> github.com/fusesource/****fusemq-c<https://github.com/fusesource/**fusemq-c>
>>>>>>>> >
>>>>>>>> <https://github.com/******fusesource/fusemq-c<https://github.com/****fusesource/fusemq-c>
>>>>>>>> <https://**github.com/**fusesource/**fusemq-c<https://github.com/**fusesource/fusemq-c>
>>>>>>>> >
>>>>>>>> <https://**github.com/**fusesource/fusemq-c<http://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.bish@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>
>>>>>> <https:/**/issues.apache.org/**jira/**browse/AMQCPP-483<https://issues.apache.org/**jira/browse/AMQCPP-483>
>>>>>> >
>>>>>> <https:/**/issues.apache.org/**jira/**browse/AMQCPP-483<http://issues.apache.org/jira/**browse/AMQCPP-483>
>>>>>> <https**://issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>> >
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Tim Bish
>>>>>> Sr Software Engineer | RedHat Inc.
>>>>>> tim.bish@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.bish@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:
>>>
>>>
>>>  Hard to say, each distro does things its own way. Did you rerun
> configure and do a clean?
>
>
> --
> Tim Bish
> Sr Software Engineer | RedHat Inc.
> tim.bish@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:
>
>

Re: Help with OpenWire C

Posted by Timothy Bish <ta...@gmail.com>.
On 05/23/2013 03:38 PM, Sean Beck wrote:
> My version is 1.0.0. I installed openssl-devel and it fixed that problem
> but now it's a different issue:
>
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `ERR_error_string_n'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `X509V3_EXT_get'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `BIO_new'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `OBJ_obj2nid'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `SSL_CTX_set_default_passwd_cb'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_CTX_new'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `SSL_CTX_use_certificate_chain_file'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_set_verify'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_shutdown'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `X509_get_ext'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_get_error'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_CTX_ctrl'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `BIO_s_socket'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `SSL_CTX_set_cipher_list'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `SSL_CTX_load_verify_locations'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_set_bio'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `SSL_CTX_use_PrivateKey_file'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSLv23_method'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_pending'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_read'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `ASN1_item_d2i'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `SSL_load_error_strings'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_library_init'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_connect'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `OPENSSL_add_all_algorithms_noconf'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `EVP_cleanup'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `X509_get_subject_name'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `CRYPTO_set_id_callback'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `SSL_CTX_set_default_passwd_cb_userdata'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_write'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `X509_EXTENSION_get_object'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_free'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_new'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `sk_num'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `CRYPTO_set_locking_callback'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `RAND_seed'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `OBJ_nid2sn'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `sk_value'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `X509_free'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `X509_get_ext_count'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `SSL_get_peer_certificate'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `X509_NAME_get_text_by_NID'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_CTX_free'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `CRYPTO_num_locks'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `ERR_get_error'
> ../main/.libs/libactivemq-cpp.so: undefined reference to
> `SSL_CTX_set_default_verify_paths'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_set_shutdown'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `BIO_int_ctrl'
> ../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_accept'
> collect2: ld returned 1 exit status
> make[2]: *** [example] Error 1
> make[2]: Leaving directory `/root/activemq-cpp/activemq-cpp/src/examples'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/activemq-cpp/activemq-cpp'
> make: *** [all] Error 2
>
> It seems like a lot of things referring to openssl again
>
>
> On Thu, May 23, 2013 at 1:32 PM, Timothy Bish <ta...@gmail.com> wrote:
>
>> 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 <se...@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 <ta...@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 <ta...@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>
>>>>>>> <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.bish@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>
>>>>> <https:/**/issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>>>
>>>>>
>>>>> --
>>>>> Tim Bish
>>>>> Sr Software Engineer | RedHat Inc.
>>>>> tim.bish@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.bish@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:
>>
>>
Hard to say, each distro does things its own way. Did you rerun 
configure and do a clean?

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@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:


Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
My version is 1.0.0. I installed openssl-devel and it fixed that problem
but now it's a different issue:

../main/.libs/libactivemq-cpp.so: undefined reference to
`ERR_error_string_n'
../main/.libs/libactivemq-cpp.so: undefined reference to `X509V3_EXT_get'
../main/.libs/libactivemq-cpp.so: undefined reference to `BIO_new'
../main/.libs/libactivemq-cpp.so: undefined reference to `OBJ_obj2nid'
../main/.libs/libactivemq-cpp.so: undefined reference to
`SSL_CTX_set_default_passwd_cb'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_CTX_new'
../main/.libs/libactivemq-cpp.so: undefined reference to
`SSL_CTX_use_certificate_chain_file'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_set_verify'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_shutdown'
../main/.libs/libactivemq-cpp.so: undefined reference to `X509_get_ext'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_get_error'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_CTX_ctrl'
../main/.libs/libactivemq-cpp.so: undefined reference to `BIO_s_socket'
../main/.libs/libactivemq-cpp.so: undefined reference to
`SSL_CTX_set_cipher_list'
../main/.libs/libactivemq-cpp.so: undefined reference to
`SSL_CTX_load_verify_locations'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_set_bio'
../main/.libs/libactivemq-cpp.so: undefined reference to
`SSL_CTX_use_PrivateKey_file'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSLv23_method'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_pending'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_read'
../main/.libs/libactivemq-cpp.so: undefined reference to `ASN1_item_d2i'
../main/.libs/libactivemq-cpp.so: undefined reference to
`SSL_load_error_strings'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_library_init'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_connect'
../main/.libs/libactivemq-cpp.so: undefined reference to
`OPENSSL_add_all_algorithms_noconf'
../main/.libs/libactivemq-cpp.so: undefined reference to `EVP_cleanup'
../main/.libs/libactivemq-cpp.so: undefined reference to
`X509_get_subject_name'
../main/.libs/libactivemq-cpp.so: undefined reference to
`CRYPTO_set_id_callback'
../main/.libs/libactivemq-cpp.so: undefined reference to
`SSL_CTX_set_default_passwd_cb_userdata'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_write'
../main/.libs/libactivemq-cpp.so: undefined reference to
`X509_EXTENSION_get_object'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_free'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_new'
../main/.libs/libactivemq-cpp.so: undefined reference to `sk_num'
../main/.libs/libactivemq-cpp.so: undefined reference to
`CRYPTO_set_locking_callback'
../main/.libs/libactivemq-cpp.so: undefined reference to `RAND_seed'
../main/.libs/libactivemq-cpp.so: undefined reference to `OBJ_nid2sn'
../main/.libs/libactivemq-cpp.so: undefined reference to `sk_value'
../main/.libs/libactivemq-cpp.so: undefined reference to `X509_free'
../main/.libs/libactivemq-cpp.so: undefined reference to
`X509_get_ext_count'
../main/.libs/libactivemq-cpp.so: undefined reference to
`SSL_get_peer_certificate'
../main/.libs/libactivemq-cpp.so: undefined reference to
`X509_NAME_get_text_by_NID'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_CTX_free'
../main/.libs/libactivemq-cpp.so: undefined reference to `CRYPTO_num_locks'
../main/.libs/libactivemq-cpp.so: undefined reference to `ERR_get_error'
../main/.libs/libactivemq-cpp.so: undefined reference to
`SSL_CTX_set_default_verify_paths'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_set_shutdown'
../main/.libs/libactivemq-cpp.so: undefined reference to `BIO_int_ctrl'
../main/.libs/libactivemq-cpp.so: undefined reference to `SSL_accept'
collect2: ld returned 1 exit status
make[2]: *** [example] Error 1
make[2]: Leaving directory `/root/activemq-cpp/activemq-cpp/src/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/activemq-cpp/activemq-cpp'
make: *** [all] Error 2

It seems like a lot of things referring to openssl again


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

> 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 <se...@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 <ta...@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 <ta...@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>
>>>>>> >
>>>>>> <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.bish@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>
>>>> <https:/**/issues.apache.org/jira/**browse/AMQCPP-483<https://issues.apache.org/jira/browse/AMQCPP-483>
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Tim Bish
>>>> Sr Software Engineer | RedHat Inc.
>>>> tim.bish@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.bish@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:
>
>

Re: Help with OpenWire C

Posted by Timothy Bish <ta...@gmail.com>.
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 <se...@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 <ta...@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 <ta...@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.bish@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.bish@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.bish@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:


Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
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 <se...@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 <ta...@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 <ta...@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.bish@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.bish@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:
>>
>>
>

Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
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 <ta...@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 <ta...@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.bish@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.bish@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:
>
>

Re: Help with OpenWire C

Posted by Timothy Bish <ta...@gmail.com>.
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 <ta...@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>
>>
>>
>> --
>> Tim Bish
>> Sr Software Engineer | RedHat Inc.
>> tim.bish@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

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@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:


Re: Help with OpenWire C

Posted by Sean Beck <se...@gmail.com>.
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 <ta...@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>
>
>
> --
> Tim Bish
> Sr Software Engineer | RedHat Inc.
> tim.bish@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:
>
>

Re: Help with OpenWire C

Posted by Timothy Bish <ta...@gmail.com>.
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


-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@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: