暗之幻影 暗之幻影
关注数: 30 粉丝数: 494 发帖数: 553 关注贴吧数: 53
请教大神,编译时每次都是这个地方报错,请问怎么解决啊。。。谢 请教大神,编译时每次都是这个地方报错,请问怎么解决啊。。。谢谢了 install -d -m0755 /home/yk/lede/bin/packages/x86_64/small /home/yk/lede/staging_dir/host/bin/fakeroot /home/yk/lede/staging_dir/host/bin/bash /home/yk/lede/scripts/ipkg-build -m "" /home/yk/lede/build_dir/target-x86_64_musl/trojan-1.16.0/ipkg-x86_64/trojan /home/yk/lede/bin/packages/x86_64/small Packaged contents of /home/yk/lede/build_dir/target-x86_64_musl/trojan-1.16.0/ipkg-x86_64/trojan into /home/yk/lede/bin/packages/x86_64/small/trojan_1.16.0-2_x86_64.ipk echo "trojan" >> /home/yk/lede/staging_dir/target-x86_64_musl/pkginfo/trojan.default.install rm -rf /home/yk/lede/tmp/stage-trojan mkdir -p /home/yk/lede/tmp/stage-trojan/host /home/yk/lede/staging_dir/target-x86_64_musl/packages find /home/yk/lede/tmp/stage-trojan -name '*.la' | xargs -r rm -f; if [ -f /home/yk/lede/staging_dir/target-x86_64_musl/packages/trojan.list ]; then /home/yk/lede/scripts/clean-package.sh "/home/yk/lede/staging_dir/target-x86_64_musl/packages/trojan.list" "/home/yk/lede/staging_dir/target-x86_64_musl"; fi if [ -d /home/yk/lede/tmp/stage-trojan ]; then (cd /home/yk/lede/tmp/stage-trojan; find ./ > /home/yk/lede/tmp/stage-trojan.files); SHELL= flock /home/yk/lede/tmp/.staging-dir.flock -c ' mv /home/yk/lede/tmp/stage-trojan.files /home/yk/lede/staging_dir/target-x86_64_musl/packages/trojan.list && cp -fpR /home/yk/lede/tmp/stage-trojan/* /home/yk/lede/staging_dir/target-x86_64_musl/; '; fi rm -rf /home/yk/lede/tmp/stage-trojan touch /home/yk/lede/staging_dir/target-x86_64_musl/stamp/.trojan_installed make[3]: Leaving directory '/home/yk/lede/feeds/small/trojan' time: package/feeds/small/trojan/compile#90.98#9.79#133.04 make[3]: Entering directory '/home/yk/lede/feeds/small/xray-plugin' touch /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.prepared_98e21bdecb0e7348ceb0977374ba9168_6664517399ebbbc92a37c5bb081b5c53_check . /home/yk/lede/include/shell.sh; /home/yk/lede/staging_dir/host/bin/libdeflate-gzip -dc /home/yk/lede/dl/xray-plugin-1.7.3.tar.gz | tar -C /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.. -xf - [ ! -d ./src/ ] || cp -fpR ./src/. /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3 touch /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.prepared_98e21bdecb0e7348ceb0977374ba9168_6664517399ebbbc92a37c5bb081b5c53 rm -f /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.configured_* rm -f /home/yk/lede/staging_dir/target-x86_64_musl/stamp/.xray-plugin_installed CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/home/yk/lede/tmp/go-build" GO_MOD_CACHE_DIR="/home/yk/lede/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/teddysun/xray-plugin" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/teddysun/xray-plugin/..." GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3" GO_BUILD_DIR="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.go_work/build" GO_BUILD_BIN_DIR="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.go_work/build/bin" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/home/yk/lede/staging_dir/target-x86_64_musl/usr/share/gocode/src" /usr/bin/env bash /home/yk/lede/feeds/packages/lang/golang//golang-build.sh configure Copying files from /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3 into /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.go_work/build/src/github.com/teddysun/xray-plugin args.go errors.generated.go go.mod go.sum log.go log_android.go main.go utils.go utils_android.go Symlinking directories from /home/yk/lede/staging_dir/target-x86_64_musl/usr/share/gocode/src into /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.go_work/build/src .../github.com/cnsilvan .../github.com/apernet .../github.com/xtls touch /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.configured_1cd727ac7b9ebbe4ee453b5ddb8504b3 rm -f /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.built touch /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.built_check CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/home/yk/lede/tmp/go-build" GO_MOD_CACHE_DIR="/home/yk/lede/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/teddysun/xray-plugin" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/teddysun/xray-plugin/..." GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3" GO_BUILD_DIR="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.go_work/build" GO_BUILD_BIN_DIR="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.go_work/build/bin" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/home/yk/lede/staging_dir/target-x86_64_musl/usr/share/gocode/src" GOOS="linux" GOARCH="amd64" GO386="" GOAMD64="v1" GOARM="" GOMIPS="" GOMIPS64="" GOPPC64="" CGO_ENABLED=1 CC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" CGO_CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3=xray-plugin-1.7.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/include -I/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include/fortify -I/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include" CGO_CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3=xray-plugin-1.7.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_LDFLAGS="-L/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -znow -zrelro" GOPATH="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.go_work/build" GOCACHE="/home/yk/lede/tmp/go-build" GOMODCACHE="/home/yk/lede/dl/go-mod-cache" GOENV=off /usr/bin/env bash /home/yk/lede/feeds/packages/lang/golang//golang-build.sh build -v -buildvcs=false -trimpath -ldflags "all=-buildid '1675573548' -linkmode external -extldflags '-L/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'" Finding targets go: downloading github.com/xtls/xray-core v1.7.3 go: downloading github.com/quic-go/qtls-go1-20 v0.1.0 Building targets /home/yk/lede/dl/go-mod-cache/github.com/quic-go/[email protected]/handshake_client.go:11:2: package crypto/ecdh is not in GOROOT (/home/yk/lede/staging_dir/hostpkg/lib/go-cross/src/crypto/ecdh) make[3]: *** [Makefile:46: /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.built] Error 1 make[3]: Leaving directory '/home/yk/lede/feeds/small/xray-plugin' time: package/feeds/small/xray-plugin/compile#1.36#0.97#2.89 ERROR: package/feeds/small/xray-plugin failed to build. make[2]: *** [package/Makefile:116: package/feeds/small/xray-plugin/compile] Error 1 make[2]: Leaving directory '/home/yk/lede' make[1]: *** [package/Makefile:110: /home/yk/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/yk/lede' make: *** [/home/yk/lede/include/toplevel.mk:231:world] 错误 2
1 下一页