openwrt-packages icon indicating copy to clipboard operation
openwrt-packages copied to clipboard

openvpn-easy-rsa-whisky编译出错了。。。

Open wolfhnhn opened this issue 2 years ago • 3 comments

cc1: note: someone does not honour COPTS correctly, passed 2 times OpenWrt-libtool-patched-2.2: link: warning: ignoring multiple -rpath's for a libtool library cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times cc1: note: someone does not honour COPTS correctly, passed 2 times OpenWrt-libtool-patched-2.2: install: warning: remember to run libtool --finish /usr/lib' OpenWrt-libtool-patched-2.2: install: warning: remember to run libtool --finish /usr/lib' OpenWrt-libtool-patched-2.2: install: warning: remember to run libtool --finish /usr/lib' OpenWrt-libtool-patched-2.2: install: warning: remember to run `libtool --finish /nowhere'

  • curl -f --connect-timeout 20 --retry 5 --location --insecure http://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed

    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 26 127k 26 34251 0 0 16348 0 0:00:07 0:00:02 0:00:05 16341 100 127k 100 127k 0 0 49848 0 0:00:02 0:00:02 --:--:-- 49848 /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/lib/gcc/x86_64-openwrt-linux-musl/11.2.0/../../../../x86_64-openwrt-linux-musl/bin/ar: u' modifier ignored since D' is the default (see `U')

  • curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.cdn.openwrt.org/musl-fts-1.2.7.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed

    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16800 100 16800 0 0 18687 0 --:--:-- --:--:-- --:--:-- 18666 autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: /home/test/OpenWrt/openwrt/staging_dir/host/bin/aclocal -I /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/host/share/aclocal -I /home/test/OpenWrt/openwrt/staging_dir/hostpkg/share/aclocal -I /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/share/aclocal -I m4 -I . --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: /home/test/OpenWrt/openwrt/staging_dir/host/bin/libtoolize --install --force autoreconf: running: /home/test/OpenWrt/openwrt/staging_dir/host/bin/autoconf --include=/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/host/share/aclocal --include=/home/test/OpenWrt/openwrt/staging_dir/hostpkg/share/aclocal --include=/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/test/OpenWrt/openwrt/staging_dir/host/share/aclocal --force autoreconf: running: /home/test/OpenWrt/openwrt/staging_dir/host/bin/autoheader --include=/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/host/share/aclocal --include=/home/test/OpenWrt/openwrt/staging_dir/hostpkg/share/aclocal --include=/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/test/OpenWrt/openwrt/staging_dir/host/share/aclocal --force autoreconf: running: /home/test/OpenWrt/openwrt/staging_dir/host/bin/automake --add-missing --force-missing configure.ac:9: installing './compile' configure.ac:5: installing './missing' Makefile.am: installing './INSTALL' Makefile.am: installing './depcomp' autoreconf: Leaving directory .' configure: WARNING: unrecognized options: --disable-nls configure: WARNING: using cross tools not prefixed with host triplet configure: WARNING: unrecognized options: --disable-nls /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/lib/gcc/x86_64-openwrt-linux-musl/11.2.0/../../../../x86_64-openwrt-linux-musl/bin/ar: u' modifier ignored since D' is the default (see U') OpenWrt-libtool: install: warning: remember to run libtool --finish /usr/lib' autoreconf: Entering directory .' autoreconf: running: true --force autoreconf: running: /home/test/OpenWrt/openwrt/staging_dir/host/bin/aclocal -I /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/host/share/aclocal -I /home/test/OpenWrt/openwrt/staging_dir/hostpkg/share/aclocal -I /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/share/aclocal -I m4 -I . --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /home/test/OpenWrt/openwrt/staging_dir/host/bin/autoconf --include=/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/host/share/aclocal --include=/home/test/OpenWrt/openwrt/staging_dir/hostpkg/share/aclocal --include=/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/test/OpenWrt/openwrt/staging_dir/host/share/aclocal --force autoreconf: running: /home/test/OpenWrt/openwrt/staging_dir/host/bin/autoheader --include=/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/host/share/aclocal --include=/home/test/OpenWrt/openwrt/staging_dir/hostpkg/share/aclocal --include=/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/test/OpenWrt/openwrt/staging_dir/host/share/aclocal --force autoreconf: running: /home/test/OpenWrt/openwrt/staging_dir/host/bin/automake --add-missing --force-missing Makefile.am:29: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS autoreconf: Leaving directory .' configure: WARNING: compiler doesn't generate build-id by default configure: WARNING: not running biarch tests, x86_64-openwrt-linux-musl-gcc -m32 does not work libnetlink.c:154:2: warning: #warning "libmnl required for error support" [-Wcpp] 154 | #warning "libmnl required for error support" | ^~~~~~~ In file included from ll_types.c:24: ../include/uapi/linux/sockios.h:42: warning: "SIOCGSTAMP" redefined 42 | #define SIOCGSTAMP SIOCGSTAMP_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ll_types.c:16: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:111: note: this is the location of the previous definition 111 | #define SIOCGSTAMP 0x8906 | In file included from ll_types.c:24: ../include/uapi/linux/sockios.h:43: warning: "SIOCGSTAMPNS" redefined 43 | #define SIOCGSTAMPNS SIOCGSTAMPNS_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ll_types.c:16: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:112: note: this is the location of the previous definition 112 | #define SIOCGSTAMPNS 0x8907 | In file included from ll_proto.c:24: ../include/uapi/linux/sockios.h:42: warning: "SIOCGSTAMP" redefined 42 | #define SIOCGSTAMP SIOCGSTAMP_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ll_proto.c:16: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:111: note: this is the location of the previous definition 111 | #define SIOCGSTAMP 0x8906 | In file included from ll_proto.c:24: ../include/uapi/linux/sockios.h:43: warning: "SIOCGSTAMPNS" redefined 43 | #define SIOCGSTAMPNS SIOCGSTAMPNS_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ll_proto.c:16: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:112: note: this is the location of the previous definition 112 | #define SIOCGSTAMPNS 0x8907 | In file included from ll_addr.c:24: ../include/uapi/linux/sockios.h:42: warning: "SIOCGSTAMP" redefined 42 | #define SIOCGSTAMP SIOCGSTAMP_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ll_addr.c:16: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:111: note: this is the location of the previous definition 111 | #define SIOCGSTAMP 0x8906 | In file included from ll_addr.c:24: ../include/uapi/linux/sockios.h:43: warning: "SIOCGSTAMPNS" redefined 43 | #define SIOCGSTAMPNS SIOCGSTAMPNS_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ll_addr.c:16: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:112: note: this is the location of the previous definition 112 | #define SIOCGSTAMPNS 0x8907 | bpf_glue.c: In function 'bpf_program_load': bpf_glue.c:19:9: warning: 'bpf_load_program' is deprecated: libbpf v0.7+: use bpf_prog_load() instead [-Wdeprecated-declarations] 19 | return bpf_load_program(type, insns, size_insns / sizeof(struct bpf_insn), | ^~~~~~ In file included from bpf_glue.c:11: /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/include/bpf/bpf.h:207:16: note: declared here 207 | LIBBPF_API int bpf_load_program(enum bpf_prog_type type, | ^~~~~~~~~~~~~~~~ In file included from cg_map.c:17: ../include/uapi/linux/limits.h:7: warning: "NGROUPS_MAX" redefined 7 | #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/fortify/stdlib.h:29, from cg_map.c:12: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/limits.h:48: note: this is the location of the previous definition 48 | #define NGROUPS_MAX 32 | bpf_libbpf.c: In function 'create_map': bpf_libbpf.c:66:9: warning: 'bpf_create_map_xattr' is deprecated: libbpf v0.7+: use bpf_map_create() instead [-Wdeprecated-declarations] 66 | return bpf_create_map_xattr(&map_attr); | ^~~~~~ In file included from bpf_libbpf.c:22: /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/include/bpf/bpf.h:83:16: note: declared here 83 | LIBBPF_API int bpf_create_map_xattr(const struct bpf_create_map_attr *create_attr); | ^~~~~~~~~~~~~~~~~~~~ bpf_libbpf.c: In function 'find_legacy_tail_calls': bpf_libbpf.c:177:9: warning: 'bpf_program__set_priv' is deprecated: libbpf v0.7+: storage via set_priv/priv is deprecated [-Wdeprecated-declarations] 177 | bpf_program__set_priv(prog, map, NULL); | ^~~~~~~~~~~~~~~~~~~~~ In file included from bpf_libbpf.c:21: /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/include/bpf/libbpf.h:285:16: note: declared here 285 | LIBBPF_API int bpf_program__set_priv(struct bpf_program *prog, void *priv, | ^~~~~~~~~~~~~~~~~~~~~ bpf_libbpf.c: In function 'update_legacy_tail_call_maps': bpf_libbpf.c:191:17: warning: 'bpf_program__priv' is deprecated: libbpf v0.7+: storage via set_priv/priv is deprecated [-Wdeprecated-declarations] 191 | map = bpf_program__priv(prog); | ^~~ In file included from bpf_libbpf.c:21: /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/include/bpf/libbpf.h:288:18: note: declared here 288 | LIBBPF_API void *bpf_program__priv(const struct bpf_program *prog); | ^~~~~~~~~~~~~~~~~ bpf_libbpf.c: In function 'load_bpf_object': bpf_libbpf.c:291:17: warning: 'bpf_map__is_offload_neutral' is deprecated: libbpf v0.8+: use bpf_map__type() instead [-Wdeprecated-declarations] 291 | if (!bpf_map__is_offload_neutral(map)) | ^~ In file included from bpf_libbpf.c:21: /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/usr/include/bpf/libbpf.h:784:17: note: declared here 784 | LIBBPF_API bool bpf_map__is_offload_neutral(const struct bpf_map *map); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ipaddress.c:31: ../include/uapi/linux/sockios.h:42: warning: "SIOCGSTAMP" redefined 42 | #define SIOCGSTAMP SIOCGSTAMP_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ipaddress.c:19: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:111: note: this is the location of the previous definition 111 | #define SIOCGSTAMP 0x8906 | In file included from ipaddress.c:31: ../include/uapi/linux/sockios.h:43: warning: "SIOCGSTAMPNS" redefined 43 | #define SIOCGSTAMPNS SIOCGSTAMPNS_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ipaddress.c:19: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:112: note: this is the location of the previous definition 112 | #define SIOCGSTAMPNS 0x8907 | In file included from ../include/uapi/linux/if_tunnel.h:6, from iptunnel.c:24: ../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined 134 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|
    | In file included from iptunnel.c:21: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/net/if.h:48: note: this is the location of the previous definition 48 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|
    | In file included from ipmaddr.c:26: ../include/uapi/linux/sockios.h:42: warning: "SIOCGSTAMP" redefined 42 | #define SIOCGSTAMP SIOCGSTAMP_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ipmaddr.c:17: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:111: note: this is the location of the previous definition 111 | #define SIOCGSTAMP 0x8906 | In file included from ipmaddr.c:26: ../include/uapi/linux/sockios.h:43: warning: "SIOCGSTAMPNS" redefined 43 | #define SIOCGSTAMPNS SIOCGSTAMPNS_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ipmaddr.c:17: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:112: note: this is the location of the previous definition 112 | #define SIOCGSTAMPNS 0x8907 | In file included from ipmroute.c:27: ../include/uapi/linux/sockios.h:42: warning: "SIOCGSTAMP" redefined 42 | #define SIOCGSTAMP SIOCGSTAMP_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ipmroute.c:18: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:111: note: this is the location of the previous definition 111 | #define SIOCGSTAMP 0x8906 | In file included from ipmroute.c:27: ../include/uapi/linux/sockios.h:43: warning: "SIOCGSTAMPNS" redefined 43 | #define SIOCGSTAMPNS SIOCGSTAMPNS_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ipmroute.c:18: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:112: note: this is the location of the previous definition 112 | #define SIOCGSTAMPNS 0x8907 | In file included from ../include/uapi/linux/if_tunnel.h:6, from link_gre.c:20: ../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined 134 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|
    | In file included from link_gre.c:14: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/net/if.h:48: note: this is the location of the previous definition 48 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|
    | In file included from ../include/uapi/linux/if_tunnel.h:6, from link_vti.c:20: ../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined 134 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|
    | In file included from link_vti.c:14: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/net/if.h:48: note: this is the location of the previous definition 48 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|
    | In file included from ../include/uapi/linux/if_tunnel.h:6, from link_vti6.c:21: ../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined 134 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|
    | In file included from link_vti6.c:15: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/net/if.h:48: note: this is the location of the previous definition 48 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|
    | In file included from ../include/uapi/linux/if_tunnel.h:6, from link_ip6tnl.c:20: ../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined 134 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|
    | In file included from link_ip6tnl.c:14: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/net/if.h:48: note: this is the location of the previous definition 48 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|
    | In file included from ../include/uapi/linux/if_tunnel.h:6, from link_iptnl.c:21: ../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined 134 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|
    | In file included from link_iptnl.c:14: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/net/if.h:48: note: this is the location of the previous definition 48 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|
    | In file included from ../include/uapi/linux/if_tunnel.h:6, from link_gre6.c:20: ../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined 134 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|
    | In file included from link_gre6.c:14: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/net/if.h:48: note: this is the location of the previous definition 48 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|
    | In file included from vlan.c:13: ../include/json_print.h:84:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 84 | _PRINT_FUNC(tv, const struct timeval *) | ^~~~~~~ ../include/json_print.h:54:37: note: in definition of macro '_PRINT_FUNC' 54 | type value);
    | ^~~~ ../include/json_print.h:84:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 84 | _PRINT_FUNC(tv, const struct timeval *) | ^~~~~~~ ../include/json_print.h:59:45: note: in definition of macro '_PRINT_FUNC' 59 | type value)
    | ^~~~ ../include/json_print.h: In function 'print_tv': ../include/json_print.h:62:48: warning: passing argument 5 of 'print_color_tv' from incompatible pointer type [-Wincompatible-pointer-types] 62 | value);
    | ^~~~~ | | | const struct timeval * ../include/json_print.h:84:1: note: in expansion of macro '_PRINT_FUNC' 84 | _PRINT_FUNC(tv, const struct timeval *) | ^~~~~~~~~~~ ../include/json_print.h:54:42: note: expected 'const struct timeval *' but argument is of type 'const struct timeval *' 54 | type value);
    | ^ ../include/json_print.h:84:1: note: in expansion of macro '_PRINT_FUNC' 84 | _PRINT_FUNC(tv, const struct timeval *) | ^~~~~~~~~~~ In file included from ../include/uapi/linux/tipc.h:42, from ss.c:52: ../include/uapi/linux/sockios.h:42: warning: "SIOCGSTAMP" redefined 42 | #define SIOCGSTAMP SIOCGSTAMP_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ss.c:16: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:111: note: this is the location of the previous definition 111 | #define SIOCGSTAMP 0x8906 | In file included from ../include/uapi/linux/tipc.h:42, from ss.c:52: ../include/uapi/linux/sockios.h:43: warning: "SIOCGSTAMPNS" redefined 43 | #define SIOCGSTAMPNS SIOCGSTAMPNS_OLD | In file included from /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/ioctl.h:10, from ss.c:16: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/bits/ioctl.h:112: note: this is the location of the previous definition 112 | #define SIOCGSTAMPNS 0x8907 | In file included from nstat.c:24: /home/test/OpenWrt/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] 1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h> | ^~~~~~~ openvpn-easy-rsa-3.1.0-rc1-f06871cf0325c0e6fe340f82d45bf2f165a8e7e5.tar.xz: Download from https://github.com/OpenVPN/easy-rsa.git failed openvpn-easy-rsa-3.1.0-rc1-f06871cf0325c0e6fe340f82d45bf2f165a8e7e5.tar.xz: Requires sha256sum for verification Cloning into 'openvpn-easy-rsa-3.1.0-rc1-f06871cf0325c0e6fe340f82d45bf2f165a8e7e5'... Note: switching to 'f06871cf0325c0e6fe340f82d45bf2f165a8e7e5'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at f06871c ChangeLog: ANNOUNCE Easy-RSA version 3.0.1 - Initial debute make[3]: *** [Makefile:57: /home/test/OpenWrt/openwrt/build_dir/target-x86_64_musl/openvpn-easy-rsa//openvpn-easy-rsa-3.1.0-rc1-f06871cf0325c0e6fe340f82d45bf2f165a8e7e5/.prepared_63397bfe4b9728984ea9558adc0e1156_6664517399ebbbc92a37c5bb081b5c53] Error 1 make[2]: *** [package/Makefile:116: package/feeds/kiddin9/openvpn-easy-rsa-whisky/compile] Error 1 make[1]: *** [package/Makefile:110: /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make: *** [/home/test/OpenWrt/openwrt/include/toplevel.mk:230:world] 错误 2

