Yes, Apache Qpid Proton lib (c)make install step not transfering
"libqpid-proton-cpp-static.a" to the right install dir
Here are more details: https://issues.apache.org/jira/browse/PROTON-2145
2019.11.29. 12:02 keltezéssel, Gordon Sim írta:
On 24/11/2019 5:09 pm, Berge Zoltán wrote:
Hi,
I've tried to static linking Qpid Proton C++ 0.29.0 to my project
and after I linked all the .a library which are generated by Qpid
Proton C++ cmake project the linker still shows undefined reference
errors, few examples of the errors:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/usr/bin/ld: /home/pi/x/main.cpp:222: undefined reference to
`proton::container::run()'
/usr/bin/ld: /home/pi/x/main.cpp:222: undefined reference to
`proton::container::~container()'
/usr/bin/ld: /home/pi/x/main.cpp:222: undefined reference to
`proton::container::~container()'
/usr/bin/ld:
CMakeFiles/x.dir/main.cpp.o:(.rodata._ZTV6client[_ZTV6client]+0x14):
undefined reference to
`proton::messaging_handler::on_container_stop(proton::container&)'
/usr/bin/ld:
CMakeFiles/x.dir/main.cpp.o:(.rodata._ZTV6client[_ZTV6client]+0x1c):
undefined reference to
`proton::messaging_handler::on_sendable(proton::sender&)'
/usr/bin/ld:
CMakeFiles/x.dir/main.cpp.o:(.rodata._ZTV6client[_ZTV6client]+0x20):
undefined reference to
`proton::messaging_handler::on_transport_open(proton::transport&)'
/usr/bin/ld:
CMakeFiles/x.dir/main.cpp.o:(.rodata._ZTV6client[_ZTV6client]+0x24):
undefined reference to
`proton::messaging_handler::on_transport_close(proton::transport&)'
These are all from the cpp binding. I'm not sure if static linking
works or not, but perhaps you have missed out
./cpp/libqpid-proton-cpp-static.a ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]