Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最新一次更新small后编译出错,上个版本没事,lean的最新源 #32

Closed
MortalM opened this issue Dec 11, 2021 · 1 comment

Comments

@MortalM
Copy link

MortalM commented Dec 11, 2021

错误信息如下:
zpd@zpd-KVM:$ screen -r
rm -f /home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/.built
touch /home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/.built_check
MAKEFLAGS="" /home/zpd/lede/staging_dir/host/bin/ninja -j1 -C /home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3
ninja: Entering directory `/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3'
[2/25] Building CXX object CMakeFiles/trojan.dir/src/core/config.cpp.o
FAILED: CMakeFiles/trojan.dir/src/core/config.cpp.o
/home/zpd/lede/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/bin/mipsel-openwrt-linux-musl-g++ -DBADVPN_BREACTOR_BADVPN=1 -DBADVPN_LINUX=1 -DBADVPN_LITTLE_ENDIAN=1 -DBADVPN_THREADWORK_USE_PTHREAD=1 -DBADVPN_THREAD_SAFE=1 -DBADVPN_USE_EPOLL=1 -DBADVPN_USE_SIGNALFD=1 -DBOOST_BIND_GLOBAL_PLACEHOLDERS=1 -DDEFAULT_CONFIG="/etc/trojan/config.json" -DENABLE_NAT -DENABLE_REUSE_PORT -DENABLE_SSL_KEYLOG -DENABLE_TLS13_CIPHERSUITES -D_GNU_SOURCE=1 -I/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/src -I/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/NAMES -I/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/external/GSL/include -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3=trojan-plus-10.0.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -DPIC -fpic -flto -std=c++11 -O3 -ffunction-sections -fdata-sections -DNDEBUG -s -Wall -Wextra -std=gnu++17 -MD -MT CMakeFiles/trojan.dir/src/core/config.cpp.o -MF CMakeFiles/trojan.dir/src/core/config.cpp.o.d -o CMakeFiles/trojan.dir/src/core/config.cpp.o -c /home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/src/core/config.cpp
/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/src/core/config.cpp:26:10: fatal error: gsl/gsl: No such file or directory
#include <gsl/gsl>
^~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:72: /home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/.built] Error 1
make[3]: Leaving directory '/home/zpd/lede/feeds/small/trojan-plus'
time: package/feeds/small/trojan-plus/compile#4.71#1.31#126.25
ERROR: package/feeds/small/trojan-plus failed to build.
make[2]: *** [package/Makefile:116: package/feeds/small/trojan-plus/compile] Error 1
make[2]: Leaving directory '/home/zpd/lede'
make[1]: *** [package/Makefile:110: /home/zpd/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/zpd/lede'
make: *** [/home/zpd/lede/include/toplevel.mk:230:world] 错误 2
zpd@zpd-KVM:
/lede$

@MortalM
Copy link
Author

MortalM commented Dec 13, 2021

现在更新后正常了,谢谢

@MortalM MortalM closed this as completed Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant