RK3399 android7.1 ubuntu20.04编译报错

  • Post author:
  • Post category:其他

[  0% 163/50846] host Java: antlr-runtime (out/host/c…j/JAVA_LIBRARIES/antlr-runtime_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[  0% 164/50846] Lex: aidl <= system/tools/aidl/aidl_language_l.ll
FAILED: /bin/bash -c “prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp system/tools/aidl/aidl_language_l.ll”
flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))’ failed.
Aborted (core dumped)
[  0% 164/50846] build out/target/common/obj/all-event-log-tags.txt
system/bt/hci/../EventLogTags.logtags:36: warning: tag “bt_hci_timeout” (1010000) duplicated in system/bt/btif/../EventLogTags.logtags:36
system/bt/hci/../EventLogTags.logtags:37: warning: tag “bt_config_source” (1010001) duplicated in system/bt/btif/../EventLogTags.logtags:37
system/bt/hci/../EventLogTags.logtags:38: warning: tag “bt_hci_unknown_type” (1010002) duplicated in system/bt/btif/../EventLogTags.logtags:38
[  0% 164/50846] host Java: hamcrest-host (out/host/c…j/JAVA_LIBRARIES/hamcrest-host_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[  0% 164/50846] target Java: core-all (out/target/co…on/obj/JAVA_LIBRARIES/core-all_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:149: ninja_wrapper] Error 1

#### make failed to build some targets (01:10 (mm:ss)) ####

Build android failed!
解决方法:

export LC_ALL=C


版权声明:本文为zhl232465原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。