activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMQCPP-380) Static library doesn't link correctly
Date Wed, 26 Oct 2011 22:57:32 GMT

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

Timothy Bish resolved AMQCPP-380.
---------------------------------

    Resolution: Fixed

This should be fixed on trunk.  Reopen if still seeing errors with trunk code.
                
> 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

        

Mime
View raw message