Question
Errors building lwip
Posted on October 28, 2013 at 14:05
Hello,
While trying to build thehttpserver_socket project with FreeRtos (STM32F4xx_Ethernet_Example\Project\FreeRTOS\httpserver_socket\EWARM\Project.eww) I've got the following messages:Warning[Pe047]: incompatible redefinition of macro ''EILSEQ'' (declared at line 40 of ''C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\errno.h'') D:\STM32F4xx_Ethernet_Example\Utilities\lwip_v1.3.2\src\include\lwip\arch.h 159
Warning[Pe223]: function ''lwip_fcntl'' declared implicitly D:\STM32F4xx_Ethernet_Example\Project\FreeRTOS\httpserver_socket\src\platform\lwip_udp.c 304
Error[Pe020]: identifier ''F_GETFL'' is undefined D:\STM32F4xx_Ethernet_Example\Project\FreeRTOS\httpserver_socket\src\platform\lwip_udp.c 304
Warning[Pe223]: function ''lwip_fcntl'' declared implicitly D:\STM32F4xx_Ethernet_Example\Project\FreeRTOS\httpserver_socket\src\platform\lwip_udp.c 307
Error[Pe020]: identifier ''F_SETFL'' is undefined D:\STM32F4xx_Ethernet_Example\Project\FreeRTOS\httpserver_socket\src\platform\lwip_udp.c 307
Error[Pe020]: identifier ''ssize_t'' is undefined D:\STM32F4xx_Ethernet_Example\Project\FreeRTOS\httpserver_socket\src\platform\lwip_udp.c 466
Warning[Pe223]: function ''memset'' declared implicitly D:\STM32F4xx_Ethernet_Example\Project\FreeRTOS\httpserver_socket\src\platform\lwip_udp.c 614
Any idea how to resolve that, especially for the missing declarations?
Regards,
Fahmi
#understand-your-tools