cancel
Showing results for 
Search instead for 
Did you mean: 

build issue : undefined reference to `altcp_tls_wrap'

Himanshuparmar
Associate II

Hello,
I have STM32H747I board. using Ethernet, I have connect MQTT on 1883 port successfully. Now I want to connect 8883 port but after configuration, this kind of error occurs also I have included path for the same. can you please check and give me step to resolve this.
Thank you.include pathinclude patherrorerror

4 REPLIES 4
Saket_Om
ST Employee

Hello @Himanshuparmar 

Could you please provide a test case to reproduce the issue on our side? This will help us assist you more effectively

If your question is answered, please close this topic by clicking "Accept as Solution".

Thanks
Omar
Himanshuparmar
Associate II

hey, 

I have configure FreeRTOS V2, Ethernet and LWIP stack in STM32H747I in M7 core .ioc file.

In Ethernet : use RMII mode, set tx,rx memory map

In FreeRTOS : use stack size and thread

In LWIP : static IP for the ethernet

after code generation.
I have added mqtt code for 1883 port broker connect and it will connect properly and publish data.

for broker on port 8883, I have changed in file name "lwipopts.h"

#define LWIP_ALTCP 1

#define LWIP_ALTCP_TLS 1 

 

after changes in "lwipopts.h" file, I getting erros as mentioned earlier. 
ERROR: >> undefined reference to altcp_tls_wrap

for resolve I have manually add path in project build file but the result was same.
please give me how can I use broker on 8883 port for mqtt connection using LWIP stack and what are the configuration.


Thank you,
Himashu Parmar.

Himanshuparmar
Associate II

Any Update on my question? Anyone? @Saket_Om 

ASEHST
ST Employee

Hello @Himanshuparmar,

This issue is under inverstigation. We will get back to you as soon as possible.

 

Thank you for your understanding.

With Regards,

If your question is answered, please close this topic by clicking "Accept as Solution".