找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 384|回复: 0

哪位大佬帮忙看下 编译luci-app-sfe出错

[复制链接]
发表于 2022-6-8 15:52 | 显示全部楼层 |阅读模式
lmo;
chmod 0755 /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/init.d/openclash
chmod -R 0755 /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/
mkdir -p /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/config
mkdir -p /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/rule_provider
mkdir -p /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/backup
mkdir -p /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/core
mkdir -p /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/config/openclash" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash" >/dev/null 2>&1
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/custom/openclash_custom_rules.list" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash_custom_rules.list" >/dev/null 2>&1
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/custom/openclash_custom_rules_2.list" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash_custom_rules_2.list" >/dev/null 2>&1
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/custom/openclash_custom_hosts.list" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash_custom_hosts.list" >/dev/null 2>&1
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/custom/openclash_custom_fake_filter.list" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash_custom_fake_filter.list" >/dev/null 2>&1
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/custom/openclash_custom_domain_dns.list" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash_custom_domain_dns.list" >/dev/null 2>&1
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/custom/openclash_custom_domain_dns_policy.list" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash_custom_domain_dns_policy.list" >/dev/null 2>&1
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/custom/openclash_custom_fallback_filter.yaml" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash_custom_fallback_filter.yaml" >/dev/null 2>&1
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/custom/openclash_custom_netflix_domains.list" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash_custom_netflix_domains.list" >/dev/null 2>&1
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/custom/openclash_force_sniffing_domain.yaml" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash_force_sniffing_domain.yaml" >/dev/null 2>&1
cp -f "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/etc/openclash/custom/openclash_sniffing_domain_filter.yaml" "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/usr/share/openclash/backup/openclash_sniffing_domain_filter.yaml" >/dev/null 2>&1
exit 0
touch /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.prepared_8ceff4cbd09355bac68a638d9882e438_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.configured_*
rm -f /home/zhaopeng/openwrt/staging_dir/target-x86_64_musl/stamp/.luci-app-openclash_installed
touch /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.configured_68b329da9893e34099c7d8ad5cb9c940
rm -f /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.built
touch /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.built_check
touch /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.built
rm -rf /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.pkgdir/luci-app-openclash.installed /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.pkgdir/luci-app-openclash
mkdir -p /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.pkgdir/luci-app-openclash
install -d -m0755 /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.pkgdir/luci-app-openclash/usr/lib/lua/luci/i18n
install -m0644 /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/*.*.lmo /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.pkgdir/luci-app-openclash/usr/lib/lua/luci/i18n/
cp -fpR /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/* /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.pkgdir/luci-app-openclash/
cp -fpR /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/luasrc/* /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.pkgdir/luci-app-openclash/usr/lib/lua/luci/
touch /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.pkgdir/luci-app-openclash.installed
mkdir -p /home/zhaopeng/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp
SHELL= flock /home/zhaopeng/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/.pkgdir/luci-app-openclash/. /home/zhaopeng/openwrt/staging_dir/target-x86_64_musl/root-x86/'
touch /home/zhaopeng/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-app-openclash_installed
mkdir -p /home/zhaopeng/openwrt/bin/targets/x86/64/packages /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash/CONTROL /home/zhaopeng/openwrt/staging_dir/target-x86_64_musl/pkginfo
install -d -m0755 /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash/usr/lib/lua/luci/i18n
install -m0644 /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/*.*.lmo /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash/usr/lib/lua/luci/i18n/
cp -fpR /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/root/* /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash/
cp -fpR /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/luasrc/* /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash/usr/lib/lua/luci/
find /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash -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/zhaopeng/openwrt/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/home/zhaopeng/openwrt/scripts/strip-kmod.sh" PATCHELF="/home/zhaopeng/openwrt/staging_dir/host/bin/patchelf" /home/zhaopeng/openwrt/scripts/rstrip.sh /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash
(cd /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash/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 "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm; echo "$V_Package_luci_app_openclash_preinst" > preinst; chmod 0755 preinst; echo "$V_Package_luci_app_openclash_prerm" > prerm-pkg; chmod 0755 prerm-pkg; echo "$V_Package_luci_app_openclash_postrm" > postrm; chmod 0755 postrm; )
install -d -m0755 /home/zhaopeng/openwrt/bin/packages/x86_64/base
/home/zhaopeng/openwrt/staging_dir/host/bin/fakeroot /home/zhaopeng/openwrt/staging_dir/host/bin/bash /home/zhaopeng/openwrt/scripts/ipkg-build -m "" /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash /home/zhaopeng/openwrt/bin/packages/x86_64/base
Packaged contents of /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash into /home/zhaopeng/openwrt/bin/packages/x86_64/base/luci-app-openclash_0.45.06-beta_all.ipk
echo "luci-app-openclash" >> /home/zhaopeng/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-app-openclash.default.install
make[3]: Leaving directory '/home/zhaopeng/openwrt/package/zhaopeng/luci-app-openclash'
time: package/zhaopeng/luci-app-openclash/compile#3.26#0.99#4.32
make[3]: Entering directory '/home/zhaopeng/openwrt/package/libs/libnl'
make[3]: Leaving directory '/home/zhaopeng/openwrt/package/libs/libnl'
time: package/libs/libnl/compile#0.26#0.05#0.28
make[3]: Entering directory '/home/zhaopeng/openwrt/package/zhaopeng/shortcut-fe/shortcut-fe'
rm -f /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64//.built
touch /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64//.built_check
make -C "/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116" CROSS_COMPILE="x86_64-openwrt-linux-musl-" ARCH="x86" SUBDIRS="/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/shortcut-fe" EXTRA_CFLAGS="" modules
make[4]: Entering directory '/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  arch/x86/tools/relocs_32.o
  HOSTCC  arch/x86/tools/relocs_64.o
  HOSTCC  arch/x86/tools/relocs_common.o
  HOSTLD  arch/x86/tools/relocs
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/sorttable
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  CC      scripts/mod/devicetable-offsets.s
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  CC      kernel/bounds.s
  CC      arch/x86/kernel/asm-offsets.s
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND  objtool
  HOSTCC   /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/fixdep.o
  HOSTLD   /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/fixdep-in.o
  LINK     /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/fixdep
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/arch/x86/special.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/arch/x86/decode.o
  LD       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/arch/x86/objtool-in.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/weak.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/check.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/special.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/orc_gen.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/orc_dump.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/builtin-check.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/builtin-orc.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/elf.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/objtool.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/libstring.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/libctype.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/str_error_r.o
  CC       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/librbtree.o
  LD       /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/objtool-in.o
  LINK     /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/objtool
/usr/bin/ld: warning: libc.so, needed by /home/zhaopeng/openwrt/staging_dir/target-x86_64_musl/usr/lib/libelf.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/objtool: hidden symbol `fstat' in /usr/lib/x86_64-linux-gnu/libc_nonshared.a(fstat.oS) is referenced by DSO
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:62: /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116/tools/objtool/objtool] Error 1
make[5]: *** [Makefile:68: objtool] Error 2
make[4]: *** [Makefile:1948: tools/objtool] Error 2
make[4]: Leaving directory '/home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.116'
make[3]: *** [Makefile:86: /home/zhaopeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64//.built] Error 2
make[3]: Leaving directory '/home/zhaopeng/openwrt/package/zhaopeng/shortcut-fe/shortcut-fe'
time: package/zhaopeng/shortcut-fe/shortcut-fe/compile#6.13#0.89#6.91
    ERROR: package/zhaopeng/shortcut-fe/shortcut-fe failed to build.
make[2]: *** [package/Makefile:116: package/zhaopeng/shortcut-fe/shortcut-fe/compile] Error 1
make[2]: Leaving directory '/home/zhaopeng/openwrt'
make[1]: *** [package/Makefile:110: /home/zhaopeng/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/zhaopeng/openwrt'
make: *** [/home/zhaopeng/openwrt/include/toplevel.mk:230: world] Error 2


只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-9-23 17:15

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

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