Задать вопрос
MiF36rus
@MiF36rus
Алкоголик

Как избавится от ошибки OpenSll?

Собираю Openwrt из последних исходников с github и получаю в процессе сборки вот такую ошибку
лог
[ 48%] Building C object Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/vtls/polarssl.c.o
[ 48%] Building C object Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/vtls/polarssl_threadlock.c.o
/home/maxim/openwrt/build_dir/host/cmake-3.6.1/Utilities/cmcurl/lib/vtls/openssl.c: In function 'get_cert_chain':
/home/maxim/openwrt/build_dir/host/cmake-3.6.1/Utilities/cmcurl/lib/vtls/openssl.c:2482:13: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}'
     cinf = x->cert_info;
             ^~
/home/maxim/openwrt/build_dir/host/cmake-3.6.1/Utilities/cmcurl/lib/vtls/openssl.c:2484:30: error: dereferencing pointer to incomplete type 'X509_CINF {aka struct x509_cinf_st}'
     j = asn1_object_dump(cinf->signature->algorithm, bufp, CERTBUFFERSIZE);
                              ^~
/home/maxim/openwrt/build_dir/host/cmake-3.6.1/Utilities/cmcurl/lib/vtls/openssl.c:2510:20: error: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
       switch(pubkey->type) {
                    ^~
[ 48%] Building C object Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/vtls/axtls.c.o
[ 48%] Building C object Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/vtls/cyassl.c.o
Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/build.make:2558: recipe for target 'Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/vtls/openssl.c.o' failed
make[6]: *** [Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/vtls/openssl.c.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory '/home/maxim/openwrt/build_dir/host/cmake-3.6.1'
CMakeFiles/Makefile2:1488: recipe for target 'Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/all' failed
make[5]: *** [Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/all] Error 2
make[5]: Leaving directory '/home/maxim/openwrt/build_dir/host/cmake-3.6.1'
Makefile:160: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/maxim/openwrt/build_dir/host/cmake-3.6.1'
Makefile:29: recipe for target '/home/maxim/openwrt/build_dir/host/cmake-3.6.1/.built' failed
make[3]: *** [/home/maxim/openwrt/build_dir/host/cmake-3.6.1/.built] Error 2
make[3]: Leaving directory '/home/maxim/openwrt/tools/cmake'
tools/Makefile:134: recipe for target 'tools/cmake/compile' failed
make[2]: *** [tools/cmake/compile] Error 2
make[2]: Leaving directory '/home/maxim/openwrt'
tools/Makefile:133: recipe for target '/home/maxim/openwrt/staging_dir/target-mips_34kc_musl-1.1.16/stamp/.tools_install_yynyynynynyyyyyyynyyyyyyyyyyyyynyyyyynnyynynyyyynnnyy' failed
make[1]: *** [/home/maxim/openwrt/staging_dir/target-mips_34kc_musl-1.1.16/stamp/.tools_install_yynyynynynyyyyyyynyyyyyyyyyyyyynyyyyynnyynynyyyynnnyy] Error 2
make[1]: Leaving directory '/home/maxim/openwrt'
Build failed - please re-run with -j1 to see the real error message
/home/maxim/openwrt/include/toplevel.mk:192: ошибка выполнения рецепта для цели «world»
make: *** [world] Ошибка 1

Помогите пожалуйста избавится от ошибки, очень нужно собрать этот образ
  • Вопрос задан
  • 1312 просмотров
Подписаться 1 Оценить Комментировать
Решения вопроса 1
ololopishpishrealne
@ololopishpishrealne
one|line|mega|pipe|ninja
https://github.com/openwrt/openwrt/issues/372
Вот тут пишут что тебе стоит поставить версию openSSL постарее.
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы