lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] build error in unix port if #define LWIP_TCP 0


From: Axel Lin
Subject: Re: [lwip-devel] build error in unix port if #define LWIP_TCP 0
Date: Wed, 19 Apr 2017 14:35:01 +0800

2017-04-19 12:43 GMT+08:00 Axel Lin <address@hidden>:
> Hi,
> #define LWIP_TCP 0 and run make in ports/unix/unixsim, got some build
> failure like below:

Hi Dirk,
Thanks for your fix.
I still got below build error in unix port:

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 -Wno-address -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/api/sockets.c
../../../../lwip/src/api/sockets.c:996:1: error: ‘lwip_recv_tcp_from’
defined but not used [-Werror=unused-function]
 lwip_recv_tcp_from(struct lwip_sock *sock, struct sockaddr *from,
socklen_t *fromlen, const char *dbg_fn, int dbg_s, int dbg_ret)
 ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
../../Common.allports.mk:94: recipe for target 'sockets.o' failed
make: *** [sockets.o] Error 1



reply via email to

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