lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] bridgeif.c build failure if !LWIP_IPV4


From: Axel Lin
Subject: [lwip-devel] bridgeif.c build failure if !LWIP_IPV4
Date: Sun, 26 Mar 2017 22:26:50 +0800

Hi,
I got below build failure if !LWIP_IPV4 && LWIP_IPV6.

../../../../lwip/src/netif/bridgeif.c: In function ‘bridgeif_init’:
../../../../lwip/src/netif/bridgeif.c:615:8: error: ‘struct netif’ has
no member named ‘output’; did you mean ‘input’?
   netif->output = etharp_output;
        ^~
../../../../lwip/src/netif/bridgeif.c:615:19: error: ‘etharp_output’
undeclared (first use in this function)
   netif->output = etharp_output;
                   ^~~~~~~~~~~~~
../../../../lwip/src/netif/bridgeif.c:615:19: note: each undeclared
identifier is reported only once for each function it appears in
../../../../lwip/src/netif/bridgeif.c:622:23: error:
‘ETHARP_HWADDR_LEN’ undeclared (first use in this function)
   netif->hwaddr_len = ETHARP_HWADDR_LEN;
                       ^~~~~~~~~~~~~~~~~
../../Common.allports.mk:94: recipe for target 'bridgeif.o' failed
make: *** [bridgeif.o] Error 1



reply via email to

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