You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jan Sarenik (JIRA)" <qp...@incubator.apache.org> on 2010/03/29 16:45:27 UTC
[jira] Created: (QPID-2473) current libraries: new options needed
to link with
current libraries: new options needed to link with
--------------------------------------------------
Key: QPID-2473
URL: https://issues.apache.org/jira/browse/QPID-2473
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Affects Versions: 0.7
Environment: Linux slanina.virtual 2.6.34-0.16.rc2.git0.fc14.x86_64 #1 SMP Tue Mar 23 02:02:52 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
fedora-release-14-0.4.noarch (Rawhide x86_64)
glibc-2.11.90-16.x86_64
gcc-4.4.3-13.fc14.x86_64
gcc-c++-4.4.3-13.fc14.x86_64
boost-1.41.0-7.fc13.x86_64
Reporter: Jan Sarenik
Assignee: Gordon Sim
Attachments: qpid-rawhide.diff
The little attached patch is vital to make current trunk
(r928701) compile on Fedora Rawhide with Boost 1.41.0.
The other line adds libpthread linking option. It works
but you may want to add it elsewhere if you choose
to do so.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2473) current libraries: new options needed
to link with
Posted by "Jan Sarenik (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850935#action_12850935 ]
Jan Sarenik commented on QPID-2473:
-----------------------------------
It will be interesting, because on RHEL5 with -lboost_sytem, I am getting
/usr/bin/ld: cannot find -lboost_system
> current libraries: new options needed to link with
> --------------------------------------------------
>
> Key: QPID-2473
> URL: https://issues.apache.org/jira/browse/QPID-2473
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.7
> Environment: Linux slanina.virtual 2.6.34-0.16.rc2.git0.fc14.x86_64 #1 SMP Tue Mar 23 02:02:52 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
> fedora-release-14-0.4.noarch (Rawhide x86_64)
> glibc-2.11.90-16.x86_64
> gcc-4.4.3-13.fc14.x86_64
> gcc-c++-4.4.3-13.fc14.x86_64
> boost-1.41.0-7.fc13.x86_64
> Reporter: Jan Sarenik
> Assignee: Gordon Sim
> Attachments: qpid-rawhide.diff
>
>
> The little attached patch is vital to make current trunk
> (r928701) compile on Fedora Rawhide with Boost 1.41.0.
> The other line adds libpthread linking option. It works
> but you may want to add it elsewhere if you choose
> to do so.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2473) current libraries: new options needed
to link with
Posted by "Steve Huston (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850949#action_12850949 ]
Steve Huston commented on QPID-2473:
------------------------------------
Jan, please try building with cmake... it has the logic to deal with when the Boost system lib was added.
> current libraries: new options needed to link with
> --------------------------------------------------
>
> Key: QPID-2473
> URL: https://issues.apache.org/jira/browse/QPID-2473
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.7
> Environment: Linux slanina.virtual 2.6.34-0.16.rc2.git0.fc14.x86_64 #1 SMP Tue Mar 23 02:02:52 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
> fedora-release-14-0.4.noarch (Rawhide x86_64)
> glibc-2.11.90-16.x86_64
> gcc-4.4.3-13.fc14.x86_64
> gcc-c++-4.4.3-13.fc14.x86_64
> boost-1.41.0-7.fc13.x86_64
> Reporter: Jan Sarenik
> Assignee: Gordon Sim
> Attachments: qpid-rawhide.diff
>
>
> The little attached patch is vital to make current trunk
> (r928701) compile on Fedora Rawhide with Boost 1.41.0.
> The other line adds libpthread linking option. It works
> but you may want to add it elsewhere if you choose
> to do so.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2473) current libraries: new options needed
to link with
Posted by "Jan Sarenik (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851784#action_12851784 ]
Jan Sarenik commented on QPID-2473:
-----------------------------------
Building with CMake does not help either...
[ 79%] Built target ssl
[ 79%] Built target sslconnector
[ 80%] Built target watchdog
[ 80%] Building CXX object src/CMakeFiles/xml.dir/qpid/xml/XmlExchange.o
/var/tmp/jasan/qpid-20100330/cpp/src/qpid/xml/XmlExchange.cpp: In member function 'bool qpid::broker::XmlExchange::matches(boost::shared_ptr<XQQuery>&, qpid::broker::Deliverable&, const qpid::framing::FieldTable*, bool)':
/var/tmp/jasan/qpid-20100330/cpp/src/qpid/xml/XmlExchange.cpp:192: error: 'class ResultImpl' has no member named 'getEffectiveBooleanValue'
make[2]: *** [src/CMakeFiles/xml.dir/qpid/xml/XmlExchange.o] Error 1
make[1]: *** [src/CMakeFiles/xml.dir/all] Error 2
make: *** [all] Error 2
cmake-2.8.1-0.2.rc5.fc14.x86_64
xqilla-devel-2.2.3-7.fc14.x86_64
xerces-c-devel-3.0.1-16.fc13.x86_64
> current libraries: new options needed to link with
> --------------------------------------------------
>
> Key: QPID-2473
> URL: https://issues.apache.org/jira/browse/QPID-2473
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.7
> Environment: Linux slanina.virtual 2.6.34-0.16.rc2.git0.fc14.x86_64 #1 SMP Tue Mar 23 02:02:52 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
> fedora-release-14-0.4.noarch (Rawhide x86_64)
> glibc-2.11.90-16.x86_64
> gcc-4.4.3-13.fc14.x86_64
> gcc-c++-4.4.3-13.fc14.x86_64
> boost-1.41.0-7.fc13.x86_64
> Reporter: Jan Sarenik
> Assignee: Gordon Sim
> Attachments: qpid-rawhide.diff
>
>
> The little attached patch is vital to make current trunk
> (r928701) compile on Fedora Rawhide with Boost 1.41.0.
> The other line adds libpthread linking option. It works
> but you may want to add it elsewhere if you choose
> to do so.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Updated: (QPID-2473) current libraries: new options needed
to link with
Posted by "Jan Sarenik (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Sarenik updated QPID-2473:
------------------------------
Attachment: qpid-rawhide.diff
> current libraries: new options needed to link with
> --------------------------------------------------
>
> Key: QPID-2473
> URL: https://issues.apache.org/jira/browse/QPID-2473
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.7
> Environment: Linux slanina.virtual 2.6.34-0.16.rc2.git0.fc14.x86_64 #1 SMP Tue Mar 23 02:02:52 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
> fedora-release-14-0.4.noarch (Rawhide x86_64)
> glibc-2.11.90-16.x86_64
> gcc-4.4.3-13.fc14.x86_64
> gcc-c++-4.4.3-13.fc14.x86_64
> boost-1.41.0-7.fc13.x86_64
> Reporter: Jan Sarenik
> Assignee: Gordon Sim
> Attachments: qpid-rawhide.diff
>
>
> The little attached patch is vital to make current trunk
> (r928701) compile on Fedora Rawhide with Boost 1.41.0.
> The other line adds libpthread linking option. It works
> but you may want to add it elsewhere if you choose
> to do so.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2473) current libraries: new options needed
to link with
Posted by "Jan Sarenik (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851785#action_12851785 ]
Jan Sarenik commented on QPID-2473:
-----------------------------------
And when I uninstall xqilla and xerces, I am getting this:
[ 99%] Building CXX object src/tests/CMakeFiles/cluster_test.dir/PartialFailure.o
Linking CXX executable unit_test
[100%] Building CXX object src/tests/CMakeFiles/cluster_test.dir/ClusterFailover.o
[100%] Built target unit_test
[100%] Building CXX object src/tests/CMakeFiles/cluster_test.dir/InitialStatusMap.o
[100%] Building CXX object src/tests/CMakeFiles/cluster_test.dir/StoreStatus.o
Linking CXX executable cluster_test
/usr/bin/ld: CMakeFiles/cluster_test.dir/StoreStatus.o: undefined reference to symbol 'boost::system::get_system_category()'
/usr/bin/ld: note: 'boost::system::get_system_category()' is defined in DSO /usr/lib64/libboost_system-mt.so.1.41.0 so try adding it to the linker command line
/usr/lib64/libboost_system-mt.so.1.41.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [src/tests/cluster_test] Error 1
make[1]: *** [src/tests/CMakeFiles/cluster_test.dir/all] Error 2
make: *** [all] Error 2
> current libraries: new options needed to link with
> --------------------------------------------------
>
> Key: QPID-2473
> URL: https://issues.apache.org/jira/browse/QPID-2473
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.7
> Environment: Linux slanina.virtual 2.6.34-0.16.rc2.git0.fc14.x86_64 #1 SMP Tue Mar 23 02:02:52 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
> fedora-release-14-0.4.noarch (Rawhide x86_64)
> glibc-2.11.90-16.x86_64
> gcc-4.4.3-13.fc14.x86_64
> gcc-c++-4.4.3-13.fc14.x86_64
> boost-1.41.0-7.fc13.x86_64
> Reporter: Jan Sarenik
> Assignee: Gordon Sim
> Attachments: qpid-rawhide.diff
>
>
> The little attached patch is vital to make current trunk
> (r928701) compile on Fedora Rawhide with Boost 1.41.0.
> The other line adds libpthread linking option. It works
> but you may want to add it elsewhere if you choose
> to do so.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Issue Comment Edited: (QPID-2473) current libraries: new
options needed to link with
Posted by "Alan Conway (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890827#action_12890827 ]
Alan Conway edited comment on QPID-2473 at 7/21/10 3:05 PM:
------------------------------------------------------------
The link error above was fixed for fedora 13 in revision 960894
Author: Alan Conway <ac...@apache.org>
Date: Tue Jul 6 09:16:02 2010
Fix link error on fedora 13
Removed duplicate .o files linked with cluster_test executable.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@960894 13f79535-47bb-0310-9956-ffa450edef68
Can you confirm if it builds for you?
was (Author: aconway):
The link error above was fixed for fedora 13 in revision 960894
Author: Alan Conway <ac...@apache.org>
Date: Tue Jul 6 09:16:02 2010
Fix link error on fedora 13
Removed duplicate .o files linked with cluster_test executable.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@960894 13f79535-47bb-0310-9956-ffa450edef68
> current libraries: new options needed to link with
> --------------------------------------------------
>
> Key: QPID-2473
> URL: https://issues.apache.org/jira/browse/QPID-2473
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.7
> Environment: Linux slanina.virtual 2.6.34-0.16.rc2.git0.fc14.x86_64 #1 SMP Tue Mar 23 02:02:52 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
> fedora-release-14-0.4.noarch (Rawhide x86_64)
> glibc-2.11.90-16.x86_64
> gcc-4.4.3-13.fc14.x86_64
> gcc-c++-4.4.3-13.fc14.x86_64
> boost-1.41.0-7.fc13.x86_64
> Reporter: Jan Sarenik
> Assignee: Gordon Sim
> Attachments: qpid-rawhide.diff
>
>
> The little attached patch is vital to make current trunk
> (r928701) compile on Fedora Rawhide with Boost 1.41.0.
> The other line adds libpthread linking option. It works
> but you may want to add it elsewhere if you choose
> to do so.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2473) current libraries: new options needed
to link with
Posted by "Alan Conway (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890827#action_12890827 ]
Alan Conway commented on QPID-2473:
-----------------------------------
The link error above was fixed for fedora 13 in revision 960894
Author: Alan Conway <ac...@apache.org>
Date: Tue Jul 6 09:16:02 2010
Fix link error on fedora 13
Removed duplicate .o files linked with cluster_test executable.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@960894 13f79535-47bb-0310-9956-ffa450edef68
> current libraries: new options needed to link with
> --------------------------------------------------
>
> Key: QPID-2473
> URL: https://issues.apache.org/jira/browse/QPID-2473
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.7
> Environment: Linux slanina.virtual 2.6.34-0.16.rc2.git0.fc14.x86_64 #1 SMP Tue Mar 23 02:02:52 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
> fedora-release-14-0.4.noarch (Rawhide x86_64)
> glibc-2.11.90-16.x86_64
> gcc-4.4.3-13.fc14.x86_64
> gcc-c++-4.4.3-13.fc14.x86_64
> boost-1.41.0-7.fc13.x86_64
> Reporter: Jan Sarenik
> Assignee: Gordon Sim
> Attachments: qpid-rawhide.diff
>
>
> The little attached patch is vital to make current trunk
> (r928701) compile on Fedora Rawhide with Boost 1.41.0.
> The other line adds libpthread linking option. It works
> but you may want to add it elsewhere if you choose
> to do so.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org