Hi Peter, I keep the same hierarchy than the zip available here: http://download.savannah.gnu.org/releases/lwip/lwip-1.4.1.zip : + UPGRADING + README + FILES + COPYING + CHANGELOG + test/ + src/ + doc/
There should not have any difference to move src/ folder on top of LWIP_LIB_DIR path, it's fully equivalent. The only option that works is point 3). Do you know if it is planned to be fixed in source code of tcpip.c ? Regards, Pierre-Yves. 2013/7/11 Peter LM <[email protected]> > boisbu wrote > > Could you please highlight me where to add this include path? Is it > > directly in the lwip/src/api/tcpip.c file? > > Please remove your folder "src". The right hierarchy (if I am right) is > 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 > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
