Openharmony 编译 openssl 依赖 icu库报错

[OHOS INFO] openssl detecting os now...

[OHOS INFO] current_cpu = x64

[OHOS INFO] current_os = linux

[OHOS INFO] host_os = linux

[OHOS INFO] is_mingw = false

[OHOS INFO] openssl selected linux-x86_64

[OHOS INFO] openssl detecting os done. openssl_selected_platform = linux-x86_64

[OHOS INFO] ERROR at //arkcompiler/ets_runtime/ecmascript/compiler/BUILD.gn:494:7 (//build/toolchain/linux:clang_x64): OHOS innerapi: (shared_icui18n) not found for component (icu).

[OHOS INFO]       "icu:shared_icui18n",

[OHOS INFO]       ^-------------------

[OHOS INFO] See //build/templates/cxx/cxx.gni:251:3: whence it was called.

[OHOS INFO]   executable("${target_name}") {

[OHOS INFO]   ^-----------------------------

[OHOS INFO] See //arkcompiler/ets_runtime/ecmascript/compiler/BUILD.gn:456:1: whence it was called.

[OHOS INFO] ohos_executable("ark_stub_compiler") {

[OHOS INFO] ^-------------------------------------

[OHOS INFO] See //arkcompiler/ets_runtime/ecmascript/sdk/BUILD.gn:119:13: which caused the file to be included.

[OHOS INFO]           [ "//arkcompiler/ets_runtime/ecmascript/compiler:ark_aot_compiler" ]

[OHOS INFO]             ^---------------------------------------------------------------

[OHOS INFO] cmd ['/home/pengyc/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/pengyc/OpenHarmony/third_party/openssl', '/home/pengyc/OpenHarmony/out/sdk/clang_x64/obj/third_party/openssl/build_all_generated', 'linux-x86_64'] start

[OHOS INFO] result.returncode = 0

[OHOS INFO] result.stdout = /home/pengyc/OpenHarmony/out/sdk

[OHOS INFO] ~/OpenHarmony/out/sdk/clang_x64/obj/third_party/openssl/build_all_generated/linux-x86_64 ~/OpenHarmony/out/sdk

[OHOS INFO] /home/pengyc/OpenHarmony/third_party/openssl/Configure linux-x86_64 no-shared no-module

[OHOS INFO] Configuring OpenSSL version 3.0.9 for target linux-x86_64

[OHOS INFO] Using os-specific seed configuration

[OHOS INFO] Created configdata.pm

[OHOS INFO] Running configdata.pm

[OHOS INFO] Created Makefile.in

[OHOS INFO] Created Makefile

[OHOS INFO] Created include/openssl/configuration.h

[OHOS INFO]  

[OHOS INFO] **********************************************************************

[OHOS INFO] ***                                                                ***

[OHOS INFO] ***   OpenSSL has been successfully configured                     ***

[OHOS INFO] ***                                                                ***

[OHOS INFO] ***   If you encounter a problem while building, please open an    ***

[OHOS INFO] ***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***

[OHOS INFO] ***   and include the output from the following command:           ***

[OHOS INFO] ***                                                                ***

[OHOS INFO] ***       perl configdata.pm --dump                                ***

[OHOS INFO] ***                                                                ***

[OHOS INFO] ***   (If you are new to OpenSSL, you might want to consult the    ***

[OHOS INFO] ***   'Troubleshooting' section in the INSTALL.md file first)      ***

[OHOS INFO] ***                                                                ***

[OHOS INFO] **********************************************************************

[OHOS INFO] ~/OpenHarmony/out/sdk

[OHOS INFO]  

[OHOS INFO] cmd ['/home/pengyc/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/pengyc/OpenHarmony/third_party/openssl', '/home/pengyc/OpenHarmony/out/sdk/clang_x64/obj/third_party/openssl/build_all_generated', 'linux-x86_64'] ok

[OHOS INFO]  

[OHOS INFO] end hpm command


[OHOS ERROR] ERROR at //arkcompiler/ets_runtime/ecmascript/compiler/BUILD.gn:494:7 (//build/toolchain/linux:clang_x64): OHOS innerapi: (shared_icui18n) not found for component (icu).


[OHOS ERROR]       "icu:shared_icui18n",


[OHOS ERROR]       ^-------------------


[OHOS ERROR] See //build/templates/cxx/cxx.gni:251:3: whence it was called.


[OHOS ERROR]   executable("${target_name}") {


[OHOS ERROR]   ^-----------------------------


[OHOS ERROR] See //arkcompiler/ets_runtime/ecmascript/compiler/BUILD.gn:456:1: whence it was called.


[OHOS ERROR] ohos_executable("ark_stub_compiler") {


[OHOS ERROR] ^-------------------------------------


[OHOS ERROR] See //arkcompiler/ets_runtime/ecmascript/sdk/BUILD.gn:119:13: which caused the file to be included.


[OHOS ERROR]           [ "//arkcompiler/ets_runtime/ecmascript/compiler:ark_aot_compiler" ]


[OHOS ERROR]             ^---------------------------------------------------------------


[OHOS ERROR] cmd ['/home/pengyc/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/pengyc/OpenHarmony/third_party/openssl', '/home/pengyc/OpenHarmony/out/sdk/clang_x64/obj/third_party/openssl/build_all_generated', 'linux-x86_64'] start


[OHOS ERROR] result.returncode = 0

Openharmony
2024-05-06 08:54:47
浏览
收藏 0
回答 0
待解决
相关问题
openssl编译会报undefined symbol: __errno
984浏览 • 1回复 待解决
HarmonyOS 怎么交叉编译curl、openssl
162浏览 • 1回复 待解决
HSP间接依赖三方编译报错
394浏览 • 1回复 待解决
openharmony 交叉编译openjdk报错
730浏览 • 1回复 待解决
OpenHarmony 编译原生设置settings报错
2912浏览 • 0回复 待解决
OpenHarmony-v4.0-Beta1 编译报错,求助
4764浏览 • 3回复 待解决
HarmonyOS C++使用aki编译报错
229浏览 • 1回复 待解决
编译适用于HarmonyOS系统的openssl
1252浏览 • 1回复 待解决
是否有预编译OpenSSL 的 so 文件?
35浏览 • 1回复 待解决
HarmonyOS 需要提供手机的opensslsdk
336浏览 • 1回复 待解决
OpenHarmony3.1 如何编译出 softbus_lite的
5711浏览 • 1回复 已解决
OpenHarmony dcts无法编译通过
3358浏览 • 0回复 待解决
鸿蒙module依赖报错问题
12699浏览 • 1回复 待解决
openHarmony2.0 hb编译问题
10870浏览 • 5回复 待解决
如何发布鸿蒙插件到依赖
5921浏览 • 1回复 待解决