#19915: batctl not compiling after update
-----------------------+----------------------------------
Reporter: lth@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords:
-----------------------+----------------------------------
Comment (by anonymous):
My apologies, I tried to downgrade and it still didn't build, so the issue
is not with batctl but with some other package. Here's the error:
{{{
ccache_cc -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-
saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float
-mips16 -minterlink-mips16 -Wformat -Werror=format-security -ffunction-
sections -fdata-sections -flto -Wall -W -std=gnu99 -fno-strict-aliasing
-MD -MP -I/home/lth/ionic-router/staging_dir/target-
mips_34kc_musl-1.1.10/usr/include/libnl-tiny -I/home/lth/ionic-
router/staging_dir/target-mips_34kc_musl-1.1.10/usr/include -I/home/lth
/ionic-router/staging_dir/target-mips_34kc_musl-1.1.10/include -I/home/lth
/ionic-router/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/include -I/home/lth/ionic-
router/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include
-D_GNU_SOURCE -c -o main.o main.c
In file included from /home/lth/ionic-router/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/include/net/ethernet.h:10:0,
from functions.h:25,
from main.c:38:
/home/lth/ionic-router/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/include/netinet/if_ether.h:96:8:
error: redefinition of 'struct ethhdr'
struct ethhdr {
^
In file included from tcpdump.h:26:0,
from main.c:35:
/home/lth/ionic-router/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/include/linux/if_ether.h:137:8: note:
originally defined here
struct ethhdr {
^
Makefile:96: recipe for target 'main.o' failed
make[4]: *** [main.o] Error 1
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/19915#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets