Hi,

First of all, congratulations on re-merge of OpenWrt and LEDE.

Now to the problem being faced. I am trying to build OpenWrt for Espressobin (http://espressobin.net) as described in their wiki at http://wiki.espressobin.net/tiki-index.php?page=Build+From+Source+-+OpenWrt

It built fine with default options without installing any additional packages or enabling other software/kernel modules.

On installing additional packages, it started to fail. So I did the following:

./script/feeds -a uninstall
rm .config*
make menuconfig -> select target
make defconfig
make -j1 V=s

But still it fails while building the kernel. Below are the logs:

=====
make -C /home/devuser/espressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/linux-mvebu64/linux-4.4.8 HOSTCFLAGS="-O2 -I/home/devuser/espressobin/openwrt-dd/staging_dir/host/include -I/home/devuser/espressobin/openwrt-dd/staging_dir/host/usr/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="aarch64-openwrt-linux-musl-" ARCH="arm64" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" CONFIG_SHELL="bash" V='' CC="aarch64-openwrt-linux-musl-gcc" modules
make[5]: Entering directory '/home/devuser/espressobin/openwrt-kernel'
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
usr/Makefile:64: *** multiple target patterns.  Stop.
Makefile:949: recipe for target 'usr' failed
make[5]: *** [usr] Error 2
make[5]: Leaving directory '/home/devuser/espressobin/openwrt-kernel'
Makefile:23: recipe for target '/home/devuser/espressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/linux-mvebu64/linux-4.4.8/.modules' failed make[4]: *** [/home/devuser/espressobin/openwrt-dd/build_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/linux-mvebu64/linux-4.4.8/.modules] Error 2 make[4]: Leaving directory '/home/devuser/espressobin/openwrt-dd/target/linux/mvebu64'
Makefile:13: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/devuser/espressobin/openwrt-dd/target/linux'
target/Makefile:21: recipe for target 'target/linux/compile' failed
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory '/home/devuser/espressobin/openwrt-dd'
target/Makefile:16: recipe for target '/home/devuser/espressobin/openwrt-dd/staging_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/stamp/.target_compile' failed make[1]: *** [/home/devuser/espressobin/openwrt-dd/staging_dir/target-aarch64_cortex-a53+neon-vfpv4_musl-1.1.16/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/devuser/espressobin/openwrt-dd'
/home/devuser/espressobin/openwrt-dd/include/toplevel.mk:192: recipe for target 'world' failed
make: *** [world] Error 2
====

Any pointers on where it is going wrong would be really helpful.

Thanks in advance.

Regards,
Nishant
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to