Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FBE build fails on Windows using MQTT #28

Closed
m-meingast opened this issue Feb 3, 2025 · 2 comments
Closed

FBE build fails on Windows using MQTT #28

m-meingast opened this issue Feb 3, 2025 · 2 comments

Comments

@m-meingast
Copy link
Member

@gravemalte

This is a successor to #27. After removing the OPC UA dependencies from the default.txt configuration, an issue with a SSL socket related to MQTT occured.

CMakeOutput.log
native-toolchain.log

In the end, having removed the OPC UA and the MQTT dependencies, at least the Forte compiled successfully.

@gravemalte
Copy link

This is about linking libpaho-mqtt with libreSSL.
I know that paho.mqtt.c features a CMake option for building explicitly with libreSSL see: https://github.com/eclipse-paho/paho.mqtt.c/blob/2150ba29d9df24ad1733c460eb099f292af84ee5/CMakeLists.txt#L56

I'm not sure if the linker is not able to locate the libreSSL .a (because of the CMake option) or the linking flag is somehow missing (or both?)

Currently, the paho receipt features the PAHO_WITH_SSL option see: https://github.com/eclipse-4diac/4diac-fbe/blob/release/dependencies/recipes/paho.mqtt.c/build.cmake#L17

@jwalt
Copy link
Contributor

jwalt commented Feb 4, 2025

Thanks for the report. That is a bug in the build recipe for 4diac forte. MQTT depends on libssl, which happened to be pulled in by OPC UA. A fix is in the pipeline.

@jwalt jwalt closed this as completed Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants