cancel
Showing results for 
Search instead for 
Did you mean: 

LwIP build fails on multiple defs of sys_msleep (makefile)

DRatu.1
Associate

CubeMx version: 5.4.0

I used CubeMX to configure LwIP with FreeRTOS. I am using the Makefile toolchain. When I build the code *the linker complains* the following error -> multiple definition of `sys_msleep'

My dev environment is Ubuntu 18.04, CubeMX 5.4.0, LwIP 2.0.3

Please help.

1 REPLY 1
DRatu.1
Associate

It seems commenting out the definitions/declaration of `sys_msleep` allows me to build it. Doing a search through the code, revealed that sys_msleep is not being utilized anywhere.

I dont feel super confident about this solution... If anybody can explain what is going on here and how to fix this problem that would be much appreciated.