Opde Issues Tracker

compile.33

build number: 33

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/pptpd/compile -j$(nproc) || make package/feeds/packages/pptpd/compile V=s

Compile.txt

Applying ./patches/001-bad_pqueue_debug.patch using plaintext: 
patching file pqueue.c

Applying ./patches/002-makefile_fix.patch using plaintext: 
patching file plugins/Makefile

Applying ./patches/003-opt_flags.patch using plaintext: 
patching file Makefile.in

Applying ./patches/100-musl-compat.patch using plaintext: 
patching file bcrelay.c
patching file compat.c
patching file net/ppp_defs.h
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /openwrt/include/site/aarch64
checking for a BSD-compatible install... /openwrt/staging_dir/host/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-openwrt-linux-strip... aarch64-openwrt-linux-musl-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking command line for use of BSD PPP... default standard pppd
checking command line for use of SLIRP... default no
checking command line for syslog facility name... default LOG_DAEMON
checking command line for bcrelay build... yes
checking command line for VRF build... default no
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 style of include used by make... GNU
checking dependency style of ccache_cc... none
checking for aarch64-openwrt-linux-ranlib... aarch64-openwrt-linux-musl-gcc-ranlib
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether #! works in shell scripts... yes
checking for setsid... yes
checking for daemon... yes
checking for setproctitle... no
checking for getservbyname... yes
checking for strlcpy... yes
checking for fork... yes
checking for memmove... yes
checking for strerror... (cached) yes
checking for writev... yes
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/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 pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for libintl.h... (cached) no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for socklen_t... yes
checking for accept in -lc... yes
checking for gethostbyname in -lc... yes
checking for openpty in -lc... yes
checking for gettext in -lc... yes
checking for accept in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for openpty in -lutil... yes
checking for gettext in -lintl... no
===============================================================================
Configuration chosen:
   PPPd:               Standard.
   LIBWRAP security:   No.
   Broadcast Relay:    Yes.
   VRF support:        No.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-nls
make[4]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a72_musl/pptpd-1.4.0'
make  all-am
make[5]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a72_musl/pptpd-1.4.0'
ccache_cc -DHAVE_CONFIG_H -I. -I.  -I/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-8.4.0_musl/include   -Os -pipe -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-a72_musl/pptpd-1.4.0=pptpd-1.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c pqueue.c
for d in plugins; do make -w --jobserver-auth=3,4 -C $d all; done
make[6]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a72_musl/pptpd-1.4.0/plugins'
ccache_cc -o pptpd-logwtmp.so -shared -Os -pipe -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-a72_musl/pptpd-1.4.0=pptpd-1.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I.. -I../../include -fPIC pptpd-logwtmp.c -lutil
In file included from pptpd-logwtmp.c:15:
/openwrt/staging_dir/target-aarch64_cortex-a72_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-a72_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-a72_musl/usr/include/pppd/pppd.h:218:5: error: unknown type name 'notify_func'
     notify_func     func;
     ^~~~~~~~~~~
/openwrt/staging_dir/target-aarch64_cortex-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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-a72_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));
                                ^~~
pptpd-logwtmp.c: In function 'ip_up':
pptpd-logwtmp.c:47:5: warning: implicit declaration of function 'notice'; did you mean 'nice'? [-Wimplicit-function-declaration]
     notice("pptpd-logwtmp.so ip-up %s %s %s", ifname, user,
     ^~~~~~
     nice
pptpd-logwtmp.c:49:3: warning: implicit declaration of function 'logwtmp'; did you mean 'updwtmp'? [-Wimplicit-function-declaration]
   logwtmp(ifname, user, pptpd_original_ip);
   ^~~~~~~
   updwtmp
pptpd-logwtmp.c: In function 'plugin_init':
pptpd-logwtmp.c:61:3: warning: implicit declaration of function 'add_options' [-Wimplicit-function-declaration]
   add_options(options);
   ^~~~~~~~~~~
pptpd-logwtmp.c:62:3: warning: implicit declaration of function 'add_notifier' [-Wimplicit-function-declaration]
   add_notifier(&ip_up_notifier, ip_up, NULL);
   ^~~~~~~~~~~~
make[6]: *** [Makefile:19: pptpd-logwtmp.so] Error 1
make[6]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a72_musl/pptpd-1.4.0/plugins'
make[5]: *** [Makefile:840: all-local] Error 2
make[5]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a72_musl/pptpd-1.4.0'
make[4]: *** [Makefile:277: all] Error 2
make[4]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a72_musl/pptpd-1.4.0'
make[3]: *** [Makefile:72: /openwrt/build_dir/target-aarch64_cortex-a72_musl/pptpd-1.4.0/.built] Error 2
Last updated on 30 Oct 2021
Published on 30 Oct 2021