Upgrade to Ubuntu 18.04. Compilation error. Make a backup.
The error message is as follows
FAILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/target/product/bullhead/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp bootable/recovery/edify/lexer.ll"
flex-2.5.39: loadlocale.c:130:_nl_intern_locale_data: ??'cnt < (sizeof (_nl_value_type_LC_TIME)/sizeof (_nl_value_type_LC_TIME[0]))' ???
Aborted (core dumped)
Solution:
Adding export LC_ALL=C
before compiling will solve the problem.
Read More:
- [Solved] Ubuntu Compile Rust Program Error: failed to run custom build command for openssl-sys v0.9.39
- [Solved] Ubuntu20.04 Error: “Failed to install the following Android SDK packages as some licences have not..“error
- How to Solve Ubuntu20.04 Compile Error:error while loading shared libraries: libncurses.so.5
- Ubuntu18.04 Compile A40i SDK Error: misc/create_inode.c:395:18: error: conflicting types for ‘copy_file_range‘
- Ubuntu install and compile OpenCV3.4.0 fatal error: dynlink_nvcuvid.h: No such file or directory #include <dynlink_nv
- Vmware Virtual Machine ubuntu Compile Error: fatal error: Killed signal terminated program cc1plus
- The upgrade of Ubuntu results in an error in the compilation of Android Jack [Two Method to Solve]
- Ubuntu: How to deal with the fatal: the remote end hung up unexpected error of GIT clone Android kernel
- hb set Error: OHOS ERROR] Invalid vendor path: /home/openharmony/vendor (openharmony Compile ubuntu20.04 official document)
- [Solved] Ubuntu Compile AOSP Error: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
- VScode Error: extension failed XHR Failed (Ubuntu Virtual Machine)
- [Solved] secureCRT Failed to Login Ubuntu20.04 Error: Key exchange failed
- [Solved] rk3588_buildroot Compile Error: ERROR: Running build_kernel failed!
- Ubuntu 20.04 Desktop Install sublime-text Error: “Certificate verification failed”
- Windows11 Install Ubuntu Error: WslRegisterDistribution failed with error: 0x800701bc
- How to Solve Ubuntu “Failed to fetch” Error
- [Solved] Ubuntu Eclipse C/C++ Error: launch failed.binary not found
- [Solved] Ubuntu16.4Install vcs2016 Error: mount.vboxsf: mounting failed with the error: Invalid argument
- [Solved] Ubuntu Update source error: Certificate verification failed: The certificate is NOT trusted.
- [Solved] Ubuntu Error: Failed to connect to 127.0.0.1 port xxxxx: Connection refused