#20662: iproute2 libnl-tiny errors on UCLIBC-NG (ar71xx)
-----------------------+------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  high       |  Milestone:
Component:  packages   |    Version:  Trunk
 Keywords:             |
-----------------------+------------------------
 mips-openwrt-linux-uclibc-gcc -Wall -Wstrict-prototypes  -Wmissing-
 prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2
 -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves
 -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat
 -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro
 -ffunction-sections -fdata-sections -I../include -I/mnt/storage/openwrt-
 cc/trunk/staging_dir/target-mips_34kc_uClibc-1.0.6/usr/include/libnl-tiny
 -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DNO_SHARED_LIBS
 -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -DIPROUTE2_TINY -fpic   -c -o
 utils.o utils.c
 In file included from utils.c:34:0:
 ../include/namespace.h:34:19: error: static declaration of 'setns' follows
 non-static declaration
  static inline int setns(int fd, int nstype)
                    ^
 In file included from /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
 mips_34kc_gcc-5.2.0_uClibc-1.0.6/include/sched.h:34:0,
                  from ../include/namespace.h:4,
                  from utils.c:34:
 /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
 mips_34kc_gcc-5.2.0_uClibc-1.0.6/include/bits/sched.h:91:12: note:
 previous declaration of 'setns' was here
  extern int setns (int __fd, int __nstype) __THROW;
             ^
 make[4]: *** [utils.o] Error 1

--
Ticket URL: <https://dev.openwrt.org/ticket/20662>
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