(Adding Axel cause it is a a BMX7 compilation error... sorry axel for
sending you so many same emails)
I'm trying to compile Libremesh for Raspberry pi 2. I had an issue with
a diff file on ath9k (below).
And now there is a BMX7 compile error.
$ J=1 V=s ./cooker -b brcm2708/bcm2709 --flavor=lime_default --
profile=rpi-2
...
make[5]: Entering directory
'./lede/brcm2708/bcm2709/sdk/build_dir/target-arm_cortex-a7+neon-
vfpv4_musl_eabi/bmx7-r2017011101'
ccache_cc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-
parameter
-Os -g3 -std=gnu99
-DGIT_REV=\"589ee21b49d370056a24d8931d663626608f3c12\"
-DAVL_5XLINKED -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-
parameter -Os -g3 -std=gnu99
-DGIT_REV=\"589ee21b49d370056a24d8931d663626608f3c12\"
-DAVL_5XLINKED -Os -pipe -mcpu=cortex-a7 -mfpu=neon-vfpv4 -fno-caller-
saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-
error=unused-result -mfloat-abi=hard
-iremap./lede/brcm2708/bcm2709/sdk/build_dir/target-arm_cortex-a7+neon-
vfpv4_musl_eabi/bmx7-r2017011101:bmx7-r2017011101 -Wformat
-Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-
z,now -Wl,-z,relro -fpic -I.
-I./lede/brcm2708/bcm2709/sdk/staging_dir/target-arm_cortex-a7+neon-
vfpv4_musl_eabi/usr/include -DCRYPTLIB=MBEDTLS_2_4_0 -DCORE_LIMIT=20000
-DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c ip.c -o
ip.o
In file included from
./lede/brcm2708/bcm2709/sdk/staging_dir/toolchain-arm_cortex-a7+neon-
vfpv4_gcc-5.4.0_musl_eabi/include/linux/if_tunnel.h:6:0,
from ip.c:44:
./lede/brcm2708/bcm2709/sdk/staging_dir/toolchain-arm_cortex-a7+neon-
vfpv4_gcc-5.4.0_musl_eabi/include/linux/ip.h:85:8: error: redefinition
of 'struct iphdr'
struct iphdr {
^
In file included from ip.c:41:0:
./lede/brcm2708/bcm2709/sdk/staging_dir/toolchain-arm_cortex-a7+neon-
vfpv4_gcc-5.4.0_musl_eabi/include/netinet/ip.h:25:8: note: originally
defined here
struct iphdr {
^
ip.c: In function 'opt_dev':
ip.c:3458:10: warning: unused variable
'TODO_use_proc_for_getting_parent_ifname' [-Wunused-variable]
IDM_T TODO_use_proc_for_getting_parent_ifname;
^
Makefile:32: recipe for target 'ip.o' failed
make[5]: *** [ip.o] Error 1
make[5]: Leaving directory
'./lede/brcm2708/bcm2709/sdk/build_dir/target-arm_cortex-a7+neon-
vfpv4_musl_eabi/bmx7-r2017011101'
Makefile:21: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory
'./lede/brcm2708/bcm2709/sdk/build_dir/target-arm_cortex-a7+neon-
vfpv4_musl_eabi/bmx7-r2017011101'
Makefile:186: recipe for target
'./lede/brcm2708/bcm2709/sdk/build_dir/target-arm_cortex-a7+neon-
vfpv4_musl_eabi/bmx7-r2017011101/.built' failed
make[3]: *** [./lede/brcm2708/bcm2709/sdk/build_dir/target-arm_cortex-
a7+neon-vfpv4_musl_eabi/bmx7-r2017011101/.built] Error 2
make[3]: Leaving directory './feeds/routing/bmx7'
package/Makefile:109: recipe for target
'package/feeds/routing/bmx7/compile' failed
make[2]: *** [package/feeds/routing/bmx7/compile] Error 2
make[2]: Leaving directory './lede/brcm2708/bcm2709/sdk'
package/Makefile:105: recipe for target
'./lede/brcm2708/bcm2709/sdk/staging_dir/target-arm_cortex-a7+neon-
vfpv4_musl_eabi/stamp/.package_compile' failed
make[1]: *** [./lede/brcm2708/bcm2709/sdk/staging_dir/target-
arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory './lede/brcm2708/bcm2709/sdk'
./lede/brcm2708/bcm2709/sdk/include/toplevel.mk:200: recipe for target
'world' failed
make: *** [world] Error 2
make: Leaving directory './lede/brcm2708/bcm2709/sdk'
-> Error compiling SDK