Open Lewrin1 opened 8 months ago
Hi please retry running with make -j1 V=s then post the error log here. I suspect it might be an issue with space, you might have selected many modules.
Hi, try running make -j1 V=s again and then post the error log here. I suspect it could be a space issue, you may have selected too many modules.
Hello, here you have it: [mktplinkfw2] rootfs offset aligned to 0x1369208 [mktplinkfw2] error: images are too large Makefile:206: recipe for target '/home/mmm2/Downloads/Openwrt-21.02-TL-WR840N-6.2/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr840n-v6. 2 -squashfs-sysupgrade.bin' failed do[5]: [/home/mmm2/Downloads/Openwrt-21.02-TL-WR840N-6.2/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr840n-v6. 2-squashfs-sysupgrade.bin] Error 255 make[5]: Leaving the directory '/home/mmm2/Descargas/Openwrt-21.02-TL-WR840N-6.2/target/linux/ramips/image' Makefile:23: recipe for target 'installation' failed do[4]: [install] Error 2 make[4]: Leaving the directory '/home/mmm2/Descargas/Openwrt-21.02-TL-WR840N-6.2/target/linux/ramips' Makefile:11: Error in recipe for target 'installation' do[3]: [install] Error 2 make[3]: Leaving the directory '/home/mmm2/Descargas/Openwrt-21.02-TL-WR840N-6.2/target/linux' time: target/linux/install#22.54#5.25#27.28 ERROR: Target/Linux failed to compile. target/Makefile:23: Recipe for target 'target/linux/install' failed make[2]: [target/linux/installation] Error 1 make[2]: Leaving directory '/home/mmm2/Downloads/Openwrt-21.02-TL-WR840N-6.2' target/Makefile:19: recipe for target '/home/mmm2/Descargas/Openwrt-21.02-TL-WR840N-6.2/staging_dir/target-mipsel_24kc_musl/stamp/.target_install' failed make[1]: [/home/mmm2/Downloads/Openwrt-21.02-TL-WR840N-6.2/staging_dir/target-mipsel_24kc_musl/stamp/.target_install] Error 2 make[1]: Exiting directory '/home/mmm2/Downloads/Openwrt-21.02-TL-WR840N-6.2' /home/mmm2/Downloads/Openwrt-21.02-TL-WR840N-6.2/include/toplevel.mk:228: Error in instructions for target 'world' do: *** [world] Error 2
no matter how much I delete things to try to make the image smaller I always get errors, I even disabled luci to make the image smaller to see if that was the problem and I still get errors which is strange since I compiled icedshake. version 19.07 (https://github.com/IcedShake/openwrt-19.07-tl-wr840n-v6.x) for this same router and with the same configurations and I don't get any errors and the image is created without problems.
Here I leave you a more complete log:
https://www.mediafire.com/file/i9w2gqri693za19/make+error+21.02+more+complete/file
I have followed the complete README.md guide and I still get an error I’m on ubuntu 18.04.
Hi, openwrt 21 takes up more space than 19. You can only select fewer modules than 19. I have binaries which I compiled a while back, find them here. It has luci and sqm. I suggest you delete the build config if you still want to build your own and maybe not enable luci if you want more space in your device.
make[1] world make[2] package/cleanup make[2] target/compile make[3] -C target/linux compile make[2] buildinfo make[2] package/compile make[3] diffconfig buildversion feedsversion make[3] -C package/libs/libjson-c host-compile make[3] -C package/libs/toolchain compile make[3] -C package/libs/ncurses host-compile make[3] -C package/libs/zlib compile make[3] -C package/system/fwtool host-compile make[3] -C package/system/usign host-compile make[3] -C feeds/luci/modules/luci-base host-compile make[3] -C package/utils/lua host-compile make[3] -C feeds/luci/contrib/package/csstidy host-compile make[3] -C feeds/packages/lang/luasrcdiet host-compile make[3] -C package/libs/jansson compile make[3] -C package/libs/libmnl compile make[3] -C package/libs/gettext compile make[3] -C package/libs/libiconv compile make[3] -C package/utils/bzip2 compile make[3] -C package/libs/argp-standalone compile make[3] -C feeds/luci/themes/luci-theme-bootstrap compile make[3] -C package/firmware/wireless-regdb compile make[3] -C package/kernel/gpio-button-hotplug compile make[3] -C package/firmware/b43legacy-firmware compile make[3] -C package/libs/openssl compile make[3] -C package/libs/libtool compile make[3] -C package/libs/mbedtls compile make[3] -C package/network/services/dropbear compile make[3] -C package/system/ca-certificates compile make[3] -C package/libs/libsepol compile make[3] -C package/libs/uclibc++ compile make[3] -C package/libs/musl-fts compile make[3] -C package/libs/libubox host-compile make[3] -C package/libs/libnl-tiny compile make[3] -C package/libs/libjson-c compile make[3] -C package/utils/lua compile make[3] -C package/firmware/linux-firmware compile make[3] -C package/firmware/prism54-firmware compile make[3] -C package/libs/ncurses compile make[3] -C package/system/fwtool compile make[3] -C package/system/ucert host-compile make[3] -C feeds/luci/libs/luci-lib-ip compile make[3] -C feeds/luci/libs/luci-lib-jsonc compile make[3] -C feeds/luci/libs/luci-lib-nixio compile make[3] -C feeds/luci/contrib/package/lucihttp compile make[3] -C package/libs/libnftnl compile make[3] -C package/devel/binutils compile make[3] -C package/libs/elfutils compile make[3] -C package/libs/wolfssl compile make[3] -C package/network/utils/iw compile make[3] -C package/libs/pcre compile make[3] -C package/system/opkg host-compile make[3] -C package/libs/libubox compile make[3] -C package/kernel/linux compile make[3] -C package/utils/util-linux compile ERROR: package/kernel/linux failed to build. make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on /home/mmm2/Descargas/Openwrt-21.02-TL-WR840N-6.2/include/toplevel.mk:228: fallo en las instrucciones para el objetivo 'world' make: *** [world] Error 1