Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F08ED213 for ; Thu, 23 May 2013 19:39:03 +0000 (UTC) Received: (qmail 97310 invoked by uid 500); 23 May 2013 19:39:02 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 97221 invoked by uid 500); 23 May 2013 19:39:02 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 97213 invoked by uid 99); 23 May 2013 19:39:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 19:39:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of seanmckaybeck@gmail.com designates 74.125.83.53 as permitted sender) Received: from [74.125.83.53] (HELO mail-ee0-f53.google.com) (74.125.83.53) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 19:38:56 +0000 Received: by mail-ee0-f53.google.com with SMTP id c1so2099725eek.12 for ; Thu, 23 May 2013 12:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QdJFQ+ES2LJArfxd8hdtLakwnkk/BgyVE4NJ2+BunFY=; b=Q/acna5vmulewyeLX0l43kePJAMmg01EH26WNXqD7dC57mZVYk5iRYo5MdeVdiP25W LSqtxGq6bXYx01goxe7aFW8ZvRxJYqLhnr2JpJ5DkwMZmuHJkBMrW9LPRj62K/VcG31Q Mia/2aQjj+MLFjQKNWvkdUdpap+OGRctRtoBjbQLyb1xjiki3WX/AF1gHKpVZ/ePyk94 PnRLD7YsdQjLD9O1BzM/epWlgdCQodSZet3Yv4DXQ7zOAnEAQ5YjB6ud4YNc6+Ndkd5d k9XYvqKZOLG4gxDh8fet9rj66aoSuWoI+hhiVrFt2R1fb5LOajI9ezMnsqZX+kKDTZja yBng== MIME-Version: 1.0 X-Received: by 10.15.35.71 with SMTP id f47mr34969211eev.15.1369337893291; Thu, 23 May 2013 12:38:13 -0700 (PDT) Received: by 10.14.202.70 with HTTP; Thu, 23 May 2013 12:38:13 -0700 (PDT) In-Reply-To: <519E6ECF.3040806@gmail.com> References: <519E5E66.2050703@gmail.com> <519E6751.5080604@gmail.com> <519E6ECF.3040806@gmail.com> Date: Thu, 23 May 2013 13:38:13 -0600 Message-ID: Subject: Re: Help with OpenWire C From: Sean Beck To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=089e016282b8b5310f04dd67d2ff X-Virus-Checked: Checked by ClamAV on apache.org --089e016282b8b5310f04dd67d2ff Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 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 =91SSL_CTX=92 with no type >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**84: error: >> expected >> =91;=92 before =91*=92 token >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp: In constructor >> =91decaf::internal::net::ssl::**openssl::ContextData::**ContextData(int)= =92: >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**101: error: >> class >> =91decaf::internal::net::ssl::**openssl::ContextData=92 does not have an= y >> field >> named =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp: In destructor >> =91decaf::internal::net::ssl::**openssl::ContextData::~**ContextData()= =92: >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**110: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**110: error: >> =91SSL_CTX_free=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp: In static member >> function =91static void >> decaf::internal::net::ssl::**openssl::ContextData::**lockCallback(int, >> int, >> const char*, int)=92: >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**119: error: >> =91CRYPTO_LOCK=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp: In destructor >> =91virtual >> decaf::internal::net::ssl::**openssl::OpenSSLContextSpi::~** >> OpenSSLContextSpi()=92: >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**162: error: >> =91CRYPTO_set_locking_callback=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**163: error: >> =91EVP_cleanup=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp: In member >> function >> =91virtual void >> decaf::internal::net::ssl::**openssl::OpenSSLContextSpi::** >> providerInit(decaf::security::**SecureRandom*)=92: >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**188: error: >> =91SSL_load_error_strings=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**189: error: >> =91SSL_library_init=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**190: error: >> =91OpenSSL_add_all_algorithms=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**193: error: >> =91CRYPTO_num_locks=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**195: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**195: error: >> =91SSLv23_method=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**195: error: >> =91SSL_CTX_new=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**198: error: >> =91CRYPTO_set_id_callback=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**199: error: >> =91CRYPTO_set_locking_callback=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**202: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**202: error: >> =91SSL_CTX_set_default_verify_**paths=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**203: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**203: error: >> =91SSL_OP_ALL=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**203: error: >> =91SSL_OP_NO_SSLv2=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**203: error: >> =91SSL_CTX_set_options=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**204: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**204: error: >> =91SSL_MODE_AUTO_RETRY=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**204: error: >> =91SSL_CTX_set_mode=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**207: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**207: error: >> =91SSL_CTX_set_default_passwd_**cb=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**208: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**208: error: >> =91SSL_CTX_set_default_passwd_**cb_userdata=92 was not declared in this = scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**212: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**212: error: >> =91SSL_CTX_set_cipher_list=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**223: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**223: error: >> =91SSL_CTX_use_certificate_**chain_file=92 was not declared in this scop= e >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**226: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**226: error: >> =91SSL_FILETYPE_PEM=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**226: error: >> =91SSL_CTX_use_PrivateKey_file=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**245: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**245: error: >> =91SSL_CTX_load_verify_**locations=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**253: error: >> =91RAND_seed=92 was not declared in this scope >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp: In member >> function >> =91void* >> decaf::internal::net::ssl::**openssl::OpenSSLContextSpi::** >> getOpenSSLCtx()=92: >> decaf/internal/net/ssl/**openssl/OpenSSLContextSpi.cpp:**314: error: >> =91class >> decaf::internal::net::ssl::**openssl::ContextData=92 has no member named >> =91openSSLContext=92 >> 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 >> 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 >>> 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 >>>>> =91activemq::state::****MessageCache::MessageCache(**** >>>>> activemq::state::** >>>>> ConnectionStateTracker*)=92: >>>>> activemq/state/****ConnectionStateTracker.cpp:61: error: class >>>>> =91activemq::state::****MessageCache=92 does not have any field named >>>>> =91LinkedHashMap=92 >>>>> 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 >>>>> 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 d= o >>>>>>> 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 anyon= e >>>>>>> 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: >>>>>> >>>>>> >>>>>> >>>>>> 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: >>>> >>>> >>>> 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 configur= e > 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: > > --089e016282b8b5310f04dd67d2ff--