wolfhnhn avatar Apr 09 '22 03:04 wolfhnhn

/home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/build_dir/target-x86_64_musl/luci-app-autoreboot/.pkgdir/luci-i18n-autoreboot-zh-cn.installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/build_dir/target-x86_64_musl/luci-app-autoreboot/.pkgdir/luci-i18n-autoreboot-zh-cn.installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-i18n-autoreboot-zh-cn_installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-i18n-autoreboot-zh-cn_installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-i18n-autoreboot-zh-cn.provides' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-i18n-autoreboot-zh-cn.provides' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/bin/packages/x86_64/kiddin9/luci-i18n-autoreboot-zh-cn_git-22.098.27522-d2df986_all.ipk' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/bin/packages/x86_64/kiddin9/luci-i18n-autoreboot-zh-cn_git-22.098.27522-d2df986_all.ipk' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target 'luci-i18n-autoreboot-zh-cn-clean' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target 'luci-i18n-autoreboot-zh-cn-clean' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-app-cifs-mount.default.install.luci-i18n-cifs-mount-zh-cn' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-app-cifs-mount.default.install.luci-i18n-cifs-mount-zh-cn' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/build_dir/target-x86_64_musl/luci-app-cifs-mount/.pkgdir/luci-i18n-cifs-mount-zh-cn.installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/build_dir/target-x86_64_musl/luci-app-cifs-mount/.pkgdir/luci-i18n-cifs-mount-zh-cn.installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-i18n-cifs-mount-zh-cn_installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-i18n-cifs-mount-zh-cn_installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-i18n-cifs-mount-zh-cn.provides' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-i18n-cifs-mount-zh-cn.provides' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/bin/packages/x86_64/kiddin9/luci-i18n-cifs-mount-zh-cn_git-22.098.27522-d2df986_all.ipk' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/bin/packages/x86_64/kiddin9/luci-i18n-cifs-mount-zh-cn_git-22.098.27522-d2df986_all.ipk' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target 'luci-i18n-cifs-mount-zh-cn-clean' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target 'luci-i18n-cifs-mount-zh-cn-clean' /home/test/OpenWrt/openwrt/include/package.mk:328: warning: overriding recipe for target 'prepare-package-install' /home/test/OpenWrt/openwrt/include/package.mk:328: warning: ignoring old recipe for target 'prepare-package-install' /home/test/OpenWrt/openwrt/include/package.mk:333: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/bin/targets/x86/64/packages' /home/test/OpenWrt/openwrt/include/package.mk:333: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/bin/targets/x86/64/packages' /home/test/OpenWrt/openwrt/include/package.mk:340: warning: overriding recipe for target 'force-clean-build' /home/test/OpenWrt/openwrt/include/package.mk:340: warning: ignoring old recipe for target 'force-clean-build' /home/test/OpenWrt/openwrt/include/package.mk:345: warning: overriding recipe for target 'clean' /home/test/OpenWrt/openwrt/include/package.mk:345: warning: ignoring old recipe for target 'clean' /home/test/OpenWrt/openwrt/include/package.mk:351: warning: overriding recipe for target 'dist' /home/test/OpenWrt/openwrt/include/package.mk:351: warning: ignoring old recipe for target 'dist' /home/test/OpenWrt/openwrt/include/package.mk:354: warning: overriding recipe for target 'distcheck' /home/test/OpenWrt/openwrt/include/package.mk:354: warning: ignoring old recipe for target 'distcheck' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-app-diskman.default.install.luci-i18n-diskman-zh-cn' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-app-diskman.default.install.luci-i18n-diskman-zh-cn' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/.pkgdir/luci-i18n-diskman-zh-cn.installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/.pkgdir/luci-i18n-diskman-zh-cn.installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-i18n-diskman-zh-cn_installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-i18n-diskman-zh-cn_installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-i18n-diskman-zh-cn.provides' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-i18n-diskman-zh-cn.provides' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/bin/packages/x86_64/kiddin9/luci-i18n-diskman-zh-cn_git-22.098.27522-d2df986_all.ipk' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/bin/packages/x86_64/kiddin9/luci-i18n-diskman-zh-cn_git-22.098.27522-d2df986_all.ipk' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target 'luci-i18n-diskman-zh-cn-clean' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target 'luci-i18n-diskman-zh-cn-clean' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-app-filetransfer.default.install.luci-i18n-filetransfer-zh-cn' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-app-filetransfer.default.install.luci-i18n-filetransfer-zh-cn' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/build_dir/target-x86_64_musl/luci-app-filetransfer/.pkgdir/luci-i18n-filetransfer-zh-cn.installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/build_dir/target-x86_64_musl/luci-app-filetransfer/.pkgdir/luci-i18n-filetransfer-zh-cn.installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-i18n-filetransfer-zh-cn_installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-i18n-filetransfer-zh-cn_installed' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-i18n-filetransfer-zh-cn.provides' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-i18n-filetransfer-zh-cn.provides' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target '/home/test/OpenWrt/openwrt/bin/packages/x86_64/kiddin9/luci-i18n-filetransfer-zh-cn_git-22.098.27522-d2df986_all.ipk' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target '/home/test/OpenWrt/openwrt/bin/packages/x86_64/kiddin9/luci-i18n-filetransfer-zh-cn_git-22.098.27522-d2df986_all.ipk' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: overriding recipe for target 'luci-i18n-filetransfer-zh-cn-clean' /home/test/OpenWrt/openwrt/feeds/luci/luci.mk:337: warning: ignoring old recipe for target 'luci-i18n-filetransfer-zh-cn-clean' openvpn-easy-rsa-3.0.8-7d1b00813c512b01ec65ff1a2e970243176daa97.tar.xz: Download from https://github.com/OpenVPN/easy-rsa.git failed openvpn-easy-rsa-3.0.8-7d1b00813c512b01ec65ff1a2e970243176daa97.tar.xz: Requires sha256sum for verification Cloning into 'openvpn-easy-rsa-3.0.8-7d1b00813c512b01ec65ff1a2e970243176daa97'... Note: switching to '7d1b00813c512b01ec65ff1a2e970243176daa97'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 7d1b008 Final improvements to vars_setup() make[3]: *** [Makefile:57: /home/test/OpenWrt/openwrt/build_dir/target-x86_64_musl/openvpn-easy-rsa//openvpn-easy-rsa-3.0.8-7d1b00813c512b01ec65ff1a2e970243176daa97/.prepared_c19a0c31e8c929aecb1c085576d5da4b_6664517399ebbbc92a37c5bb081b5c53] Error 1 make[2]: *** [package/Makefile:116: package/feeds/kiddin9/openvpn-easy-rsa-whisky/compile] Error 1 make[1]: *** [package/Makefile:110: /home/test/OpenWrt/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make: *** [/home/test/OpenWrt/openwrt/include/toplevel.mk:230:world] 错误 2

##还不能替换成3.0.8的makefile

wolfhnhn avatar Apr 09 '22 04:04 wolfhnhn

把101-static_EASYRSA.patch也修改会3.0.8的那个版本后好像通过了,现在还没有编译完,但这个错误好像通过了

wolfhnhn avatar Apr 09 '22 04:04 wolfhnhn

可以了,新的3.1.0-RC脚本有问题,请检查一下吧。

wolfhnhn avatar Apr 09 '22 06:04 wolfhnhn