lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Compiler warning


From: pierre-yves.boisbunon
Subject: Re: [lwip-users] Compiler warning
Date: Fri, 12 Jul 2013 09:37:06 +0200

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 <address@hidden>
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]