#18181: ead fails to compile with musl libc
----------------------+------------------------
 Reporter:  zloop     |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  packages  |    Version:  Trunk
 Keywords:            |
----------------------+------------------------
 {{{
 In file included from /home/tenchi/prog/git/upstream/openwrt/staging_dir
 /toolchain-
 x86_64_gcc-4.9-linaro_musl-1.1.5/include/linux/if_bridge.h:17:0,
                  from libbridge.h:25,
                  from libbridge_init.c:28,
                  from ead.c:42:
 /home/tenchi/prog/git/upstream/openwrt/staging_dir/toolchain-
 x86_64_gcc-4.9-linaro_musl-1.1.5/include/linux/if_ether.h:134:8: error:
 redefinition of 'struct ethhdr'
  struct ethhdr {
         ^
 In file included from /home/tenchi/prog/git/upstream/openwrt/staging_dir
 /toolchain-x86_64_gcc-4.9-linaro_musl-1.1.5/include/net/ethernet.h:10:0,
                  from ead-pcap.h:35,
                  from ead.c:36:
 /home/tenchi/prog/git/upstream/openwrt/staging_dir/toolchain-
 x86_64_gcc-4.9-linaro_musl-1.1.5/include/netinet/if_ether.h:96:8: note:
 originally defined here
  struct ethhdr {
 }}}

 clash between netinet/if_ether.h and linux/if_ether.h

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