aws / amazon-freertos

DEPRECATED - See README.md
https://aws.amazon.com/freertos/
MIT License
2.54k stars 1.1k forks source link

[General] Can't build project using transport_interface_secure_sockets module #3514

Closed EtienneMdv closed 1 year ago

EtienneMdv commented 1 year ago

Briefly summarize the issue being raised Unable to build project when adding transport_interface_secure_sockets module and transport_secure_sockets.h file. An undefined reference is raised: /amazon-freertos/vendors/espressif/boards/ports/wifi/iot_wifi.c:417: undefined reference to esp_netif_create_default_wifi_ap

The libraries I am linking in the CMakeLists.txt are the following: target_link_libraries(${COMPONENT_TARGET} PRIVATE AFR::wifi AFR::core_mqtt AFR::utils AFR::transport_interface_secure_sockets AFR::backoff_algorithm AFR::pkcs11_helpers )

The issue only appears when adding the secure sockets module. I do not encounter any problem compiling otherwise. What am I doing wrong?

Describe the desired outcome Successful build.

System information