[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9090] PPP, PPPoE: Include netif/ethernet.h to fix b
From: |
Axel Lin |
Subject: |
[lwip-devel] [patch #9090] PPP, PPPoE: Include netif/ethernet.h to fix build error |
Date: |
Fri, 19 Aug 2016 08:32:30 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36 |
URL:
<http://savannah.nongnu.org/patch/?9090>
Summary: PPP, PPPoE: Include netif/ethernet.h to fix build
error
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: axellin
Submitted on: Fri 19 Aug 2016 08:32:28 AM GMT
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
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
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 19 Aug 2016 08:32:28 AM GMT Name:
0001-PPP-PPPoE-Include-netif-ethernet.h-to-fix-build-erro.patch Size: 3kB
By: axellin
<http://savannah.nongnu.org/patch/download.php?file_id=38269>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9090>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #9090] PPP, PPPoE: Include netif/ethernet.h to fix build error,
Axel Lin <=