lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] zepif build error when LWIP_IPV4=0 && LWIP_IPV6=1


From: Axel Lin
Subject: [lwip-devel] zepif build error when LWIP_IPV4=0 && LWIP_IPV6=1
Date: Wed, 7 Mar 2018 09:08:44 +0800

cc -g -DLWIP_DEBUG -Wall -pedantic -Wparentheses -Wsequence-point
-Wswitch-default -Wextra -Wundef -Wshadow -Wpointer-arith -Wcast-qual
-Wc++-compat -Wwrite-strings -Wold-style-definition -Wcast-align
-Wmissing-prototypes -Wredundant-decls -Wnested-externs
-Wunreachable-code -Wuninitialized -Wmissing-prototypes
-Wredundant-decls -Waggregate-return -Wlogical-not-parentheses
-Wlogical-op -Wc90-c99-compat -Wtrampolines -I. -I../../..
-I../../../../lwip/src/include -I../../../ports/unix/port/include
-I../../../../mbedtls/include -Wno-redundant-decls
-DLWIP_HAVE_MBEDTLS=1 -c ../../../../lwip/src/netif/zepif.c
../../../../lwip/src/netif/zepif.c: In function 'zepif_init':
../../../../lwip/src/netif/zepif.c:241:35: error: 'IP_ADDR_BROADCAST'
undeclared (first use in this function); did you mean
'IP_SOF_BROADCAST'?
     state->init.zep_dst_ip_addr = IP_ADDR_BROADCAST;
                                   ^~~~~~~~~~~~~~~~~
                                   IP_SOF_BROADCAST
../../../../lwip/src/netif/zepif.c:241:35: note: each undeclared
identifier is reported only once for each function it appears in
lwip-contrib/ports/unix/../Common.allports.mk:91: recipe for target
'zepif.o' failed
make: *** [zepif.o] Error 1



reply via email to

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