coolsnowwolf / lede

Lean's LEDE source
Other
29.77k stars 19.51k forks source link

macOS 12.3下编译crpytodev-linux编译失败 #9145

Open ricksuzade-maker opened 2 years ago

ricksuzade-maker commented 2 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:macOS 12.3下编译crpytodev-linux编译失败

(2) 路由器型号和固件版本

A:x86 macOS 12.3

(3) 详细日志

A: OpenWrt-libtool: link: x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4=udns-0.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z -Wl,now -Wl,-z -Wl,relro -znow -zrelro -o .libs/rblcheck rblcheck.o -L/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib ./.libs/libudns.so x86_64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4=udns-0.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MT ex-rdns.o -MD -MP -MF .deps/ex-rdns.Tpo -c -o ex-rdns.o ex-rdns.c In file included from ex-rdns.c:28: /Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to [-Wcpp]

warning redirecting incorrect #include <sys/poll.h> to

^~~ mv -f .deps/ex-rdns.Tpo .deps/ex-rdns.Po /bin/sh ./libtool --tag=CC --mode=link x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4=udns-0.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -L/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -znow -zrelro -o ex-rdns ex-rdns.o ./libudns.la OpenWrt-libtool: link: x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4=udns-0.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z -Wl,now -Wl,-z -Wl,relro -znow -zrelro -o .libs/ex-rdns ex-rdns.o -L/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib ./.libs/libudns.so make[5]: Leaving directory '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4' make[4]: Leaving directory '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4' CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4=udns-0.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4=udns-0.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include " LDFLAGS="-L/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/Volumes/Compile/scripts/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -znow -zrelro " make -C /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/. AR="x86_64-openwrt-linux-musl-gcc-ar" AS="x86_64-openwrt-linux-musl-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4=udns-0.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=x86_64-openwrt-linux-musl-ld NM="x86_64-openwrt-linux-musl-gcc-nm" CC="x86_64-openwrt-linux-musl-gcc" GCC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" RANLIB="x86_64-openwrt-linux-musl-gcc-ranlib" STRIP=x86_64-openwrt-linux-musl-strip OBJCOPY=x86_64-openwrt-linux-musl-objcopy OBJDUMP=x86_64-openwrt-linux-musl-objdump SIZE=x86_64-openwrt-linux-musl-size CROSS="x86_64-openwrt-linux-musl-" ARCH="x86_64" DESTDIR="/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install" install; make[4]: Entering directory '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4' make[5]: Entering directory '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4' /usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib' /bin/sh ./libtool --mode=install /Volumes/Compile/scripts/lede/staging_dir/host/bin/install -c libudns.la '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib' OpenWrt-libtool: install: /Volumes/Compile/scripts/lede/staging_dir/host/bin/install -c .libs/libudns.so.0.0.0 /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib/libudns.so.0.0.0 OpenWrt-libtool: install: (cd /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib && { ln -s -f libudns.so.0.0.0 libudns.so.0 || { rm -f libudns.so.0 && ln -s libudns.so.0.0.0 libudns.so.0; }; }) OpenWrt-libtool: install: (cd /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib && { ln -s -f libudns.so.0.0.0 libudns.so || { rm -f libudns.so && ln -s libudns.so.0.0.0 libudns.so; }; }) OpenWrt-libtool: install: /Volumes/Compile/scripts/lede/staging_dir/host/bin/install -c .libs/libudns.lai /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib/libudns.la OpenWrt-libtool: install: /Volumes/Compile/scripts/lede/staging_dir/host/bin/install -c .libs/libudns.a /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib/libudns.a OpenWrt-libtool: install: chmod 644 /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib/libudns.a OpenWrt-libtool: install: x86_64-openwrt-linux-musl-gcc-ranlib /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib/libudns.a OpenWrt-libtool: install: warning: remember to run libtool --finish /usr/lib' /usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/bin' /bin/sh ./libtool --mode=install /Volumes/Compile/scripts/lede/staging_dir/host/bin/install -c dnsget rblcheck ex-rdns '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/bin' OpenWrt-libtool: install: warning:./libudns.la' has not been installed in /usr/lib' OpenWrt-libtool: install: /Volumes/Compile/scripts/lede/staging_dir/host/bin/install -c .libs/dnsget /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/bin/dnsget OpenWrt-libtool: install: warning:./libudns.la' has not been installed in /usr/lib' OpenWrt-libtool: install: /Volumes/Compile/scripts/lede/staging_dir/host/bin/install -c .libs/rblcheck /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/bin/rblcheck OpenWrt-libtool: install: warning:./libudns.la' has not been installed in `/usr/lib' OpenWrt-libtool: install: /Volumes/Compile/scripts/lede/staging_dir/host/bin/install -c .libs/ex-rdns /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/bin/ex-rdns /usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/include' /Volumes/Compile/scripts/lede/staging_dir/host/bin/install -c -m 644 udns.h '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/include' make[5]: Leaving directory '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4' make[4]: Leaving directory '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4' touch /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/.built rm -rf /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/.pkgdir/libudns.installed /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/.pkgdir/libudns mkdir -p /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/.pkgdir/libudns install -d -m0755 /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/.pkgdir/libudns/usr/lib cp -fpR /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib/libudns.so /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/.pkgdir/libudns/usr/lib/ touch /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/.pkgdir/libudns.installed mkdir -p /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/root-x86/stamp SHELL= flock /Volumes/Compile/scripts/lede/tmp/.root-copy.flock -c 'cp -fpR /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/.pkgdir/libudns/. /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/root-x86/' touch /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/root-x86/stamp/.libudns_installed mkdir -p /Volumes/Compile/scripts/lede/bin/targets/x86/64/packages /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-x86_64/libudns/CONTROL /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/pkginfo install -d -m0755 /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-x86_64/libudns/usr/lib cp -fpR /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib/libudns.so /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-x86_64/libudns/usr/lib/ find /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-x86_64/libudns -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="/Volumes/Compile/scripts/lede/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/Volumes/Compile/scripts/lede/scripts/strip-kmod.sh" PATCHELF="/Volumes/Compile/scripts/lede/staging_dir/host/bin/patchelf" /Volumes/Compile/scripts/lede/scripts/rstrip.sh /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-x86_64/libudns rstrip.sh: /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-x86_64/libudns/usr/lib/libudns.so.0.0.0: shared object (cd /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-x86_64/libudns/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; ) install -d -m0755 /Volumes/Compile/scripts/lede/bin/packages/x86_64/packages /Volumes/Compile/scripts/lede/staging_dir/host/bin/fakeroot /Volumes/Compile/scripts/lede/scripts/ipkg-build -m "" /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-x86_64/libudns /Volumes/Compile/scripts/lede/bin/packages/x86_64/packages Packaged contents of /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-x86_64/libudns into /Volumes/Compile/scripts/lede/bin/packages/x86_64/packages/libudns_0.4-1_x86_64.ipk echo "libudns" >> /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/pkginfo/udns.default.install rm -rf /Volumes/Compile/scripts/lede/tmp/stage-udns mkdir -p /Volumes/Compile/scripts/lede/tmp/stage-udns/host /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/packages install -d -m0755 /Volumes/Compile/scripts/lede/tmp/stage-udns/usr/include install -d -m0755 /Volumes/Compile/scripts/lede/tmp/stage-udns/usr/lib cp -fpR /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/include/ /Volumes/Compile/scripts/lede/tmp/stage-udns/usr/include cp -fpR /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/udns-0.4/ipkg-install/usr/lib/ /Volumes/Compile/scripts/lede/tmp/stage-udns/usr/lib find /Volumes/Compile/scripts/lede/tmp/stage-udns -name '.la' | xargs -r rm -f; if [ -f /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/packages/udns.list ]; then /Volumes/Compile/scripts/lede/scripts/clean-package.sh "/Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/packages/udns.list" "/Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl"; fi if [ -d /Volumes/Compile/scripts/lede/tmp/stage-udns ]; then (cd /Volumes/Compile/scripts/lede/tmp/stage-udns; find ./ > /Volumes/Compile/scripts/lede/tmp/stage-udns.files); SHELL= flock /Volumes/Compile/scripts/lede/tmp/.staging-dir.flock -c ' mv /Volumes/Compile/scripts/lede/tmp/stage-udns.files /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/packages/udns.list && cp -fpR /Volumes/Compile/scripts/lede/tmp/stage-udns/ /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/; '; fi rm -rf /Volumes/Compile/scripts/lede/tmp/stage-udns touch /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/stamp/.udns_installed make[3]: Leaving directory '/Volumes/Compile/scripts/lede/feeds/packages/libs/udns' time: package/feeds/packages/udns/compile#11.48#7.17#20.36 make[3]: Entering directory '/Volumes/Compile/scripts/lede/package/kernel/cryptodev-linux' mkdir -p /Volumes/Compile/scripts/lede/dl SHELL= flock /Volumes/Compile/scripts/lede/tmp/.cryptodev-linux-1.12.tar.gz.flock -c ' /Volumes/Compile/scripts/lede/scripts/download.pl "/Volumes/Compile/scripts/lede/dl" "cryptodev-linux-1.12.tar.gz" "f51c2254749233b1b1d7ec9445158bd709f124f88e1c650fe2faac83c3a81938" "" "https://codeload.github.com/cryptodev-linux/cryptodev-linux/tar.gz/cryptodev-linux-1.12?" ' touch /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12/.prepared_e104571866d32b7d13bd856dbed151b7_6664517399ebbbc92a37c5bb081b5c53_check . /Volumes/Compile/scripts/lede/include/shell.sh; gzip -dc /Volumes/Compile/scripts/lede/dl/cryptodev-linux-1.12.tar.gz | tar -C /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12/.. -xf - [ ! -d ./src/ ] || cp -fpR ./src/. /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12 touch /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12/.prepared_e104571866d32b7d13bd856dbed151b7_6664517399ebbbc92a37c5bb081b5c53 rm -f /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x8664/cryptodev-linux-cryptodev-linux-1.12/.configured rm -f /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/stamp/.cryptodev-linux_installed touch /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12/.configured_68b329da9893e34099c7d8ad5cb9c940 rm -f /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12/.built touch /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12/.built_check make -C /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12 KCFLAGS="-fmacro-prefix-map=/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl=target-x86_64_musl" HOSTCFLAGS="-O2 -I/Volumes/Compile/scripts/lede/staging_dir/host/include -I/Volumes/Compile/scripts/lede/staging_dir/hostpkg/include -I/Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="x86_64-openwrt-linux-musl-" ARCH="x86" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Mon Mar 28 13:36:42 2022" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/Volumes/Compile/scripts/lede/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/Volumes/Compile/scripts/lede/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KBUILD_EXTRA_SYMBOLS="/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/symvers/r8125.symvers" KERNELRELEASE=5.15.31 KERNEL_DIR="/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.31" make[4]: Entering directory '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12' make -C /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.31 M=/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12 ARCH=x86 CROSS_COMPILE=x86_64-openwrt-linux-musl- modules make[5]: Entering directory '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.31' make[6]: No rule to make target '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12/ioctl.o', needed by '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12/cryptodev.o'. Stop. make[5]: [Makefile:1868: /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12] Error 2 make[5]: Leaving directory '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.31' make[4]: [Makefile:27: build] Error 2 make[4]: Leaving directory '/Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12' make[3]: [Makefile:61: /Volumes/Compile/scripts/lede/build_dir/target-x86_64_musl/linux-x86_64/cryptodev-linux-cryptodev-linux-1.12/.built] Error 2 make[3]: Leaving directory '/Volumes/Compile/scripts/lede/package/kernel/cryptodev-linux' time: package/kernel/cryptodev-linux/compile#0.73#0.76#1.70 ERROR: package/kernel/cryptodev-linux failed to build. make[2]: [package/Makefile:116: package/kernel/cryptodev-linux/compile] Error 1 make[2]: Leaving directory '/Volumes/Compile/scripts/lede' make[1]: [package/Makefile:110: /Volumes/Compile/scripts/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/Volumes/Compile/scripts/lede' make: *** [/Volumes/Compile/scripts/lede/include/toplevel.mk:230: world] Error 2

WYC-2020 commented 2 years ago

建议放弃吧,苹果的编译环境都没得,修的人少之又少,一个bug说不定等几万年都没人搞哈哈

iKenzo commented 2 years ago

同样问题+1

hiby-arch commented 2 years ago

同样问题+1,还以为我的操作有误呢