如何用boringssl建立卷曲?

时间:2017-02-22 12:09:49

标签: curl boringssl

我正在尝试在Ubuntu 16.04上使用boringssl构建curl。

我已经无聊了。

使用curl 7.53我使用:

进行配置
function test(){
    var b=2;
    console.log(b);
}

test();

输出显示“SSL support:enabled(BoringSSL)”确定。

但是当我./configure --with-ssl=/home/john/dev/boringssl 时,我会从

开始出错
make

结尾
  CC       vtls/libcurl_la-openssl.lo
In file included from vtls/openssl.c:86:0:
/usr/include/openssl/ui.h:85:1: error: unknown type name ‘UI’
 UI *UI_new(void);
 ^
/usr/include/openssl/ui.h:86:1: error: unknown type name ‘UI’
 UI *UI_new_method(const UI_METHOD *method);
 ^
/usr/include/openssl/ui.h:86:25: error: unknown type name ‘UI_METHOD’
 UI *UI_new_method(const UI_METHOD *method);
                         ^

我不确定当curl配置为使用boringssl构建时是否应该使用此Makefile:2023: recipe for target 'vtls/libcurl_la-openssl.lo' failed make[2]: *** [vtls/libcurl_la-openssl.lo] Error 1 make[2]: Leaving directory '/home/john/dev/curl-7.53.0/lib' Makefile:734: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/john/dev/curl-7.53.0/lib' Makefile:893: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 标头,似乎此文件仅存在于OpenSSL中,而不是枯燥乏味。

0 个答案:

没有答案