You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Nicolas A. Barriga (Updated) (JIRA)" <ji...@apache.org> on 2011/10/04 16:07:33 UTC

[jira] [Updated] (AMQCPP-380) Static library doesn't link correctly

     [ https://issues.apache.org/jira/browse/AMQCPP-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas A. Barriga updated AMQCPP-380:
--------------------------------------

    Priority: Critical  (was: Major)
    
> 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
>            Priority: Critical
>
> 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