|
|
本帖最后由 neozb 于 2020-12-25 14:04 编辑
编译过程中出现提示如下后失败:
- make -C /home/tom/lede/build_dir/target-arm_xscale_musl_eabi/linux-kirkwood/linux-5.4.83 KCFLAGS="-ffile-prefix-map=/home/tom/lede/build_dir/target-arm_xscale_musl_eabi=target-arm_xscale_musl_eabi" HOSTCFLAGS="-O2 -I/home/tom/lede/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="arm-openwrt-linux-muslgnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Thu Dec 17 15:29:07 2020" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/home/tom/lede/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/home/tom/lede/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=5.4.83 CC="arm-openwrt-linux-muslgnueabi-gcc" modules
- make[5]: Entering directory '/home/tom/lede/build_dir/target-arm_xscale_musl_eabi/linux-kirkwood/linux-5.4.83'
- HOSTCC scripts/extract-cert
- /usr/bin/ld: /home/tom/lede/staging_dir/host/lib/libcrypto.a(libcrypto_la-eng_all.o): in function `ENGINE_load_builtin_engines':
- eng_all.c:(.text+0x30): undefined reference to `pthread_once'
- /usr/bin/ld: /home/tom/lede/staging_dir/host/lib/libcrypto.a(libcrypto_la-err.o): in function `ERR_load_ERR_strings':
- err.c:(.text+0xa7e): undefined reference to `pthread_once'
- /usr/bin/ld: /home/tom/lede/staging_dir/host/lib/libcrypto.a(libcrypto_la-err_all.o): in function `ERR_load_crypto_strings':
- err_all.c:(.text+0x9f): undefined reference to `pthread_once'
- /usr/bin/ld: /home/tom/lede/staging_dir/host/lib/libcrypto.a(libcrypto_la-c_all.o): in function `OpenSSL_add_all_ciphers':
- c_all.c:(.text+0x9df): undefined reference to `pthread_once'
- /usr/bin/ld: /home/tom/lede/staging_dir/host/lib/libcrypto.a(libcrypto_la-c_all.o): in function `OpenSSL_add_all_digests':
- c_all.c:(.text+0x9ff): undefined reference to `pthread_once'
- /usr/bin/ld: /home/tom/lede/staging_dir/host/lib/libcrypto.a(libcrypto_la-crypto_init.o):crypto_init.c:(.text+0x51): more undefined references to `pthread_once' follow
- collect2: error: ld returned 1 exit status
- make[6]: *** [scripts/Makefile.host:107: scripts/extract-cert] Error 1
- make[5]: *** [Makefile:1123: scripts] Error 2
- make[5]: Leaving directory '/home/tom/lede/build_dir/target-arm_xscale_musl_eabi/linux-kirkwood/linux-5.4.83'
- make[4]: *** [Makefile:24: /home/tom/lede/build_dir/target-arm_xscale_musl_eabi/linux-kirkwood/linux-5.4.83/.modules] Error 2
- make[4]: Leaving directory '/home/tom/lede/target/linux/kirkwood'
- make[3]: *** [Makefile:13: compile] Error 2
- make[3]: Leaving directory '/home/tom/lede/target/linux'
- time: target/linux/compile#1.32#0.56#1.87
- make[2]: *** [target/Makefile:25: target/linux/compile] Error 2
- make[2]: Leaving directory '/home/tom/lede'
- make[1]: *** [target/Makefile:18: /home/tom/lede/staging_dir/target-arm_xscale_musl_eabi/stamp/.target_compile] Error 2
- make[1]: Leaving directory '/home/tom/lede'
- make: *** [/home/tom/lede/include/toplevel.mk:224:world] 错误 2
复制代码 百度了2天没找到答案,哪位大神能给分析一下如何解决,先谢谢了。
|
|