[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] Missing mib2_x functions
From: |
Gisle Vanem |
Subject: |
Re: [lwip-devel] Missing mib2_x functions |
Date: |
Wed, 13 Jan 2016 23:58:39 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
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