activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas A. Barriga (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQCPP-380) Static library doesn't link correctly
Date Tue, 04 Oct 2011 14:03:34 GMT
Static library doesn't link correctly
-------------------------------------

                 Key: AMQCPP-380
                 URL: https://issues.apache.org/jira/browse/AMQCPP-380
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: CMS Impl
    Affects Versions: 3.4.0
         Environment: OSX 10.6.8
            Reporter: Nicolas A. Barriga
            Assignee: Timothy Bish


I'm trying to use the static library for activemq-cpp, as the dynamic one doesn't work (AMQCPP-298).

When linking my project against libactivemq-cpp.a I get the following errors:
Undefined symbols:
  "_apr_uuid_format", referenced from:
      decaf::util::UUID::toString() constin libactivemq-cpp.a(libactivemq_cpp_la-UUID.o)
  "_apr_md5", referenced from:
      decaf::util::UUID::nameUUIDFromBytes(char const*, unsigned long)in libactivemq-cpp.a(libactivemq_cpp_la-UUID.o)
  "_apr_uuid_parse", referenced from:
      decaf::util::UUID::fromString(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)in libactivemq-cpp.a(libactivemq_cpp_la-UUID.o)
  "_apr_uuid_get", referenced from:
      decaf::util::UUID::randomUUID()    in libactivemq-cpp.a(libactivemq_cpp_la-UUID.o)
ld: symbol(s) not found

I'm using apr-1.3.9 and apr-util 1.3.12, which work without problems on Linux with dynamic
libraries.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message