Franz Hollerer created QPID-8424:
------------------------------------
Summary: [C++ Broker]: Better support for cross compilation
Key: QPID-8424
URL: https://issues.apache.org/jira/browse/QPID-8424
Project: Qpid
Issue Type: Improvement
Affects Versions: qpid-cpp-1.39.0, qpid-cpp-1.40.0
Reporter: Franz Hollerer
Target: NXP i.MX7 application processor
Build system: Yocto, arm-poky-linux-gnueabi-g++ v5.2.0
Unfortunately, I found that it is very hard to cross compile qpid-cpp.
First it fails with
{quote}CMake Error at src/CMakeLists.txt:84 (message):
Can't find amqp 0-10 spec for framing code generation
{quote}
This can be overcome with the patch described here:
*
[https://stackoverflow.com/questions/55953513/bitbake-build-for-qpid-cpp-1-39-0-fails]
Having solved this the build fails later on with:
{quote}[ 93%] Linking CXX executable qpid-ping
/opt/b8mcu_sdk/0.0.1/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld:
warning: libqpid-proton-core.so.10, needed by ../libqpidmessaging.so.2.0.0,
not found (try using -rpath or -rpath-link)
../libqpidmessaging.so.2.0.0: undefined reference to `pn_data_put_described'
../libqpidmessaging.so.2.0.0: undefined reference to `pn_link_free'
../libqpidmessaging.so.2.0.0: undefined reference to `pn_data_get_double'
../libqpidmessaging.so.2.0.0: undefined reference to `pn_transport_bind'
../libqpidmessaging.so.2.0.0: undefined reference to `pn_condition_is_set'
../libqpidmessaging.so.2.0.0: undefined reference to `pn_terminus_filter'
../libqpidmessaging.so.2.0.0: undefined reference to `pn_data_get_ushort'
{quote}
qpid-cpp is a great product. Please rework the build steps in order that it is
easier to cross compile it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]