Android source code compilation errors and Solutions
1,
Make: *** [out/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/slang_rs_export_foreach.o] Error 1
Open the following makefile file in the project root directory:
Source code directory frameworks/compile/slang/Android. mk
In the open makefile file, follow the following changes:
# Local_cflags_for_slang: =-Wno-sign-promo-Wall-Wno-unused-parameter-Werror
Local_cflags_for_slang: =-Wno-sign-promo-Wall-Wno-unused-parameter
The reason is that the warning is treated as an error.
Error help when compiling android source code
In my 2.1 source code, yvup2abgr8888_venum (UINT8 *) inptr0,
(UINT8 *) inptr2,
(UINT8 *) inptr1,
(UINT8 *) outptr,
Cinfo-> output_width );
Your version is like venum. yvup2abgr8888_venum is a function. Android. mk should be faulty. 1) c with the yvup2abgr8888_venum function is not compiled; 2) the referenced library file is missing.
Bmlunlock module Android. mk to see
Ask me why the following error occurs when I compile the android source code:
JNI ?? Let's see if it's incorrect .. Or you have no parameters ..