恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1149|回复: 5

求助,编译原版openwrt错误

[复制链接]
发表于 2020-8-25 17:42 | 显示全部楼层 |阅读模式
各位大佬,编译原版openwrt出现这样的状况怎么解决啊!
make[7]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core”
make[6]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core”
Making all in po
make[6]: 进入目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/po”
make[6]: 对“all”无需做任何事。
make[6]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/po”
Making all in docs
make[6]: 进入目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/docs”
make[6]: 对“all”无需做任何事。
make[6]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/docs”
Making all in util/bash-completion.d
make[6]: 进入目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/util/bash-completion.d”
../../config.status --file=grub:grub-completion.bash.in
config.status: creating grub
make[6]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/util/bash-completion.d”
make[5]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04”
make[4]: Leaving directory '/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04'
touch /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.built
mkdir -p /home/canmeng/openwrt/bin/targets/x86/64/packages /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi/CONTROL /home/canmeng/openwrt/staging_dir/target-x86_64_musl/pkginfo
sed 's#msdos1#gpt1#g' ./files/grub-early.cfg >/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-early.cfg
/home/canmeng/openwrt/staging_dir/host/bin/grub-mkimage -d /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core -p /boot/grub -O "x86_64"-efi -c /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-early.cfg -o /home/canmeng/openwrt/staging_dir/target-x86_64_musl/image/grub2/bootx64.efi at_keyboard boot chain configfile fat linux ls part_gpt reboot serial efi_gop efi_uga
/home/canmeng/openwrt/staging_dir/host/bin/grub-mkimage -d /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core -p /boot/grub -O "x86_64"-efi -c ./files/grub-early.cfg -o /home/canmeng/openwrt/staging_dir/target-x86_64_musl/image/grub2/iso-bootx64.efi at_keyboard boot chain configfile fat iso9660 linux ls part_msdos part_gpt reboot serial test efi_gop efi_uga
find /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="x86_64-openwrt-linux-musl-"  NO_RENAME=1 ; NM="x86_64-openwrt-linux-musl-nm" STRIP="/home/canmeng/openwrt/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/canmeng/openwrt/scripts/strip-kmod.sh" PATCHELF="/home/canmeng/openwrt/staging_dir/host/bin/patchelf" /home/canmeng/openwrt/scripts/rstrip.sh /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi
(cd /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm;  )
install -d -m0755 /home/canmeng/openwrt/bin/targets/x86/64/packages
/home/canmeng/openwrt/scripts/ipkg-build -c -o 0 -g 0 /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi /home/canmeng/openwrt/bin/targets/x86/64/packages
Packaged contents of /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi into /home/canmeng/openwrt/bin/targets/x86/64/packages/grub2-efi_2.04-3_x86_64.ipk
rm -rf /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi.installed /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi
mkdir -p /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi
sed 's#msdos1#gpt1#g' ./files/grub-early.cfg >/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-early.cfg
/home/canmeng/openwrt/staging_dir/host/bin/grub-mkimage -d /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core -p /boot/grub -O "x86_64"-efi -c /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-early.cfg -o /home/canmeng/openwrt/staging_dir/target-x86_64_musl/image/grub2/bootx64.efi at_keyboard boot chain configfile fat linux ls part_gpt reboot serial efi_gop efi_uga
/home/canmeng/openwrt/staging_dir/host/bin/grub-mkimage -d /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core -p /boot/grub -O "x86_64"-efi -c ./files/grub-early.cfg -o /home/canmeng/openwrt/staging_dir/target-x86_64_musl/image/grub2/iso-bootx64.efi at_keyboard boot chain configfile fat iso9660 linux ls part_msdos part_gpt reboot serial test efi_gop efi_uga
touch /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi.installed
mkdir -p /home/canmeng/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp
SHELL= flock /home/canmeng/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi/. /home/canmeng/openwrt/staging_dir/target-x86_64_musl/root-x86/'
touch /home/canmeng/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.grub2-efi_installed
echo "grub2-efi" >> /home/canmeng/openwrt/staging_dir/target-x86_64_musl/pkginfo/grub2.efi.install
make[3]: Leaving directory '/home/canmeng/openwrt/package/boot/grub2'
time: package/boot/grub2/efi/compile#126.90#39.25#152.83
make[2]: Leaving directory '/home/canmeng/openwrt'
make[1]: *** [package/Makefile:107: /home/canmeng/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/canmeng/openwrt'
make: *** [/home/canmeng/openwrt/include/toplevel.mk:235:world] 错误 2



我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-8-25 19:47 来自手机 | 显示全部楼层
刚刚编译的没事,还没刷,只刷了armv8的,你不会是多选efi的选择题目吧,官方的默认支持efi,不要额外补充的

点评

没有,只是用了https://github.com/xiaorouji/openwrt-package的包  详情 回复 发表于 2020-8-25 22:09
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-8-25 22:08 来自手机 | 显示全部楼层
嗯,刷机使用正常,5020u的单臂,就是master原版efi启动模式,没有任何插件,配置vlan后安装的clash
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2020-8-25 22:09 | 显示全部楼层
hcyme 发表于 2020-8-25 19:47
刚刚编译的没事,还没刷,只刷了armv8的,你不会是多选efi的选择题目吧,官方的默认支持efi,不要额外补充 ...

没有,只是用了https://github.com/xiaorouji/openwrt-package的包
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-8-25 22:16 来自手机 | 显示全部楼层
还是仔细看最后的出错信息,就是最后两句话,xiaorouji包七月份编译过,感觉不稳定放弃了,大雕的据说efi启动有问题,吓得两个月没敢用lean,n1还是可以用lean的。

点评

我不用lean源的编译  详情 回复 发表于 2020-8-25 22:29
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2020-8-25 22:29 | 显示全部楼层
hcyme 发表于 2020-8-25 22:16
还是仔细看最后的出错信息,就是最后两句话,xiaorouji包七月份编译过,感觉不稳定放弃了,大雕的据说efi启 ...

我不用lean源的编译
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2020-9-19 23:26

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表