恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 273|回复: 4

编译失败,有知道这是啥问题的大佬吗

[复制链接]
发表于 2020-3-2 21:01 | 显示全部楼层 |阅读模式
  1. checking for getopt.h... yes
  2. checking for time.h... yes
  3. checking for winsock2.h... no
  4. checking for ws2tcpip.h... no
  5. checking whether x86_64-openwrt-linux-musl-gcc supports -Werror... yes
  6. checking whether x86_64-openwrt-linux-musl-gcc supports -Wall... (cached) yes
  7. checking whether x86_64-openwrt-linux-musl-gcc supports -std=c99... (cached) yes
  8. checking whether x86_64-openwrt-linux-musl-gcc supports -xc99... (cached) no
  9. checking for getopt.h... (cached) yes
  10. checking for time.h... (cached) yes
  11. checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for x86_64-openwrt-linux-musl-gcc... failed
  12. checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for x86_64-openwrt-linux-musl-gcc... failed
  13. checking whether we need -std=c99 as a flag for x86_64-openwrt-linux-musl-gcc... failed
  14. checking whether we need -D_BSD_SOURCE as a flag for x86_64-openwrt-linux-musl-gcc... failed
  15. checking whether we need -D_GNU_SOURCE as a flag for x86_64-openwrt-linux-musl-gcc... failed
  16. checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for x86_64-openwrt-linux-musl-gcc... failed
  17. checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for x86_64-openwrt-linux-musl-gcc... failed
  18. checking whether we need -D__EXTENSIONS__ as a flag for x86_64-openwrt-linux-musl-gcc... failed
  19. checking for inline... inline
  20. checking for int8_t... yes
  21. checking for int16_t... yes
  22. checking for int32_t... yes
  23. checking for int64_t... yes
  24. checking for uint8_t... yes
  25. checking for uint16_t... yes
  26. checking for uint32_t... yes
  27. checking for uint64_t... yes
  28. checking for doxygen... no
  29. checking for library containing socket... none required
  30. checking for library containing inet_pton... none required
  31. checking for x86_64-openwrt-linux-ar... /media/tulip/lede/lede/staging_dir/toolchain-x86_64_gcc-7.5.0_musl/bin/x86_64-openwrt-linux-ar
  32. checking for SSL... found in /media/tulip/lede/lede/staging_dir/target-x86_64_musl/usr
  33. checking for HMAC_CTX_init in -lcrypto... no
  34. checking if -lcrypto needs -lgdi32... no
  35. checking if -lcrypto needs -ldl... no
  36. configure: error: OpenSSL found in /media/tulip/lede/lede/staging_dir/target-x86_64_musl/usr, but version 0.9.7 or higher is required
  37. Makefile:83: recipe for target '/media/tulip/lede/lede/build_dir/target-x86_64_musl/ldns-1.6.17/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
  38. make[3]: *** [/media/tulip/lede/lede/build_dir/target-x86_64_musl/ldns-1.6.17/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
  39. make[3]: Leaving directory '/media/tulip/lede/lede/feeds/packages/libs/ldns'
  40. time: package/feeds/packages/ldns/compile#8.17#1.17#9.81
  41. package/Makefile:111: recipe for target 'package/feeds/packages/ldns/compile' failed
  42. make[2]: *** [package/feeds/packages/ldns/compile] Error 2
  43. make[2]: Leaving directory '/media/tulip/lede/lede'
  44. package/Makefile:107: recipe for target '/media/tulip/lede/lede/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
  45. make[1]: *** [/media/tulip/lede/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
  46. make[1]: Leaving directory '/media/tulip/lede/lede'
  47. /media/tulip/lede/lede/include/toplevel.mk:225: recipe for target 'world' failed
  48. make: *** [world] Error 2
复制代码
这个错误直接导致 openssl.so 动态库编译不出来,搞了一整天也没找到解决方法

捕获.JPG
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-3-2 21:22 | 显示全部楼层
从日志信息来看是openssl的版本太低,version 0.9.7 or higher is required

点评

我已经装了 openssl 1.1b 貌似还是报这个错误  详情 回复 发表于 2020-3-14 15:39
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2020-3-14 15:39 | 显示全部楼层
xwcoco 发表于 2020-3-2 21:22
从日志信息来看是openssl的版本太低,version 0.9.7 or higher is required

我已经装了 openssl 1.1b 貌似还是报这个错误
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-3-14 15:54 | 显示全部楼层
不懂,我就来看一看,哈哈

点评

哈哈,谢谢来捧场!  详情 回复 发表于 2020-3-15 02:22
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2020-3-15 02:22 | 显示全部楼层
ccffvii 发表于 2020-3-14 15:54
不懂,我就来看一看,哈哈

哈哈,谢谢来捧场!
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2020-12-5 13:12

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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