#19302: iproute2 fails using musl
-----------------------------------+----------------------------------
 Reporter:  diizzyy                |      Owner:  developers
     Type:  defect                 |     Status:  new
 Priority:  normal                 |  Milestone:  Chaos Calmer (trunk)
Component:  packages               |    Version:  Trunk
 Keywords:  musl, iproute2, trunk  |
-----------------------------------+----------------------------------
 {{{make[4]: Entering directory `/home/diizzy/openwrt/trunk-atheros-
 tplink/openwrt/build_dir/target-
 mips_34kc_musl-1.1.6/iproute2-/iproute2-3.19.0'
 make[5]: Entering directory `/home/diizzy/openwrt/trunk-atheros-
 tplink/openwrt/build_dir/target-
 mips_34kc_musl-1.1.6/iproute2-/iproute2-3.19.0/lib'
 mips-openwrt-linux-musl-gcc -Wall -Wstrict-prototypes  -Wmissing-
 prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2
 -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves
 -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float
 -DHAVE_SETNS -ffunction-sections -fdata-sections -I../include
 -I/home/diizzy/openwrt/trunk-atheros-tplink/openwrt/staging_dir/target-
 mips_34kc_musl-1.1.6/usr/include/libnl-tiny -I../include
 -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DNO_SHARED_LIBS
 -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fpic   -c -o namespace.o
 namespace.c
 namespace.c: In function 'bind_etc':
 namespace.c:18:22: error: 'MAXPATHLEN' undeclared (first use in this
 function)
   char etc_netns_path[MAXPATHLEN];
                       ^
 namespace.c:18:22: note: each undeclared identifier is reported only once
 for each function it appears in
 namespace.c:20:7: warning: unused variable 'etc_name' [-Wunused-variable]
   char etc_name[MAXPATHLEN];
        ^
 namespace.c:19:7: warning: unused variable 'netns_name' [-Wunused-
 variable]
   char netns_name[MAXPATHLEN];
        ^
 namespace.c:18:7: warning: unused variable 'etc_netns_path' [-Wunused-
 variable]
   char etc_netns_path[MAXPATHLEN];
        ^
 namespace.c: In function 'netns_switch':
 namespace.c:46:16: error: 'MAXPATHLEN' undeclared (first use in this
 function)
   char net_path[MAXPATHLEN];
                 ^
 namespace.c:46:7: warning: unused variable 'net_path' [-Wunused-variable]
   char net_path[MAXPATHLEN];
        ^
 namespace.c: In function 'netns_get_fd':
 namespace.c:90:15: error: 'MAXPATHLEN' undeclared (first use in this
 function)
   char pathbuf[MAXPATHLEN];
                ^
 namespace.c:90:7: warning: unused variable 'pathbuf' [-Wunused-variable]
   char pathbuf[MAXPATHLEN];
        ^
 make[5]: *** [namespace.o] Error 1
 make[5]: Leaving directory `/home/diizzy/openwrt/trunk-atheros-
 tplink/openwrt/build_dir/target-
 mips_34kc_musl-1.1.6/iproute2-/iproute2-3.19.0/lib'
 make[4]: *** [all] Error 2
 make[4]: Leaving directory `/home/diizzy/openwrt/trunk-atheros-
 tplink/openwrt/build_dir/target-
 mips_34kc_musl-1.1.6/iproute2-/iproute2-3.19.0'
 make[3]: *** [/home/diizzy/openwrt/trunk-atheros-tplink/openwrt/build_dir
 /target-mips_34kc_musl-1.1.6/iproute2-/iproute2-3.19.0/.built] Error 2
 make[3]: Leaving directory `/home/diizzy/openwrt/trunk-atheros-
 tplink/openwrt/package/network/utils/iproute2'
 make[2]: *** [package/network/utils/iproute2/compile] Error 2
 make[2]: Leaving directory `/home/diizzy/openwrt/trunk-atheros-
 tplink/openwrt'
 make[1]: *** [/home/diizzy/openwrt/trunk-atheros-
 tplink/openwrt/staging_dir/target-
 mips_34kc_musl-1.1.6/stamp/.package_compile] Error 2
 make[1]: Leaving directory `/home/diizzy/openwrt/trunk-atheros-
 tplink/openwrt'
 make: *** [world] Error 2}}}

 Recent current and packages, updated just a few hours ago.

--
Ticket URL: <https://dev.openwrt.org/ticket/19302>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to