AnsweredAssumed Answered

android4.4.2编译过程会出现sepolicy错误报告,Invalid policyvers specified: 26,how to resolve it?

Question asked by 威 王 on Sep 16, 2014
Latest reply on Jul 2, 2015 by 威 王

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:337:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:337:23: warning: "__GLIBC__" is not defined [-Wundef]

host StaticLib: libsepol (out/host/linux-x86/obj/STATIC_LIBRARIES/libsepol_intermediates/libsepol.a)

Export includes file: external/checkpolicy/Android.mk -- out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/export_includes

host Executable: checkpolicy (out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/checkpolicy)

Install: out/host/linux-x86/bin/checkpolicy

Invalid policyvers specified: 26

usage:  out/host/linux-x86/bin/checkpolicy [-b] [-d] [-U handle_unknown (allow,deny,reject)] [-M][-c policyvers (15-29)] [-o output_file] [-t target_platform (selinux,xen)][input_file]

make: *** [out/target/product/sabresd_6dq/obj/ETC/sepolicy_intermediates/sepolicy] Error 1

Outcomes