Android-8.1.0编译问题汇总

external/mesa3d/include/EGL/eglplatform.h:100:10: fatal error: 'android/native_window.h' file not found

#include

Fixed:Android: EGL: fix missing nativewindow.h include on O

external/mesa3d/src/loader/loader.c:263:11: error: implicit declaration of function 'major' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

external/mesa3d/src/loader/loader.c:264:11: error: implicit declaration of function 'minor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

Fixed: Android: major/minor/makedev live in

external/drm_hwcomposer/platformdrmgeneric.cpp:28:10: fatal error: 'gralloc_drm_handle.h' file not found

Fixed: drm_hwcomposer: provide a common gralloc handle definition

external/drm_hwcomposer/drmdisplaycompositor.cpp:690:21: error: use of undeclared identifier 'DRM_MODE_REFLECT_X'; did you mean 'DRM_MODE_CONNECTED'?

external/drm_hwcomposer/drmdisplaycompositor.cpp:694:21: error: use of undeclared identifier 'DRM_MODE_ROTATE_90'

Fixed: [libdrm] headers: sync DRM_MODE_ROTATE/REFLECT defines from kernel v4.14-rc1

ninja: error: 'frameworks/base/compiled-classes-phone', needed by 'out/target/product/layerscape/dex_bootjars/system/framework/arm64/boot.art', missing and no known rule to make it

Fixed:

$ cp frameworks/base/config/compiled-classes-phone frameworks/base/


bootable/recovery/minui/Android.mk: error: libminui (STATIC_LIBRARIES

android-arm64) missing libdrm_platform (STATIC_LIBRARIES android-arm64)

Fixed: Apply the following patch

[PATCH libdrm] android: make libdrm*.so available to the vendor partition

你可能感兴趣的:(Android-8.1.0编译问题汇总)