#20006: build error/ libnet/ r46144
-----------------------+------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  highest    |  Milestone:
Component:  packages   |    Version:  Trunk
 Keywords:             |
-----------------------+------------------------
 In file included from ../include/libnet.h:83:0,
                  from common.h:50,
                  from libnet_link_linux.c:27:
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:71:2: error:
 redeclaration of enumerator 'IFF_UP'
   IFF_UP    = 1<<0,  /* sysfs */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:45:5: note:
 previous definition of 'IFF_UP' was here
      IFF_UP = 0x1,  /* Interface is up.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:72:2: error:
 redeclaration of enumerator 'IFF_BROADCAST'
   IFF_BROADCAST   = 1<<1,  /* __volatile__ */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:47:5: note:
 previous definition of 'IFF_BROADCAST' was here
      IFF_BROADCAST = 0x2, /* Broadcast address valid.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:73:2: error:
 redeclaration of enumerator 'IFF_DEBUG'
   IFF_DEBUG   = 1<<2,  /* sysfs */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:49:5: note:
 previous definition of 'IFF_DEBUG' was here
      IFF_DEBUG = 0x4,  /* Turn on debugging.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:74:2: error:
 redeclaration of enumerator 'IFF_LOOPBACK'
   IFF_LOOPBACK   = 1<<3,  /* __volatile__ */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:51:5: note:
 previous definition of 'IFF_LOOPBACK' was here
      IFF_LOOPBACK = 0x8,  /* Is a loopback net.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:75:2: error:
 redeclaration of enumerator 'IFF_POINTOPOINT'
   IFF_POINTOPOINT   = 1<<4,  /* __volatile__ */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:53:5: note:
 previous definition of 'IFF_POINTOPOINT' was here
      IFF_POINTOPOINT = 0x10, /* Interface is point-to-point link.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:76:2: error:
 redeclaration of enumerator 'IFF_NOTRAILERS'
   IFF_NOTRAILERS   = 1<<5,  /* sysfs */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:55:5: note:
 previous definition of 'IFF_NOTRAILERS' was here
      IFF_NOTRAILERS = 0x20, /* Avoid use of trailers.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:77:2: error:
 redeclaration of enumerator 'IFF_RUNNING'
   IFF_RUNNING   = 1<<6,  /* __volatile__ */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:57:5: note:
 previous definition of 'IFF_RUNNING' was here
      IFF_RUNNING = 0x40,  /* Resources allocated.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:78:2: error:
 redeclaration of enumerator 'IFF_NOARP'
   IFF_NOARP   = 1<<7,  /* sysfs */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:59:5: note:
 previous definition of 'IFF_NOARP' was here
      IFF_NOARP = 0x80,  /* No address resolution protocol.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:79:2: error:
 redeclaration of enumerator 'IFF_PROMISC'
   IFF_PROMISC   = 1<<8,  /* sysfs */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:61:5: note:
 previous definition of 'IFF_PROMISC' was here
      IFF_PROMISC = 0x100, /* Receive all packets.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:80:2: error:
 redeclaration of enumerator 'IFF_ALLMULTI'
   IFF_ALLMULTI   = 1<<9,  /* sysfs */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:65:5: note:
 previous definition of 'IFF_ALLMULTI' was here
      IFF_ALLMULTI = 0x200, /* Receive all multicast packets.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:81:2: error:
 redeclaration of enumerator 'IFF_MASTER'
   IFF_MASTER   = 1<<10, /* __volatile__ */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:68:5: note:
 previous definition of 'IFF_MASTER' was here
      IFF_MASTER = 0x400,  /* Master of a load balancer.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:82:2: error:
 redeclaration of enumerator 'IFF_SLAVE'
   IFF_SLAVE   = 1<<11, /* __volatile__ */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:70:5: note:
 previous definition of 'IFF_SLAVE' was here
      IFF_SLAVE = 0x800,  /* Slave of a load balancer.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:83:2: error:
 redeclaration of enumerator 'IFF_MULTICAST'
   IFF_MULTICAST   = 1<<12, /* sysfs */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:73:5: note:
 previous definition of 'IFF_MULTICAST' was here
      IFF_MULTICAST = 0x1000, /* Supports multicast.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:84:2: error:
 redeclaration of enumerator 'IFF_PORTSEL'
   IFF_PORTSEL   = 1<<13, /* sysfs */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:76:5: note:
 previous definition of 'IFF_PORTSEL' was here
      IFF_PORTSEL = 0x2000, /* Can set media type.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:85:2: error:
 redeclaration of enumerator 'IFF_AUTOMEDIA'
   IFF_AUTOMEDIA   = 1<<14, /* sysfs */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:78:5: note:
 previous definition of 'IFF_AUTOMEDIA' was here
      IFF_AUTOMEDIA = 0x4000, /* Auto media select active.  */
      ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:86:2: error:
 redeclaration of enumerator 'IFF_DYNAMIC'
   IFF_DYNAMIC   = 1<<15, /* sysfs */
   ^
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:80:5: note:
 previous definition of 'IFF_DYNAMIC' was here
      IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses.  */
      ^
 In file included from /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/netdevice.h:28:0,
                  from /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if_arp.h:26,
                  from libnet_link_linux.c:37:
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:169:8: error:
 redefinition of 'struct ifmap'
  struct ifmap {
         ^
 In file included from ../include/libnet.h:83:0,
                  from common.h:50,
                  from libnet_link_linux.c:27:
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:112:8: note:
 originally defined here
  struct ifmap
         ^
 In file included from /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/netdevice.h:28:0,
                  from /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if_arp.h:26,
                  from libnet_link_linux.c:37:
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:203:8: error:
 redefinition of 'struct ifreq'
  struct ifreq {
         ^
 In file included from ../include/libnet.h:83:0,
                  from common.h:50,
                  from libnet_link_linux.c:27:
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:127:8: note:
 originally defined here
  struct ifreq
         ^
 In file included from /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/netdevice.h:28:0,
                  from /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if_arp.h:26,
                  from libnet_link_linux.c:37:
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/linux/if.h:252:8: error:
 redefinition of 'struct ifconf'
  struct ifconf  {
         ^
 In file included from ../include/libnet.h:83:0,
                  from common.h:50,
                  from libnet_link_linux.c:27:
 /home/netwalker/openwrt-trunk/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/net/if.h:177:8: note:
 originally defined here
  struct ifconf
         ^
 Makefile:540: recipe for target 'libnet_link_linux.lo' failed
 make[5]: *** [libnet_link_linux.lo] Error 1
 make[5]: Leaving directory '/home/netwalker/openwrt-trunk/build_dir
 /target-mips_34kc_uClibc-0.9.33.2/libnet-1.2-rc3/src'
 Makefile:479: recipe for target 'all-recursive' failed
 make[4]: *** [all-recursive] Error 1
 make[4]: Leaving directory '/home/netwalker/openwrt-trunk/build_dir
 /target-mips_34kc_uClibc-0.9.33.2/libnet-1.2-rc3'
 Makefile:71: recipe for target '/home/netwalker/openwrt-trunk/build_dir
 /target-mips_34kc_uClibc-0.9.33.2/libnet-1.2-rc3/.built' failed
 make[3]: *** [/home/netwalker/openwrt-trunk/build_dir/target-
 mips_34kc_uClibc-0.9.33.2/libnet-1.2-rc3/.built] Error 2
 make[3]: Leaving directory '/home/netwalker/openwrt-
 trunk/feeds/packages/libs/libnet-1.2.x'
 package/Makefile:191: recipe for target
 'package/feeds/packages/libnet-1.2.x/compile' failed
 make[2]: *** [package/feeds/packages/libnet-1.2.x/compile] Error 2
 make[2]: Leaving directory '/home/netwalker/openwrt-trunk'
 package/Makefile:188: recipe for target '/home/netwalker/openwrt-
 trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile'
 failed
 make[1]: *** [/home/netwalker/openwrt-trunk/staging_dir/target-
 mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
 make[1]: Leaving directory '/home/netwalker/openwrt-trunk'
 /home/netwalker/openwrt-trunk/include/toplevel.mk:181: ошибка выполнения
 рецепта для цели «world»
 make: *** [world] Ошибка 2

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