Modify

Opened 3 years ago

#18181 new defect

ead fails to compile with musl libc

Reported by: zloop Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

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

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.