lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] mdns build error if LWIP_IPV4=0 && LWIP_IPV6=1


From: Axel Lin
Subject: [lwip-devel] mdns build error if LWIP_IPV4=0 && LWIP_IPV6=1
Date: Tue, 9 Jan 2018 11:30:50 +0800

Hi,
I got below error while testing build in unix port if I set
LWIP_IPV4=0 && LWIP_IPV6=1.

cc -g -Wall -DLWIP_DEBUG -pedantic -Werror -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
-Wlogical-op -I. -I../../.. -I../../../../lwip/src/include
-I../../../ports/unix/port/include -I../../../../mbedtls/include
-Wno-redundant-decls -DLWIP_HAVE_MBEDTLS=1 -c
../../../../lwip/src/apps/mdns/mdns.c
../../../../lwip/src/apps/mdns/mdns.c: In function ‘mdns_recv’:
../../../../lwip/src/apps/mdns/mdns.c:1817:10: error: implicit
declaration of function ‘ip_addr_cmp_zoneless’; did you mean
‘ip6_addr_cmp_zoneless’? [-Werror=implicit-function-declaration]
     if (!ip_addr_cmp_zoneless(ip_current_dest_addr(), &v6group)) {
          ^~~~~~~~~~~~~~~~~~~~
          ip6_addr_cmp_zoneless
../../../../lwip/src/apps/mdns/mdns.c:1817:10: error: nested extern
declaration of ‘ip_addr_cmp_zoneless’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
/home/axel/git/lwip/lwip-contrib/ports/unix/../Common.allports.mk:94:
recipe for target 'mdns.o' failed
make: *** [mdns.o] Error 1



reply via email to

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