compile.34
build number: 34
re-implement command
docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/packages/rp-pppoe/compile -j$(nproc) || make package/feeds/packages/rp-pppoe/compile V=s
Compile.txt
Applying ./patches/110-Makefile.patch using plaintext:
patching file src/Makefile.in
Applying ./patches/120-use-linux-ether-not-netinet.patch using plaintext:
patching file src/if.c
patching file src/plugin.c
patching file src/pppoe.h
Applying ./patches/130-static-lib-fix.patch using plaintext:
patching file src/Makefile.in
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /openwrt/include/site/aarch64
checking for aarch64-openwrt-linux-gcc... ccache_cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ccache_cc accepts -g... yes
checking for ccache_cc option to accept ISO C89... none needed
checking for aarch64-openwrt-linux-ranlib... aarch64-openwrt-linux-musl-gcc-ranlib
checking how to run the C preprocessor... ccache_cc -E
checking for grep that handles long lines and -e... /openwrt/staging_dir/host/bin/grep
checking for egrep... /openwrt/staging_dir/host/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking net/if_arp.h usability... yes
checking net/if_arp.h presence... yes
checking for net/if_arp.h... yes
checking netinet/if_ether.h usability... yes
checking netinet/if_ether.h presence... yes
checking for netinet/if_ether.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for fcntl.h... (cached) yes
checking net/bpf.h usability... no
checking net/bpf.h presence... no
checking for net/bpf.h... no
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking linux/if_packet.h usability... yes
checking linux/if_packet.h presence... yes
checking for linux/if_packet.h... yes
checking linux/if_ether.h usability... yes
checking linux/if_ether.h presence... yes
checking for linux/if_ether.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/if_ether.h usability... no
checking net/if_ether.h presence... no
checking for net/if_ether.h... no
checking net/if_types.h usability... no
checking net/if_types.h presence... no
checking for net/if_types.h... no
checking for netinet/if_ether.h... (cached) yes
checking for net/if_types.h... (cached) no
checking for net/if_dl.h... (cached) no
checking for linux/if.h... yes
checking for linux/if_pppox.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... yes
checking for working memcmp... (cached) yes
(cached) checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strerror... (cached) yes
checking for strtol... yes
checking for strlcpy... yes
checking for a BSD-compatible install... /openwrt/staging_dir/host/bin/install -c
checking size of unsigned short... (cached) 2
checking size of unsigned int... (cached) 4
checking size of unsigned long... (cached) 8
checking for pppd... (cached) /usr/sbin/pppd
checking for setsid... /usr/bin/setsid
checking for id... /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... (cached) yes
configure: WARNING: *** Oops. I cannot figure out what version of pppd you have.
configure: WARNING: *** All I got back was ''
configure: WARNING: *** I will keep going, but it may not work.
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating libevent/Makefile
config.status: creating ../scripts/pppoe-connect
config.status: creating ../scripts/pppoe-start
config.status: creating ../scripts/pppoe-stop
config.status: creating ../scripts/pppoe-init
config.status: creating ../scripts/pppoe-init-suse
config.status: creating ../scripts/pppoe-setup
config.status: creating ../gui/Makefile
config.status: WARNING: '../gui/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating ../gui/tkpppoe
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-nls
On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff pppoe-relay rp-pppoe.so
Type 'make' to compile the software.
make[4]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src'
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.14"' -c -o pppoe.o pppoe.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.14"' -c -o if.o if.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.14"' -c -o debug.o debug.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.14"' -c -o common.o common.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.14"' -c -o ppp.o ppp.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.14"' -c -o discovery.o discovery.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.14"' -c -o pppoe-server.o pppoe-server.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.14"' -c -o md5.o md5.c
cd libevent && make DEFINES=""
make[5]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent'
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event.o event.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_tcp.o event_tcp.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o hash.o hash.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_sig.o event_sig.c
rm -f libevent.a
ar -cq libevent.a event.o event_tcp.o hash.o event_sig.o
aarch64-openwrt-linux-musl-gcc-ranlib libevent.a
make[5]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent'
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.14"' -c -o pppoe-sniff.o pppoe-sniff.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.14"' -c -o relay.o relay.c
ccache_cc -DPLUGIN=1 '-DRP_VERSION="3.14"' -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14=rp-pppoe-3.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src/libevent -isystem /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/missing-headers -D_BSD_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/ -c -o plugin/plugin.o -fPIC plugin.c
In file included from plugin.c:31:
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:213:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
typedef void (*notify_func) __P((void *, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:214:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
typedef void (*printer_func) __P((void *, char *, ...));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:218:5: error: unknown type name 'notify_func'
notify_func func;
^~~~~~~~~~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:421:18: error: expected ':', ',', ';', '}' or '__attribute__' before '__P'
void (*init) __P((int unit));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:465:32: error: expected ':', ',', ';', '}' or '__attribute__' before '__P'
void (*process_extra_options) __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:508:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void set_ifunit __P((int)); /* set stuff that depends on ifunit */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:509:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void detach __P((void)); /* Detach from controlling tty */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:510:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void die __P((int)); /* Cleanup and exit */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:511:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void quit __P((void)); /* like die(1) */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:512:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void novm __P((char *)); /* Say we ran out of memory, and die */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:513:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void timeout __P((void (*func)(void *), void *arg, int s, int us));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:515:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void untimeout __P((void (*func)(void *), void *arg));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:517:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void record_child __P((int, char *, void (*) (void *), void *, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:518:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
pid_t safe_fork __P((int, int, int)); /* Fork & close stuff in child */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:519:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int device_script __P((char *cmd, int in, int out, int dont_wait));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:521:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
pid_t run_program __P((char *prog, char **args, int must_exist,
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:524:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void reopen_log __P((void)); /* (re)open the connection to syslog */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:525:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void print_link_stats __P((void)); /* Print stats, if available */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:526:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void reset_link_stats __P((int)); /* Reset (init) stats when link goes up */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:527:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void update_link_stats __P((int)); /* Get stats at link termination */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:528:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void script_setenv __P((char *, char *, int)); /* set script env var */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:529:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void script_unsetenv __P((char *)); /* unset script env var */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:530:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void new_phase __P((int)); /* signal start of new phase */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:531:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void add_notifier __P((struct notifier **, notify_func, void *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:532:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void remove_notifier __P((struct notifier **, notify_func, void *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:533:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void notify __P((struct notifier *, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:534:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int ppp_send_config __P((int, int, u_int32_t, int, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:535:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int ppp_recv_config __P((int, int, u_int32_t, int, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:536:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
const char *protocol_name __P((int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:537:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void remove_pidfiles __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:538:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void lock_db __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:539:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void unlock_db __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:542:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void tty_init __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:545:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void log_packet __P((u_char *, int, char *, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:547:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void print_string __P((char *, int, printer_func, void *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:549:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int slprintf __P((char *, int, char *, ...)); /* sprintf++ */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:550:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int vslprintf __P((char *, int, char *, va_list)); /* vsprintf++ */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:551:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
size_t strlcpy __P((char *, const char *, size_t)); /* safe strcpy */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:552:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
size_t strlcat __P((char *, const char *, size_t)); /* safe strncpy */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:553:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void dbglog __P((char *, ...)); /* log a debug message */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:554:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void info __P((char *, ...)); /* log an informational message */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:555:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void notice __P((char *, ...)); /* log a notice-level message */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:556:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void warn __P((char *, ...)); /* log a warning message */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:557:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void error __P((char *, ...)); /* log an error message */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:558:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void fatal __P((char *, ...)); /* log an error message and die(1) */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:559:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void init_pr_log __P((const char *, int)); /* initialize for using pr_log */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:560:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void pr_log __P((void *, char *, ...)); /* printer fn, output to syslog */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:561:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void end_pr_log __P((void)); /* finish up after using pr_log */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:562:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void dump_packet __P((const char *, u_char *, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:564:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
ssize_t complete_read __P((int, void *, size_t));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:568:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void link_required __P((int)); /* we are starting to use the link */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:569:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void start_link __P((int)); /* bring the link up now */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:570:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void link_terminated __P((int)); /* we are finished with the link */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:571:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void link_down __P((int)); /* the LCP layer has left the Opened state */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:572:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void upper_layers_down __P((int));/* take all NCPs down */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:573:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void link_established __P((int)); /* the link is up; authenticate now */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:574:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void start_networks __P((int)); /* start all the network control protos */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:575:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void continue_networks __P((int)); /* start network [ip, etc] control protos */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:576:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void np_up __P((int, int)); /* a network protocol has come up */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:577:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void np_down __P((int, int)); /* a network protocol has gone down */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:578:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void np_finished __P((int, int)); /* a network protocol no longer needs link */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:579:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void auth_peer_fail __P((int, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:581:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void auth_peer_success __P((int, int, int, char *, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:583:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void auth_withpeer_fail __P((int, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:585:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void auth_withpeer_success __P((int, int, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:587:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void auth_check_options __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:589:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void auth_reset __P((int)); /* check what secrets we have */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:590:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int check_passwd __P((int, char *, int, char *, int, char **));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:592:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int get_secret __P((int, char *, char *, char *, int *, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:594:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int get_srp_secret __P((int unit, char *client, char *server, char *secret,
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:596:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int auth_ip_addr __P((int, u_int32_t));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:598:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int auth_number __P((void)); /* check if remote number is authorized */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:599:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int bad_ip_adrs __P((u_int32_t));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:603:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void demand_conf __P((void)); /* config interface(s) for demand-dial */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:604:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void demand_block __P((void)); /* set all NPs to queue up packets */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:605:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void demand_unblock __P((void)); /* set all NPs to pass packets */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:606:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void demand_discard __P((void)); /* set all NPs to discard packets */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:607:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void demand_rexmit __P((int, u_int32_t)); /* retransmit saved frames for an NP*/
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:608:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int loop_chars __P((unsigned char *, int)); /* process chars from loopback */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:609:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int loop_frame __P((unsigned char *, int)); /* should we bring link up? */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:627:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void sys_init __P((void)); /* Do system-dependent initialization */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:628:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void sys_cleanup __P((void)); /* Restore system state before exiting */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:629:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int sys_check_options __P((void)); /* Check options specified */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:630:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void sys_close __P((void)); /* Clean up in a child before execing */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:631:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int ppp_available __P((void)); /* Test whether ppp kernel support exists */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:632:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int get_pty __P((int *, int *, char *, int)); /* Get pty master/slave */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:633:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int open_ppp_loopback __P((void)); /* Open loopback for demand-dialling */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:634:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int tty_establish_ppp __P((int)); /* Turn serial port into a ppp interface */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:635:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void tty_disestablish_ppp __P((int)); /* Restore port to normal operation */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:636:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void generic_disestablish_ppp __P((int dev_fd)); /* Restore device setting */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:637:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int generic_establish_ppp __P((int dev_fd)); /* Make a ppp interface */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:638:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void make_new_bundle __P((int, int, int, int)); /* Create new bundle */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:639:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int bundle_attach __P((int)); /* Attach link to existing bundle */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:640:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void cfg_bundle __P((int, int, int, int)); /* Configure existing bundle */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:641:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void destroy_bundle __P((void)); /* Tell driver to destroy bundle */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:642:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void clean_check __P((void)); /* Check if line was 8-bit clean */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:643:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void set_up_tty __P((int, int)); /* Set up port's speed, parameters, etc. */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:644:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void restore_tty __P((int)); /* Restore port's original parameters */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:645:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void setdtr __P((int, int)); /* Raise or lower port's DTR line */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:646:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void output __P((int, u_char *, int)); /* Output a PPP packet */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:647:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void wait_input __P((struct timeval *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:649:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void add_fd __P((int)); /* Add fd to set to wait for */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:650:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void remove_fd __P((int)); /* Remove fd from set to wait for */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:651:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int read_packet __P((u_char *)); /* Read PPP packet */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:652:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int get_loop_output __P((void)); /* Read pkts from loopback */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:653:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void tty_send_config __P((int, u_int32_t, int, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:655:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void tty_set_xaccm __P((ext_accm));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:657:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void tty_recv_config __P((int, u_int32_t, int, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:659:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int ccp_test __P((int, u_char *, int, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:661:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void ccp_flags_set __P((int, int, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:663:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int ccp_fatal_error __P((int)); /* Test for fatal decomp error in kernel */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:664:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int get_idle_time __P((int, struct ppp_idle *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:666:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int get_ppp_stats __P((int, struct pppd_stats *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:668:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void netif_set_mtu __P((int, int)); /* Set PPP interface MTU */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:669:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int netif_get_mtu __P((int)); /* Get PPP interface MTU */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:670:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int sifvjcomp __P((int, int, int, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:672:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int sifup __P((int)); /* Configure i/f up for one protocol */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:673:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int sifnpmode __P((int u, int proto, enum NPmode mode));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:675:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int sifdown __P((int)); /* Configure i/f down for one protocol */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:676:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int sifaddr __P((int, u_int32_t, u_int32_t, u_int32_t));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:678:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int cifaddr __P((int, u_int32_t, u_int32_t));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:689:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int sifdefaultroute __P((int, u_int32_t, u_int32_t, bool replace_default_rt));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:691:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int cifdefaultroute __P((int, u_int32_t, u_int32_t));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:699:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int sifproxyarp __P((int, u_int32_t));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:701:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int cifproxyarp __P((int, u_int32_t));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:703:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
u_int32_t GetMask __P((u_int32_t)); /* Get appropriate netmask for address */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:704:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int lock __P((char *)); /* Create lock file for device */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:705:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int relock __P((int)); /* Rewrite lock file with new pid */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:706:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void unlock __P((void)); /* Delete previously-created lock file */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:707:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void logwtmp __P((const char *, const char *, const char *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:709:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int get_host_seed __P((void)); /* Get host-dependent random number seed */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:710:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int have_route_to __P((u_int32_t)); /* Check if route to addr exists */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:719:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int get_if_hwaddr __P((u_char *addr, char *name));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:720:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
char *get_first_ethernet __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:721:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int get_time __P((struct timeval *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:725:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int setipaddr __P((char *, char **, int)); /* Set local/remote ip addresses */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:726:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int parse_args __P((int argc, char **argv));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:728:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int options_from_file __P((char *filename, int must_exist, int check_prot,
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:731:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int options_from_user __P((void)); /* Parse options from user's .ppprc */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:732:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int options_for_tty __P((void)); /* Parse options from /etc/ppp/options.tty */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:733:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int options_from_list __P((struct wordlist *, int privileged));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:735:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int getword __P((FILE *f, char *word, int *newlinep, char *filename));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:737:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void option_error __P((char *fmt, ...));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:739:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int int_option __P((char *, int *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:741:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void add_options __P((option_t *)); /* Add extra options */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:742:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void check_options __P((void)); /* check values after all options parsed */
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:743:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int override_value __P((const char *, int, const char *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:745:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void print_options __P((printer_func, void *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:748:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
int parse_dotted_ip __P((char *, u_int32_t *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:753:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern int (*new_phase_hook) __P((int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:754:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern int (*idle_time_hook) __P((struct ppp_idle *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:755:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern int (*holdoff_hook) __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:756:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern int (*pap_check_hook) __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:757:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern int (*pap_auth_hook) __P((char *user, char *passwd, char **msgp,
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:760:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern void (*pap_logout_hook) __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:761:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern int (*pap_passwd_hook) __P((char *user, char *passwd));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:762:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern int (*allowed_address_hook) __P((u_int32_t addr));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:763:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern void (*ip_up_hook) __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:764:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern void (*ip_down_hook) __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:765:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern void (*ip_choose_hook) __P((u_int32_t *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:766:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern void (*ipv6_up_hook) __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:767:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern void (*ipv6_down_hook) __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:769:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern int (*chap_check_hook) __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:770:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern int (*chap_passwd_hook) __P((char *user, char *passwd));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:771:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern void (*multilink_join_hook) __P((void));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:774:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern void (*snoop_recv_hook) __P((unsigned char *p, int len));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/pppd.h:775:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
extern void (*snoop_send_hook) __P((unsigned char *p, int len));
^~~
In file included from plugin.c:32:
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/fsm.h:89:3: error: expected ':', ',', ';', '}' or '__attribute__' before '__P'
__P((fsm *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/fsm.h:155:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void fsm_init __P((fsm *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/fsm.h:156:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void fsm_lowerup __P((fsm *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/fsm.h:157:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void fsm_lowerdown __P((fsm *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/fsm.h:158:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void fsm_open __P((fsm *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/fsm.h:159:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void fsm_close __P((fsm *, char *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/fsm.h:160:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void fsm_input __P((fsm *, u_char *, int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/fsm.h:161:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void fsm_protreject __P((fsm *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/fsm.h:162:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void fsm_sdata __P((fsm *, int, int, u_char *, int));
^~~
In file included from plugin.c:33:
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/lcp.h:125:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void lcp_open __P((int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/lcp.h:126:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void lcp_close __P((int, char *));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/lcp.h:127:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void lcp_lowerup __P((int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/lcp.h:128:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void lcp_lowerdown __P((int));
^~~
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/lcp.h:129:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
void lcp_sprotrej __P((int, u_char *, int)); /* send protocol reject */
^~~
In file included from plugin.c:34:
/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/pppd/ipcp.h:95:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
char *ip_ntoa __P((u_int32_t));
^~~
plugin.c: In function 'PPPOEInitDevice':
plugin.c:114:2: warning: implicit declaration of function 'fatal'; did you mean 'fstat'? [-Wimplicit-function-declaration]
fatal("Could not allocate memory for PPPoE session");
^~~~~
fstat
plugin.c: In function 'PPPOEConnectDevice':
plugin.c:164:2: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration]
error("Can't get MTU for %s: %m", conn->ifName);
^~~~~
perror
plugin.c:244:5: warning: implicit declaration of function 'warn' [-Wimplicit-function-declaration]
warn("Connected to %02X:%02X:%02X:%02X:%02X:%02X via interface %s",
^~~~
plugin.c:253:5: warning: implicit declaration of function 'script_setenv'; did you mean 'secure_getenv'? [-Wimplicit-function-declaration]
script_setenv("MACREMOTE", remote_number, 0);
^~~~~~~~~~~~~
secure_getenv
plugin.c: In function 'PPPOEDeviceOptions':
plugin.c:344:9: warning: implicit declaration of function 'options_from_file' [-Wimplicit-function-declaration]
if(!options_from_file(buf, 0, 0, 1))
^~~~~~~~~~~~~~~~~
plugin.c: In function 'plugin_init':
plugin.c:469:10: warning: implicit declaration of function 'ppp_available' [-Wimplicit-function-declaration]
if (!ppp_available() && !new_style_driver) {
^~~~~~~~~~~~~
plugin.c:473:5: warning: implicit declaration of function 'add_options' [-Wimplicit-function-declaration]
add_options(Options);
^~~~~~~~~~~
plugin.c:475:5: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration]
info("RP-PPPoE plugin version %s compiled against pppd %s",
^~~~
plugin.c: In function 'pppoe_check_options':
plugin.c:542:13: warning: implicit declaration of function 'option_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
option_error("cannot parse pppoe-mac option value");
^~~~~~~~~~~~
strerror
plugin.c: At top level:
plugin.c:582:6: error: 'struct channel' has no member named 'process_extra_options'
.process_extra_options = &PPPOEDeviceOptions,
^~~~~~~~~~~~~~~~~~~~~
plugin.c:582:30: warning: excess elements in struct initializer
.process_extra_options = &PPPOEDeviceOptions,
^
plugin.c:582:30: note: (near initialization for 'pppoe_channel')
plugin.c:583:6: error: 'struct channel' has no member named 'check_options'; did you mean 'options'?
.check_options = &pppoe_check_options,
^~~~~~~~~~~~~
options
plugin.c:583:22: warning: excess elements in struct initializer
.check_options = &pppoe_check_options,
^
plugin.c:583:22: note: (near initialization for 'pppoe_channel')
plugin.c:584:6: error: 'struct channel' has no member named 'connect'
.connect = &PPPOEConnectDevice,
^~~~~~~
plugin.c:584:16: warning: excess elements in struct initializer
.connect = &PPPOEConnectDevice,
^
plugin.c:584:16: note: (near initialization for 'pppoe_channel')
plugin.c:585:6: error: 'struct channel' has no member named 'disconnect'
.disconnect = &PPPOEDisconnectDevice,
^~~~~~~~~~
plugin.c:585:19: warning: excess elements in struct initializer
.disconnect = &PPPOEDisconnectDevice,
^
plugin.c:585:19: note: (near initialization for 'pppoe_channel')
plugin.c:586:6: error: 'struct channel' has no member named 'establish_ppp'
.establish_ppp = &generic_establish_ppp,
^~~~~~~~~~~~~
plugin.c:586:23: error: 'generic_establish_ppp' undeclared here (not in a function)
.establish_ppp = &generic_establish_ppp,
^~~~~~~~~~~~~~~~~~~~~
plugin.c:586:22: warning: excess elements in struct initializer
.establish_ppp = &generic_establish_ppp,
^
plugin.c:586:22: note: (near initialization for 'pppoe_channel')
plugin.c:587:6: error: 'struct channel' has no member named 'disestablish_ppp'
.disestablish_ppp = &generic_disestablish_ppp,
^~~~~~~~~~~~~~~~
plugin.c:587:26: error: 'generic_disestablish_ppp' undeclared here (not in a function)
.disestablish_ppp = &generic_disestablish_ppp,
^~~~~~~~~~~~~~~~~~~~~~~~
plugin.c:587:25: warning: excess elements in struct initializer
.disestablish_ppp = &generic_disestablish_ppp,
^
plugin.c:587:25: note: (near initialization for 'pppoe_channel')
plugin.c:588:6: error: 'struct channel' has no member named 'send_config'
.send_config = &PPPOESendConfig,
^~~~~~~~~~~
plugin.c:588:20: warning: excess elements in struct initializer
.send_config = &PPPOESendConfig,
^
plugin.c:588:20: note: (near initialization for 'pppoe_channel')
plugin.c:589:6: error: 'struct channel' has no member named 'recv_config'
.recv_config = &PPPOERecvConfig,
^~~~~~~~~~~
plugin.c:589:20: warning: excess elements in struct initializer
.recv_config = &PPPOERecvConfig,
^
plugin.c:589:20: note: (near initialization for 'pppoe_channel')
plugin.c:590:6: error: 'struct channel' has no member named 'close'
.close = NULL,
^~~~~
plugin.c:590:14: warning: excess elements in struct initializer
.close = NULL,
^~~~
plugin.c:590:14: note: (near initialization for 'pppoe_channel')
plugin.c:591:6: error: 'struct channel' has no member named 'cleanup'
.cleanup = NULL
^~~~~~~
plugin.c:591:16: warning: excess elements in struct initializer
.cleanup = NULL
^~~~
plugin.c:591:16: note: (near initialization for 'pppoe_channel')
make[4]: *** [Makefile:140: plugin/plugin.o] Error 1
make[4]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/src'
make[3]: *** [Makefile:150: /openwrt/build_dir/target-aarch64_cortex-a53_musl/rp-pppoe-3.14/.built] Error 2