Home Forums Reply To:

#1563
diyguy60
Participant

Hi:
I have a similar issue. I followed the instructions from the Wiki and overcame a Makefile problem in /mkimage, but I get the following errors that appear to be duplicate definition:

make[4]: Entering directory `/eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09′
make[5]: Entering directory `/eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09′
make[6]: Entering directory `/eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09′
make[6]: Leaving directory `/eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09′
make[6]: Entering directory `/eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09′
[ 4%] Building C object CMakeFiles/netifd.dir/system-linux.c.o
In file included from /eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/linux/if_bridge.h:18:0,
from /eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09/system-linux.c:36:
/eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/linux/in6.h:32:8: error: redefinition of ‘struct in6_addr’
struct in6_addr {
^
In file included from /eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/arpa/inet.h:9:0,
from /eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09/system-linux.c:27:
/eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/netinet/in.h:23:8: note: originally defined here
struct in6_addr {
^
In file included from /eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/linux/if_bridge.h:18:0,
from /eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09/system-linux.c:36:
/eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/linux/in6.h:49:8: error: redefinition of ‘struct sockaddr_in6’
struct sockaddr_in6 {
^
In file included from /eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/arpa/inet.h:9:0,
from /eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09/system-linux.c:27:
/eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/netinet/in.h:34:8: note: originally defined here
struct sockaddr_in6 {
^
In file included from /eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/linux/if_bridge.h:18:0,
from /eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09/system-linux.c:36:
/eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/linux/in6.h:59:8: error: redefinition of ‘struct ipv6_mreq’
struct ipv6_mreq {
^
In file included from /eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/arpa/inet.h:9:0,
from /eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09/system-linux.c:27:
/eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/toolchain-aarch64_cortex-a53+neon-vfpv4_gcc-5.3.0_musl-1.1.16/include/netinet/in.h:42:8: note: originally defined here
struct ipv6_mreq {
^
make[6]: *** [CMakeFiles/netifd.dir/system-linux.c.o] Error 1
make[6]: Leaving directory `/eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09′
make[5]: *** [CMakeFiles/netifd.dir/all] Error 2
make[5]: Leaving directory `/eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09′
make[4]: *** [all] Error 2
make[4]: Leaving directory `/eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09′
make[3]: *** [/eng_dev/dkong/router/expressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/netifd-2016-12-09/.built] Error 2
make[3]: Leaving directory `/eng_dev/dkong/router/expressobin/openwrt-dd/package/network/config/netifd’
make[2]: *** [package/network/config/netifd/compile] Error 2
make[2]: Leaving directory `/eng_dev/dkong/router/expressobin/openwrt-dd’
make[1]: *** [/eng_dev/dkong/router/expressobin/openwrt-dd/staging_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/stamp/.package_compile] Error 2
make[1]: Leaving directory `/eng_dev/dkong/router/expressobin/openwrt-dd’
make: *** [world] Error 2

There is mention of a patch from:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=4336efe14b61e47177a2d0863f8391c48cf4a9f5

but I tried the patch with “git apply <patch-filename>” but there are errors because the source versions are not the same. Did anyone manage to build the latest version of OpenWRT for Espressobin win the 4.4.52 kernel?

Any suggestions or help would be greatly appreciated
Dennis

Signup to our newsletter

Technical specification tables can not be displayed on mobile. Please view on desktop