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

LEDE编译报错 可能是mbedtls版本太高 #7

Closed
daiaji opened this issue Oct 13, 2017 · 16 comments
Closed

LEDE编译报错 可能是mbedtls版本太高 #7

daiaji opened this issue Oct 13, 2017 · 16 comments

Comments

@daiaji
Copy link

daiaji commented Oct 13, 2017

checking whether mbedtls supports the Camellia block cipher or not... configure: error: MBEDTLS_CAMELLIA_C required
报错原因:官方源mbedtls版本太高,应该使用2.4.0
他们是这么说的
LEDE现在用的mbedtlsPKG_VERSION:=2.6.0
建议跟进

@honwen
Copy link

honwen commented Oct 13, 2017

@daiaji
Copy link
Author

daiaji commented Oct 14, 2017

@chenhw2 我在其他地方找到了解决方案
但是还是更新一下mbedtls库的版本比较好吧

@Akkariiin
Copy link
Member

现在正在头疼libev这边的密码学依赖库的版本问题

你能提供一下你的解决方案和详细的相关信息吗

@honwen
Copy link

honwen commented Oct 14, 2017

@Akkariiin
Copy link
Member

降级.........................................................

@daiaji
Copy link
Author

daiaji commented Oct 16, 2017

@Akkariiin @chenhw2 别降级😂
我这是编译实在过不了才降级的啊

@Akkariiin
Copy link
Member

可能要重新组织libev这边的编译框架和依赖库架构。只能慢慢来了。

@daiaji
Copy link
Author

daiaji commented Oct 17, 2017

@Akkariiin 慢慢来吧☺

@honwen
Copy link

honwen commented Oct 18, 2017

@kotori2
Copy link

kotori2 commented Oct 19, 2017

试试OpenSSL?
qq 20171019181406

@daiaji
Copy link
Author

daiaji commented Oct 22, 2017

@lijun0326 用mbedtls的原因很大程度上是openssl的原因

@panda-mute
Copy link

不是版本原因,是lede的mbedtls patch把这个功能disable掉了,直接去掉那个patch或者改一下patch就可以了

@daiaji
Copy link
Author

daiaji commented Oct 25, 2017

@panda-mute 有安全性的BUG?

@panda-mute
Copy link

@AngusLkc
Copy link

AngusLkc commented Apr 20, 2019

LEDE_17.01.6,在package/libs/mbedtls/patches/200-config.patch下第163行,补丁注释掉了MBEDTLS_CAMELLIA_C宏:"+//#define MBEDTLS_CAMELLIA_C"。
去掉双斜杠表示启用宏,保存重新make即可:"+#define MBEDTLS_CAMELLIA_C"

@Akkariiin
Copy link
Member

@cary-zhou thank you~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants