20250615解决在ubuntu22.04.5下编译OK3576-C_Linux6.1.84_用户资料_R1出现问题special-case.h:12:10: fatal error: unicode/uchar.h: No such file or directory
2025/6/15 21:11
缘起:最近需要编译Rockchip瑞芯微的RK3576的Buildroot系统。
想办法讲飞凌的、荣品的SDK合成一个近似Rockchip瑞芯微原厂的SDK。
E:\BaiduNetdiskDownload\OK3576-C_Linux6.1.84_用户资料_R1
百度:special-case.h:12:10: fatal error: unicode/uchar.h: No such file or director
special-case.h:12:10: fatal error: unicode/uchar.h: No such file or director
当你在编译C或C++程序时遇到错误“fatal error: unicode/uchar.h: No such file or directory”,这通常意味着编译器无法找到一个特定的头文件。在这种情况下,unicode/uchar.h是ICU(International Components for Unicode)库的一部分,该库用于提供Unicode和全球化的支持。
要解决这个问题,你可以按照以下步骤操作:
安装ICU库:
确保你的系统上安装了ICU库。你可以通过包管理器安装它。例如,在Ubuntu上,你可以使用以下命令:
sudo apt-get install libicu-dev
在Fedora上,使用:
sudo dnf install icu
在macOS上,你可以使用Homebrew:
brew install icu4c
确认安装:
安装完成后,确认uchar.h文件是否存在于你的系统中。你可以使用find命令来搜索这个文件:
find /usr -name uchar.h
这将帮助你找到uchar.h文件的确切位置。
更新编译器的包含路径:
如果uchar.h文件存在于非标准路径,你需要在编译时指定额外的包含目录。例如,如果你发现uchar.h位于/usr/local/include/unicode,你可以在编译时添加-I选项来指定这个目录:
g++ your_program.cpp -I/usr/local/include/unicode -o your_program
检查你的代码:
确保你的代码中包含了正确的头文件引用。例如,你应该这样包含ICU的头文件:
#include
重新编译:
在解决了所有上述问题后,再次编译你的程序。如果一切设置正确,这次应该不会再出现找不到头文件的错误。
通过上述步骤,你应该能够解决因缺少ICU库而导致的编译错误。如果问题仍然存在,请检查你的环境变量设置或IDE配置是否正确指向了ICU库的安装路径。
提示:AI自动生成,仅供参考
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~$
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~$
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~$ cat /etc/issue
Ubuntu 22.04.5 LTS \n \l
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~$
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~$ uname -a
Linux rootroot-HP-245-14-inch-G10-Notebook-PC 6.8.0-60-generic #63~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 22 19:00:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~$
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~$
2025-06-15T15:07:33 >>> libevent 2.1.12 Downloading
2025-06-15T15:07:38 >>> libevent 2.1.12 Extracting
2025-06-15T15:07:38 >>> libevent 2.1.12 Patching
2025-06-15T15:07:38 >>> libevent 2.1.12 Updating config.sub and config.guess
2025-06-15T15:07:38 >>> libevent 2.1.12 Patching libtool
2025-06-15T15:07:38 >>> libevent 2.1.12 Configuring
2025-06-15T15:07:50 >>> libevent 2.1.12 Building
2025-06-15T15:07:52 >>> libevent 2.1.12 Installing to staging directory
2025-06-15T15:07:52 >>> libevent 2.1.12 Fixing libtool files
2025-06-15T15:07:52 >>> libevent 2.1.12 Installing to target
2025-06-15T15:07:53 >>> libxslt 1.1.39 Downloading
2025-06-15T15:07:58 >>> libxslt 1.1.39 Extracting
2025-06-15T15:07:58 >>> libxslt 1.1.39 Patching
2025-06-15T15:07:58 >>> libxslt 1.1.39 Updating config.sub and config.guess
2025-06-15T15:07:58 >>> libxslt 1.1.39 Patching libtool
2025-06-15T15:07:58 >>> libxslt 1.1.39 Configuring
2025-06-15T15:08:01 >>> libxslt 1.1.39 Building
2025-06-15T15:08:04 >>> libxslt 1.1.39 Installing to staging directory
2025-06-15T15:08:04 >>> libxslt 1.1.39 Fixing package configuration files
2025-06-15T15:08:04 >>> libxslt 1.1.39 Fixing libtool files
2025-06-15T15:08:05 >>> libxslt 1.1.39 Installing to target
2025-06-15T15:08:05 >>> re2 2022-04-01 Downloading
2025-06-15T15:08:09 >>> re2 2022-04-01 Extracting
2025-06-15T15:08:09 >>> re2 2022-04-01 Patching
2025-06-15T15:08:09 >>> re2 2022-04-01 Configuring
2025-06-15T15:08:10 >>> re2 2022-04-01 Building
2025-06-15T15:08:15 >>> re2 2022-04-01 Installing to staging directory
2025-06-15T15:08:15 >>> re2 2022-04-01 Fixing libtool files
2025-06-15T15:08:15 >>> re2 2022-04-01 Installing to target
2025-06-15T15:08:16 >>> snappy 1.1.10 Downloading
2025-06-15T15:08:22 >>> snappy 1.1.10 Extracting
2025-06-15T15:08:22 >>> snappy 1.1.10 Patching
2025-06-15T15:08:22 >>> snappy 1.1.10 Configuring
2025-06-15T15:08:24 >>> snappy 1.1.10 Building
2025-06-15T15:08:25 >>> snappy 1.1.10 Installing to staging directory
2025-06-15T15:08:25 >>> snappy 1.1.10 Fixing libtool files
2025-06-15T15:08:26 >>> snappy 1.1.10 Installing to target
2025-06-15T15:08:26 >>> webp 1.3.2 Extracting
2025-06-15T15:08:26 >>> webp 1.3.2 Patching
2025-06-15T15:08:26 >>> webp 1.3.2 Updating config.sub and config.guess
2025-06-15T15:08:26 >>> webp 1.3.2 Patching libtool
2025-06-15T15:08:26 >>> webp 1.3.2 Configuring
2025-06-15T15:08:30 >>> webp 1.3.2 Building
2025-06-15T15:08:37 >>> webp 1.3.2 Installing to staging directory
2025-06-15T15:08:37 >>> webp 1.3.2 Fixing libtool files
2025-06-15T15:08:38 >>> webp 1.3.2 Installing to target
2025-06-15T15:08:39 >>> qt5webengine 5.15.11 Downloading
2025-06-15T15:08:49 >>> qt5webengine 5.15.11 Extracting
2025-06-15T15:08:49 >>> qt5webengine-chromium 0ad2814370799a2161057d92231fe3ee00e2fe98 Downloading
2025-06-15T15:17:11 >>> qt5webengine-chromium 0ad2814370799a2161057d92231fe3ee00e2fe98 Extracting
2025-06-15T15:17:46 >>> qt5webengine-chromium-catapult 5eedfe23148a234211ba477f76fc2ea2e8529189 Downloading
2025-06-15T15:56:50 >>> qt5webengine-chromium-catapult 5eedfe23148a234211ba477f76fc2ea2e8529189 Extracting
2025-06-15T15:56:53 >>> qt5webengine-chromium-catapult 5eedfe23148a234211ba477f76fc2ea2e8529189 Patching
2025-06-15T15:56:53 >>> qt5webengine-chromium 0ad2814370799a2161057d92231fe3ee00e2fe98 Patching
2025-06-15T15:56:55 >>> qt5webengine 5.15.11 Patching
2025-06-15T15:57:04 >>> qt5webengine 5.15.11 Configuring
2025-06-15T15:57:06 >>> qt5webengine 5.15.11 Building
Done in 58min 26s (error code: 2)
Failed to build rockchip_ok3576:
2025-06-15T15:58:13 202 | std::tie(minScale, maxScale) = options.computeSDFMinMaxScale(font.getSize(), deviceMatrix);
2025-06-15T15:58:13 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2605/21949] CXX obj/third_party/crc32c/crc32c/crc32c.o
2025-06-15T15:59:10 In file included from ../../3rdparty/chromium/third_party/crc32c/src/src/crc32c.cc:11:
2025-06-15T15:59:10 ../../3rdparty/chromium/third_party/crc32c/src/src/./crc32c_arm64_linux_check.h: In function 'bool crc32c::CanUseArm64Linux()':
2025-06-15T15:59:10 ../../3rdparty/chromium/third_party/crc32c/src/src/./crc32c_arm64_linux_check.h:36:37: warning: the address of 'long unsigned int getauxval(long unsigned int)' will never be NULL [-Waddress]
2025-06-15T15:59:10 36 | unsigned long hwcap = (&getauxval != nullptr) ? getauxval(AT_HWCAP) : 0;
2025-06-15T15:59:10 | ~~~~~~~~~~~^~~~~~~~~~
2025-06-15T15:59:10 In file included from ../../3rdparty/chromium/third_party/crc32c/src/src/./crc32c_arm64_linux_check.h:20:
2025-06-15T15:59:10 /home/rootroot/ok3576-linux-source6.1.84/buildroot/output/rockchip_ok3576/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/sys/auxv.h:31:26: note: 'long unsigned int getauxval(long unsigned int)' declared here
2025-06-15T15:59:10 31 | extern unsigned long int getauxval (unsigned long int __type)
2025-06-15T15:59:10 | ^~~~~~~~~
[3500/21949] CC obj/third_party/pffft/pffft/pffft.o
2025-06-15T15:59:43 ../../3rdparty/chromium/third_party/pffft/src/pffft.c: In function 'validate_pffft_simd':
2025-06-15T15:59:43 ../../3rdparty/chromium/third_party/pffft/src/pffft.c:218:33: warning: variable 'u' set but not used [-Wunused-but-set-variable]
2025-06-15T15:59:43 218 | v4sf_union a0, a1, a2, a3, t, u;
2025-06-15T15:59:43 | ^
2025-06-15T15:59:43 ../../3rdparty/chromium/third_party/pffft/src/pffft.c:218:30: warning: variable 't' set but not used [-Wunused-but-set-variable]
2025-06-15T15:59:43 218 | v4sf_union a0, a1, a2, a3, t, u;
2025-06-15T15:59:43 | ^
[3607/21949] CC obj/third_party/usrsctp/usrsctp/sctp_input.o
2025-06-15T15:59:56 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c: In function 'sctp_handle_stream_reset_response':
2025-06-15T15:59:56 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c:3942:99: warning: taking address of packed member of 'struct sctp_stream_reset_out_request' may result in an unaligned pointer value [-Waddress-of-packed-member]
2025-06-15T15:59:56 3942 | sctp_reset_out_streams(stcb, number_entries, req_out_param->list_of_streams);
2025-06-15T15:59:56 | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
2025-06-15T15:59:56 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c:3955:101: warning: taking address of packed member of 'struct sctp_stream_reset_out_request' may result in an unaligned pointer value [-Waddress-of-packed-member]
2025-06-15T15:59:56 3955 | sctp_reset_clear_pending(stcb, number_entries, req_out_param->list_of_streams);
2025-06-15T15:59:56 | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
2025-06-15T15:59:56 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c: In function 'sctp_handle_str_reset_request_out':
2025-06-15T15:59:56 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c:4233:71: warning: taking address of packed member of 'struct sctp_stream_reset_out_request' may result in an unaligned pointer value [-Waddress-of-packed-member]
2025-06-15T15:59:56 4233 | sctp_reset_in_stream(stcb, number_entries, req->list_of_streams);
2025-06-15T15:59:56 | ~~~^~~~~~~~~~~~~~~~~
[3656/21949] CC obj/third_party/usrsctp/usrsctp/sctp_output.o
2025-06-15T16:00:01 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c: In function 'send_forward_tsn':
2025-06-15T16:00:01 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c:11022:36: warning: converting a packed 'struct sctp_forward_tsn_chunk' pointer (alignment 1) to a 'struct sctp_strseq_mid' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member]
2025-06-15T16:00:01 11022 | strseq_m = (struct sctp_strseq_mid *)fwdtsn;
2025-06-15T16:00:01 | ^~~~~~~~~~~~~~~
2025-06-15T16:00:01 In file included from ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c:46:
2025-06-15T16:00:01 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_header.h:407:8: note: defined here
2025-06-15T16:00:01 407 | struct sctp_forward_tsn_chunk {
2025-06-15T16:00:01 | ^~~~~~~~~~~~~~~~~~~~~~
2025-06-15T16:00:01 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_header.h:418:8: note: defined here
2025-06-15T16:00:01 418 | struct sctp_strseq_mid {
2025-06-15T16:00:01 | ^~~~~~~~~~~~~~~
2025-06-15T16:00:01 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c: In function 'sctp_send_sack':
2025-06-15T16:00:01 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c:11412:17: warning: converting a packed 'struct sctp_gap_ack_block' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member]
2025-06-15T16:00:01 11412 | dup = (uint32_t *) gap_descriptor;
2025-06-15T16:00:01 | ^~~
2025-06-15T16:00:01 ../../3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_header.h:265:8: note: defined here
2025-06-15T16:00:01 265 | struct sctp_gap_ack_block {
2025-06-15T16:00:01 | ^~~~~~~~~~~~~~~~~~
[5243/21949] CXX obj/v8/v8_libbase/platform-posix.o
2025-06-15T16:00:55 ../../3rdparty/chromium/v8/src/base/platform/platform-posix.cc: In constructor 'v8::base::Thread::Thread(const Options&)':
2025-06-15T16:00:55 ../../3rdparty/chromium/v8/src/base/platform/platform-posix.cc:790:59: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
2025-06-15T16:00:55 790 | if (stack_size_ > 0 && static_cast
2025-06-15T16:00:55 | ^
[6265/21949] CC host/obj/third_party/brotli/enc/encode.o
2025-06-15T16:01:41 In file included from ../../3rdparty/chromium/third_party/brotli/enc/././hash.h:387,
2025-06-15T16:01:41 from ../../3rdparty/chromium/third_party/brotli/enc/./backward_references.h:17,
2025-06-15T16:01:41 from ../../3rdparty/chromium/third_party/brotli/enc/encode.c:18:
2025-06-15T16:01:41 In function 'InitializeH65',
2025-06-15T16:01:41 inlined from 'HasherSetup' at ../../3rdparty/chromium/third_party/brotli/enc/././hash.h:447:7,
2025-06-15T16:01:41 inlined from 'InitOrStitchToPreviousBlock' at ../../3rdparty/chromium/third_party/brotli/enc/././hash.h:480:3,
2025-06-15T16:01:41 inlined from 'BrotliCompressBufferQuality10' at ../../3rdparty/chromium/third_party/brotli/enc/encode.c:1208:3:
2025-06-15T16:01:41 ../../3rdparty/chromium/third_party/brotli/enc/./././hash_composite_inc.h:43:12: warning: writing 16 bytes into a region of size 0 [-Wstringop-overflow=]
2025-06-15T16:01:41 43 | self->ha = 0;
2025-06-15T16:01:41 | ~~~~~~~~~^~~
2025-06-15T16:01:41 In file included from ../../3rdparty/chromium/third_party/brotli/enc/././hash.h:379:
2025-06-15T16:01:41 In function 'InitializeH55',
2025-06-15T16:01:41 inlined from 'HasherSetup' at ../../3rdparty/chromium/third_party/brotli/enc/././hash.h:447:7,
2025-06-15T16:01:41 inlined from 'InitOrStitchToPreviousBlock' at ../../3rdparty/chromium/third_party/brotli/enc/././hash.h:480:3,
2025-06-15T16:01:41 inlined from 'BrotliCompressBufferQuality10' at ../../3rdparty/chromium/third_party/brotli/enc/encode.c:1208:3:
2025-06-15T16:01:41 ../../3rdparty/chromium/third_party/brotli/enc/./././hash_composite_inc.h:43:12: warning: writing 16 bytes into a region of size 0 [-Wstringop-overflow=]
2025-06-15T16:01:41 43 | self->ha = 0;
2025-06-15T16:01:41 | ~~~~~~~~~^~~
2025-06-15T16:01:41 In file included from ../../3rdparty/chromium/third_party/brotli/enc/././hash.h:371:
2025-06-15T16:01:41 In function 'InitializeH35',
2025-06-15T16:01:41 inlined from 'HasherSetup' at ../../3rdparty/chromium/third_party/brotli/enc/././hash.h:447:7,
2025-06-15T16:01:41 inlined from 'InitOrStitchToPreviousBlock' at ../../3rdparty/chromium/third_party/brotli/enc/././hash.h:480:3,
2025-06-15T16:01:41 inlined from 'BrotliCompressBufferQuality10' at ../../3rdparty/chromium/third_party/brotli/enc/encode.c:1208:3:
2025-06-15T16:01:41 ../../3rdparty/chromium/third_party/brotli/enc/./././hash_composite_inc.h:43:12: warning: writing 16 bytes into a region of size 0 [-Wstringop-overflow=]
2025-06-15T16:01:41 43 | self->ha = 0;
2025-06-15T16:01:41 | ~~~~~~~~~^~~
[7340/21949] CXX v8_snapshot/obj/v8/gen-regexp-special-case/gen-regexp-special-case.o
2025-06-15T16:03:39 FAILED: v8_snapshot/obj/v8/gen-regexp-special-case/gen-regexp-special-case.o
2025-06-15T16:03:39 /usr/bin/g++ -MMD -MF v8_snapshot/obj/v8/gen-regexp-special-case/gen-regexp-special-case.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_MINOR_MC -DV8_INTL_SUPPORT -DV8_CONCURRENT_MARKING -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DV8_TARGET_ARCH_ARM64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/v8 -I../../3rdparty/chromium/v8/include -Iv8_snapshot/gen/v8 -Iv8_snapshot/gen -Iv8_snapshot/gen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-strict-overflow -Wno-return-type -O3 -fno-ident -fdata-sections -ffunction-sections -I/usr/include -I/usr/include -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../3rdparty/chromium/v8/src/regexp/gen-regexp-special-case.cc -o v8_snapshot/obj/v8/gen-regexp-special-case/gen-regexp-special-case.o
2025-06-15T16:03:39 In file included from ../../3rdparty/chromium/v8/src/regexp/gen-regexp-special-case.cc:10:
2025-06-15T16:03:39 ../../3rdparty/chromium/v8/src/regexp/special-case.h:12:10: fatal error: unicode/uchar.h: No such file or directory
2025-06-15T16:03:39 12 | #include "unicode/uchar.h"
2025-06-15T16:03:39 | ^~~~~~~~~~~~~~~~~
2025-06-15T16:03:39 compilation terminated.
[7356/21949] CXX v8_snapshot/obj/v8/torque_base/torque_base_jumbo_3.o
2025-06-15T16:03:57 ninja: build stopped: subcommand failed.
2025-06-15T16:03:57 make[5]: *** [Makefile.gn_run:408: run_ninja] Error 1
2025-06-15T16:03:57 make[4]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
2025-06-15T16:03:57 make[3]: *** [Makefile:79: sub-core-make_first] Error 2
2025-06-15T16:03:57 make[2]: *** [Makefile:49: sub-src-make_first] Error 2
2025-06-15T16:03:57 make[1]: *** [package/pkg-generic.mk:303: /home/rootroot/ok3576-linux-source6.1.84/buildroot/output/rockchip_ok3576/build/qt5webengine-5.15.11/.stamp_built] Error 2
2025-06-15T16:03:57 make: *** [Makefile:112: _all] Error 2
2025-06-15T16:03:57 make: Leaving directory '/home/rootroot/ok3576-linux-source6.1.84/buildroot'
Please check details in /home/rootroot/ok3576-linux-source6.1.84/output/sessions/2025-06-15_15-05-21/br-rockchip_ok3576_2025-06-15_15-05-31.log
ERROR: Running /home/rootroot/ok3576-linux-source6.1.84/device/rockchip/common/scripts/mk-rootfs.sh - build_buildroot failed!
ERROR: exit code 1 from line 21:
"$RK_SCRIPTS_DIR/mk-buildroot.sh" $RK_BUILDROOT_CFG "$IMAGE_DIR"
ERROR: call stack:
mk-rootfs.sh: build_buildroot(21)
mk-rootfs.sh: build_hook(305)
mk-rootfs.sh: main(334)
ERROR: Running /home/rootroot/ok3576-linux-source6.1.84/device/rockchip/common/build-hooks/99-all.sh - build_all failed!
ERROR: exit code 1 from line 21:
"$RK_SCRIPTS_DIR/mk-rootfs.sh"
ERROR: call stack:
99-all.sh: build_all(21)
99-all.sh: build_hook(134)
build-helper: try_func(63)
build-helper: try_hook(96)
build-helper: source(174)
99-all.sh: main(145)
ERROR: Running /home/rootroot/ok3576-linux-source6.1.84/device/rockchip/common/build-hooks/99-all.sh - try_func build_hook all failed!
ERROR: exit code 1 from line 67:
build_hook
ERROR: call stack:
build-helper: try_func(67)
build-helper: try_hook(96)
build-helper: source(174)
99-all.sh: main(145)
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/ok3576-linux-source6.1.84$
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/ok3576-linux-source6.1.84$ sudo apt install libicu-dev
[sudo] password for rootroot:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libappstream-glib8 libflashrom1 libftdi1-2 libfuse2 libllvm13 libqt5xml5 linux-headers-5.15.0-25 linux-headers-5.15.0-25-generic linux-headers-6.8.0-52-generic linux-hwe-6.8-headers-6.8.0-52
linux-hwe-6.8-tools-6.8.0-52 linux-image-5.15.0-25-generic linux-image-6.8.0-52-generic linux-modules-5.15.0-25-generic linux-modules-6.8.0-52-generic linux-modules-extra-5.15.0-25-generic
linux-modules-extra-6.8.0-52-generic linux-tools-6.8.0-52-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
icu-devtools
Suggested packages:
icu-doc
The following NEW packages will be installed:
icu-devtools libicu-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.8 MB of archives.
After this operation, 47.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 icu-devtools amd64 70.1-2 [197 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libicu-dev amd64 70.1-2 [11.6 MB]
Fetched 11.8 MB in 2s (6,101 kB/s)
Selecting previously unselected package icu-devtools.
(Reading database ... 304413 files and directories currently installed.)
Preparing to unpack .../icu-devtools_70.1-2_amd64.deb ...
Unpacking icu-devtools (70.1-2) ...
Selecting previously unselected package libicu-dev:amd64.
Preparing to unpack .../libicu-dev_70.1-2_amd64.deb ...
Unpacking libicu-dev:amd64 (70.1-2) ...
Setting up icu-devtools (70.1-2) ...
Setting up libicu-dev:amd64 (70.1-2) ...
Processing triggers for man-db (2.10.2-1) ...
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/ok3576-linux-source6.1.84$
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/ok3576-linux-source6.1.84$ ./build.sh