|
虚拟机ubuntu18,openwrt19.07.9,21.02.7。实体机ubuntu20,openwrt22.03.5。
芯片是MT7628,下载的对应的源码包。
按照openwrt.org的说明,apt install了一堆软件,feed已经update和install。
make defconfig和make menuconfig,啥都没改,make download经过曲折的过程下载dl完成。
make V=s到最后出现下面错误,试过make package/feeds/base/base-files/compile V=s和make package/feeds/base/base-files/{clean,compile} V=s结果一样。
make clean提示没有git什么的。论坛里看了一些帖子,没有出现过这样的错误。重点是那个Segmentation fault (core dumped)
虚拟机内存8G,实体机内存16G
make[2]: Leaving directory '/home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/feeds/base/package/system/usign'
time: package/feeds/base/usign/compile#1.29#0.52#1.56
make[2]: Entering directory '/home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/feeds/base/package/base-files'
rm -f /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/base-files/.configured_*
rm -f /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/staging_dir/target-mipsel_24kc_musl/stamp/.base-files_installed
[ -s /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/key-build -a -s /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/key-build.pub ] || /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/staging_dir/host/bin/usign -G -s /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/key-build -p /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/key-build.pub -c "Local build key"
[ -s /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/key-build.ucert ] || /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/staging_dir/host/bin/ucert -I -c /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/key-build.ucert -p /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/key-build.pub -s /home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/key-build
Makefile:215: recipe for target '/home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/base-files/.configured_e636de2100d7876f2252f805c5ee861e_8e081b74cf069e1e6800a5bbcbb282f0' failed
make[2]: *** [/home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/base-files/.configured_e636de2100d7876f2252f805c5ee861e_8e081b74cf069e1e6800a5bbcbb282f0] Segmentation fault (core dumped)
make[2]: Leaving directory '/home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/feeds/base/package/base-files'
time: package/feeds/base/base-files/compile#0.29#0.20#0.52
ERROR: package/feeds/base/base-files failed to build.
package/Makefile:114: recipe for target 'package/feeds/base/base-files/compile' failed
make[1]: *** [package/feeds/base/base-files/compile] Error 1
make[1]: Leaving directory '/home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8'
/home/myname/iot/openwrt-sdk-21.02.7-ramips-mt76x8/include/toplevel.mk:221: recipe for target 'package/feeds/base/base-files/compile' failed
make: *** [package/feeds/base/base-files/compile] Error 2
|
阿莫论坛20周年了!感谢大家的支持与爱护!!
曾经有一段真挚的爱情摆在我的面前,我没有珍惜,现在想起来,还好我没有珍惜……
|