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
566浏览 • 1回复 待解决
openharmony 交叉编译openjdk报错
191浏览 • 0回复 待解决
OpenHarmony 编译原生设置settings报错
1591浏览 • 0回复 待解决
编译适用于HarmonyOS系统的openssl
607浏览 • 1回复 待解决
OpenHarmony-v4.0-Beta1 编译报错,求助
3081浏览 • 3回复 待解决
OpenHarmony3.1 如何编译出 softbus_lite的
4566浏览 • 1回复 已解决
鸿蒙module依赖报错问题
10975浏览 • 1回复 待解决
OpenHarmony dcts无法编译通过
2131浏览 • 0回复 待解决
如何发布鸿蒙插件到依赖
4555浏览 • 1回复 待解决
openHarmony2.0 hb编译问题
9236浏览 • 5回复 待解决
在HAP编译的过程中,本地依赖tgz
320浏览 • 1回复 待解决
openharmony 新建third_party编译不到
3589浏览 • 1回复 待解决
编译报错没有堆栈信息
466浏览 • 1回复 待解决
下载编译Full-SDK报错
1113浏览 • 1回复 待解决
搭建鸿蒙环境时,编译报错
10618浏览 • 4回复 待解决
openharmony编译安装hb前遇到这问题
6062浏览 • 1回复 待解决