You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org> on 2008/04/30 11:51:55 UTC

[jira] Created: (QPID-986) Need to link libuuid.a to libqpidbroker.so and libqpidclient.so in Qpid/C++

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


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.


[jira] Updated: (QPID-986) Need to link libuuid.a to libqpidbroker.so and libqpidclient.so in Qpid/C++

Posted by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Danushka Menikkumbura updated QPID-986:
---------------------------------------

    Attachment:     (was: QPID-986.patch)

> 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.


[jira] Updated: (QPID-986) Need to link libuuid.a to libqpidbroker.so and libqpidclient.so in Qpid/C++

Posted by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Danushka Menikkumbura updated QPID-986:
---------------------------------------

    Attachment: QPID-986.patch

Please apply this patch to get rid of the issue.

> 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.


[jira] Closed: (QPID-986) Need to link libuuid.a to libqpidbroker.so and libqpidclient.so in Qpid/C++

Posted by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Danushka Menikkumbura closed QPID-986.
--------------------------------------


> 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.


[jira] Commented: (QPID-986) Need to link libuuid.a to libqpidbroker.so and libqpidclient.so in Qpid/C++

Posted by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org>.
    [ 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.


[jira] Updated: (QPID-986) Need to link libuuid.a to libqpidbroker.so and libqpidclient.so in Qpid/C++

Posted by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Danushka Menikkumbura updated QPID-986:
---------------------------------------

    Attachment: QPID-986.patch

> 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.


[jira] Commented: (QPID-986) Need to link libuuid.a to libqpidbroker.so and libqpidclient.so in Qpid/C++

Posted by "Senaka Fernando (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593304#action_12593304 ] 

Senaka Fernando commented on QPID-986:
--------------------------------------

It is strange that I don't get this issue with rev 652180 (repo rev 652358). I manage to build without this patch. Also I use the -Werror flag which doesn't complain either. I manage to run the broker and also the examples. I guess this is a result of some makefile confusion?

Regards,
Senaka

> 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.


[jira] Resolved: (QPID-986) Need to link libuuid.a to libqpidbroker.so and libqpidclient.so in Qpid/C++

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim resolved QPID-986.
-----------------------------

    Resolution: Fixed

> 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.