|
From: | Dirk Ziegelmeier |
Subject: | Re: [lwip-devel] Missing mib2_x functions |
Date: | Thu, 14 Jan 2016 07:27:38 +0100 |
Gisle Vanem wrote:
> I have had good success using TDM-gcc 5.1 (MingW) to build lwIP
> and some apps for a long time, but now I get these missing symbols
> during link:
>
> src/core/netif.o: In function `netif_set_ipaddr':
> F:\MingW32\src\inet\lwip\src\core/../../src/core/netif.c:435: undefined reference to `mib2_remove_ip4'
> F:\MingW32\src\inet\lwip\src\core/../../src/core/netif.c:436: undefined reference to `mib2_remove_route_ip4'
> F:\MingW32\src\inet\lwip\src\core/../../src/core/netif.c:440: undefined reference to `mib2_add_ip4'
> F:\MingW32\src\inet\lwip\src\core/../../src/core/netif.c:441: undefined reference to `mib2_add_route_ip4'
> ...
>
> I cannot see such functions anywhere. Except for some macros
> when LWIP_IPV4==0. I do have LWIP_IPV4=1. Am I supposed to do that?
My bad it seems, I had 'LWIP_MIB2_CALLBACKS=1'. By setting to 0,
it works. I'm not sure about the rationale behind this.
--gv
--
--gv
_______________________________________________
lwip-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-devel
[Prev in Thread] | Current Thread | [Next in Thread] |