qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danushka Menikkumbura (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-986) Need to link libuuid.a to libqpidbroker.so and libqpidclient.so in Qpid/C++
Date Wed, 30 Apr 2008 12:33:56 GMT

    [ https://issues.apache.org/jira/browse/QPID-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593308#action_12593308

Danushka Menikkumbura commented on QPID-986:

In theory there should be an issue. This is how it happens.

The library libuuid.a is linked to libqpidcommon.so. Since this is a static link, the symbols
in libuuid.a are not exported by libqpidcommon.so and hence the symbol uuid_generate. In both
broker and client we use the method uuid_generate, but we do not link libuuid.a to any of
them. The only lib that is linked to those two libs is libqpidcommon.so. So ideally the broker
and the client libs can not see a symbol with the name uuid_generate.

> Need to link libuuid.a to libqpidbroker.so and libqpidclient.so in Qpid/C++
> ---------------------------------------------------------------------------
>                 Key: QPID-986
>                 URL: https://issues.apache.org/jira/browse/QPID-986
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>            Reporter: Danushka Menikkumbura
>            Priority: Critical
>         Attachments: QPID-986.patch
> When I try to compile a repository working copy of Qpid/C++ I get a build error saying
that there are undefined references to "uuid_generate" in both libqpidbroker.so and libqpidclient.so.
When I was going through the makefile I found that libuuid.a is not linked to these two libs
and I could easily get rid of the issue simply by modifying the makefile to link libuuid.a
to these two libs.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message