shadowsocksrr / shadowsocksr-libev

GNU General Public License v3.0
641 stars 433 forks source link

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

Closed daiaji closed 5 years ago

daiaji commented 7 years ago

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 commented 7 years ago

Use https://github.com/shadowsocks/openwrt-feeds instead.

daiaji commented 7 years ago

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

Akkariiin commented 7 years ago

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

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

honwen commented 7 years ago

@Akkariiin https://github.com/shadowsocks/openwrt-feeds/blob/master/base/mbedtls/Makefile 降级?

mbedtls 2.5.1-2

Akkariiin commented 7 years ago

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

daiaji commented 7 years ago

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

Akkariiin commented 7 years ago

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

daiaji commented 7 years ago

@Akkariiin 慢慢来吧☺

honwen commented 7 years ago

Workd With https://github.com/shadowsocks/openwrt-feeds/commit/d9bc9be7728fd038886b2cac947a69cc88db7b02#diff-9d53d73fdc2415a966f218d62266873d

2017-10-19 03-49-04

kotori2 commented 7 years ago

试试OpenSSL? qq 20171019181406

daiaji commented 7 years ago

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

panda-mute commented 7 years ago

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

daiaji commented 7 years ago

@panda-mute 有安全性的BUG?

panda-mute commented 7 years ago

@daiaji https://github.com/openwrt-develop/openwrt-shadowsocksr/issues/1

AngusLkc commented 5 years ago

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 commented 5 years ago

@cary-zhou thank you~~