[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up
From: |
Simon Goldschmidt |
Subject: |
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. 64f79e7ffc32c1de5211872a78e3891f5ea6315f |
Date: |
Fri, 19 Aug 2016 10:14:03 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".
The branch, master has been updated
via 64f79e7ffc32c1de5211872a78e3891f5ea6315f (commit)
from ebd1bf8a494962dad0dc87b9c57c0be996e1eb85 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 64f79e7ffc32c1de5211872a78e3891f5ea6315f
Author: Axel Lin <address@hidden>
Date: Fri Aug 19 16:30:47 2016 +0800
PPP, PPPoE: Include netif/ethernet.h to fix build error
Fix below build errors:
In file included from
../../../../../lwip/src/include/netif/ppp/ppp_opts.h:31:0,
from ../../../../../lwip/src/netif/ppp/pppoe.c:71:
../../../../../lwip/src/netif/ppp/pppoe.c: In function âpppoe_timeoutâ:
../../../../../lwip/src/netif/ppp/pppoe.c:861:30: error: âethbroadcastâ
undeclared (first use in this function)
MEMCPY(&sc->sc_dest, ethbroadcast.addr, sizeof(sc->sc_dest));
^
../../../../../lwip/src/include/lwip/opt.h:137:52: note: in definition of
macro âMEMCPYâ
#define MEMCPY(dst,src,len) memcpy(dst,src,len)
^
../../../../../lwip/src/netif/ppp/pppoe.c:861:30: note: each undeclared
identifier is reported only once for each function it appears in
MEMCPY(&sc->sc_dest, ethbroadcast.addr, sizeof(sc->sc_dest));
^
../../../../../lwip/src/include/lwip/opt.h:137:52: note: in definition of
macro âMEMCPYâ
#define MEMCPY(dst,src,len) memcpy(dst,src,len)
^
../../../../../lwip/src/netif/ppp/pppoe.c: In function âpppoe_connectâ:
../../../../../lwip/src/netif/ppp/pppoe.c:899:24: error: âethbroadcastâ
undeclared (first use in this function)
MEMCPY(&sc->sc_dest, ethbroadcast.addr, sizeof(sc->sc_dest));
^
../../../../../lwip/src/include/lwip/opt.h:137:52: note: in definition of
macro âMEMCPYâ
#define MEMCPY(dst,src,len) memcpy(dst,src,len)
^
../../Common.mk:94: recipe for target 'pppoe.o' failed
make: *** [pppoe.o] Error 1
Fixes: 8eb9db18a2d9 ("Reduce usage of netif/ethernet.h header, mostly
lwip/prot/ethernet.h is sufficient")
Signed-off-by: Axel Lin <address@hidden>
Signed-off-by: goldsimon <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
src/netif/ppp/pppoe.c | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
lwIP - A Lightweight TCPIP stack
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. 64f79e7ffc32c1de5211872a78e3891f5ea6315f,
Simon Goldschmidt <=