找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888广告投放联系QQ68610888
广告投放联系QQ68610888广告投放联系QQ68610888
查看: 2739|回复: 4

openwrt 编译,MBEDTLS库出错,请教大神怎么改

[复制链接]
发表于 2024-5-30 15:37 | 显示全部楼层 |阅读模式
whether mbedtls supports Cipher Feedback mode or not... configure: error: MBEDTLS_CIPHER_MODE_CFB required

照着一些网帖编译2.28.0什么的都干了,还是这个错,又有人说拷贝库文件,这个不知道怎么做。



只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
 楼主| 发表于 2024-5-30 15:47 | 显示全部楼层
github上有人有同样的问题,尚未关闭
https://github.com/openwrt/packages/issues/24168
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

 楼主| 发表于 2024-5-30 16:12 | 显示全部楼层
有人建议把Lean的mbedtls库拷到原版,/package/libs/mbedtls
出现新错误:
[1/4] Building C object CMakeFiles/ustream-ssl.dir/ustream-mbedtls.c.o
FAILED: CMakeFiles/ustream-ssl.dir/ustream-mbedtls.c.o
/home/yale/openwrt/staging_dir/host/bin/ccache /home/yale/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-13.3.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc -DHAVE_MBEDTLS -Dustream_ssl_EXPORTS  -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/yale/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ustream-ssl-mbedtls/ustream-ssl-2024.04.19~524a76e5=ustream-ssl-2024.04.19~524a76e5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fPIC   -Os -Wall -Werror --std=gnu99 -g3 -Wextra -Werror=implicit-function-declaration -Wformat -Werror=format-security -Werror=format-nonliteral -Wno-unused-parameter -Wmissing-declarations -MD -MT CMakeFiles/ustream-ssl.dir/ustream-mbedtls.c.o -MF CMakeFiles/ustream-ssl.dir/ustream-mbedtls.c.o.d -o CMakeFiles/ustream-ssl.dir/ustream-mbedtls.c.o -c '/home/yale/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ustream-ssl-mbedtls/ustream-ssl-2024.04.19~524a76e5/ustream-mbedtls.c'
/home/yale/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ustream-ssl-mbedtls/ustream-ssl-2024.04.19~524a76e5/ustream-mbedtls.c:28:10: fatal error: psa/crypto.h: No such file or directory
   28 | #include <psa/crypto.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

发表于 2024-5-30 16:33 | 显示全部楼层
要替换Lean的3个包,mbedtls,ustream-ssl,uclient:https://github.com/fw876/helloworld/issues/1462

点评

谢谢大神,复制三个包后解决了  详情 回复 发表于 2024-5-31 08:50
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

 楼主| 发表于 2024-5-31 08:50 | 显示全部楼层
jjit 发表于 2024-5-30 16:33
要替换Lean的3个包,mbedtls,ustream-ssl,uclient:https://github.com/fw876/helloworld/issues/1462 ...

谢谢大神,复制三个包后解决了
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /2 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2026-8-23 22:19

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 电话:13506125623

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