[Zenfone 5 Q&A, Help & Troubleshooting] V_v3k:
Next set of errors:

hardware/intel/img/psb_video/src/android/psb_gralloc.cpp:38:25: fatal error: ufo/gralloc.h: No such file or directory

#include <ufo/gralloc.h>

^

compilation terminated.

make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_gralloc.o] Error 1

make: *** Waiting for unfinished jobs....

In file included from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:45:0:

hardware/intel/img/psb_video/src/android/psb_mds.h:51:8: error: 'IMDService' was not declared in this scope

sp<IMDService> mMds;

^

hardware/intel/img/psb_video/src/android/psb_mds.h:51:18: error: template argument 1 is invalid

sp<IMDService> mMds;

^

hardware/intel/img/psb_video/src/android/psb_mds.h:52:8: error: 'IMultiDisplayInfoProvider' was not declared in this scope

sp<IMultiDisplayInfoProvider> mListener;

^

hardware/intel/img/psb_video/src/android/psb_mds.h:52:33: error: template argument 1 is invalid

sp<IMultiDisplayInfoProvider> mListener;

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp: In function 'int psb_android_get_mds_vpp_state(void*)':

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: error: 'IMDService' was not declared in this scope

sp<IMDService> imds = interface_cast<IMDService>(

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:22: error: template argument 1 is invalid

sp<IMDService> imds = interface_cast<IMDService>(

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:29: error: invalid type in declaration before '=' token

sp<IMDService> imds = interface_cast<IMDService>(

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:46: error: the value of 'IMDService' is not usable in a constant expression

sp<IMDService> imds = interface_cast<IMDService>(

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: note: 'IMDService' was not declared 'constexpr'

sp<IMDService> imds = interface_cast<IMDService>(

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: error: no matching function for call to 'interface_cast(android::sp<android::IBinder>)'

sm->getService(String16(INTEL_MDS_SERVICE_NAME)));

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: note: candidate is:

In file included from frameworks/native/include/binder/IServiceManager.h:21:0,

from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:33:

frameworks/native/include/binder/IInterface.h:42:22: note: template<class INTERFACE> android::sp<T> android::interface_cast(const android::sp<android::IBinder>&)

inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj)

^

frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed:

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope

sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid

sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token

sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer

sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();

^

hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer

ret = mds->getVppState();

^

make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1

#### make failed to build some targets (03:04 (mm:ss)) ####