Skip to main content
DRatu.1
Associate
January 13, 2020
Question

LwIP build fails on multiple defs of sys_msleep (makefile)

  • January 13, 2020
  • 1 reply
  • 583 views

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.

This topic has been closed for replies.

1 reply

DRatu.1
DRatu.1Author
Associate
January 14, 2020

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.