fw876 / helloworld

GNU General Public License v3.0
3.64k stars 2.64k forks source link

Error #1418

Open vagabund89 opened 7 months ago

vagabund89 commented 7 months ago

Hello Help, I’ve tried to build the firmware many times, but it just doesn’t work. A clean openwrt is built without errors

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
make: *** [/home/vladimir/Документы/openwrt/include/toplevel.mk:232: world] Ошибка 1
vagabund89 commented 7 months ago
vladimir@vladimir-H510M-S2:~/openwrt$ make -j10 V=-1
make[2]: Entering directory '/home/vladimir/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/vladimir/openwrt/scripts/config'
 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/system/usign host-compile
 make[3] -C package/libs/toolchain compile
 make[3] -C package/kernel/gpio-button-hotplug compile
 make[3] -C package/libs/ncurses host-compile
 make[3] -C package/system/fwtool 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[4] scripts/config/conf
 make[3] -C feeds/packages/lang/rust host-compile
 make[3] -C feeds/packages/libs/boost host-compile
 make[3] -C feeds/packages/lang/golang/golang host-compile
 make[3] -C package/libs/libubox host-compile
 make[3] -C package/system/opkg host-compile
 make[3] -C package/system/ucert 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/libs/zlib compile
 make[3] -C package/system/fwtool compile
 make[3] -C package/system/openwrt-keyring compile
 make[3] -C feeds/helloworld/dns2socks compile
 make[3] -C feeds/helloworld/dns2tcp compile
    ERROR: package/feeds/packages/rust [host] 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
make: *** [/home/vladimir/openwrt/include/toplevel.mk:232: world] Ошибка 1
vladimir@vladimir-H510M-S2:~/openwrt$ make with -j1 V=s
make[2]: Entering directory '/home/vladimir/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/vladimir/openwrt/scripts/config'
make[1]: Entering directory '/home/vladimir/openwrt'
make[1]: *** No rule to make target 'with'.  Stop.
make[1]: Leaving directory '/home/vladimir/openwrt'
make: *** [/home/vladimir/openwrt/include/toplevel.mk:232: with] Ошибка 2
vladimir@vladimir-H510M-S2:~/openwrt$
zxlhhyccc commented 7 months ago

vladimir@vladimir-H510M-S2:~/openwrt$ make with -j1 V=s make[2]: Entering directory '/home/vladimir/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/home/vladimir/openwrt/scripts/config' make[1]: Entering directory '/home/vladimir/openwrt' make[1]: No rule to make target 'with'. Stop. make[1]: Leaving directory '/home/vladimir/openwrt' make: [/home/vladimir/openwrt/include/toplevel.mk:232: with] Ошибка 2

已提示with停止,所以请运行make -j1 V=s而不是make with -j1 V=s后再贴出报错提示!

vagabund89 commented 7 months ago

there was a mistake

error: unable to run `curl --version`: [Errno 2] No such file or directory: 'curl'
Please make sure it's installed and in the path.
Build completed unsuccessfully in 0:00:00
make[3]: *** [Makefile:110: /home/vladimir/openwrt/build_dir/target-aarch64_cortex-a53_musl/host/rustc-1.73.0-src/.built] Error 1
make[3]: Leaving directory '/home/vladimir/openwrt/feeds/packages/lang/rust'
time: package/feeds/packages/rust/host-compile#0.08#0.01#0.09
    ERROR: package/feeds/packages/rust [host] failed to build.
make[2]: *** [package/Makefile:126: package/feeds/packages/rust/host/compile] Error 1
make[2]: Leaving directory '/home/vladimir/openwrt'
make[1]: *** [package/Makefile:122: /home/vladimir/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/vladimir/openwrt'
make: *** [/home/vladimir/openwrt/include/toplevel.mk:232: world] Ошибка 2

Installed now everything is fine sudo snap install curl