|
From: | pierre-yves.boisbunon |
Subject: | Re: [lwip-users] Compiler warning |
Date: | Fri, 12 Jul 2013 09:37:06 +0200 |
boisbu wrote
> Could you please highlight me where to add this include path? Is itPlease remove your folder "src". The right hierarchy (if I am right) is
> directly in the lwip/src/api/tcpip.c file?
lwIP/api/tcpip.c . Do you see the difference?
1) Copy your entire "src" folder then copy it next to it (under lwIP
folder), finally remove it.
2) Add to your include paths:
-I $(LWIP_LIB_DIR)/include \
-I $(LWIP_LIB_DIR)/include\ipv4 \
-I $(LWIP_LIB_DIR)/netif\include \
-I $(LWIP_LIB_DIR)/lwIP_Apps \ -> this one is optionnal
3) Everything should be ok but if the warning is still there then go at the
top of "tcpip.c" and add :
#include "lwip/ip.h"
Regards,
Peter
--
View this message in context: http://lwip.100.n7.nabble.com/Compiler-warning-tp21733p21736.html
Sent from the lwip-users mailing list archive at Nabble.com.
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |