[Moto G Android Development] TeamMex:
Hey mate I try to make omniROM but I have some problems.

In file included from hardware/qcom/display-caf-bfam/liboverlay/overlayUtils.cpp:37:0:
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:69:36: error: 'mdp_overlay_list' has not been declared
In file included from hardware/qcom/display-caf-bfam/liboverlay/overlayUtils.cpp:37:0:
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:175:43: error: 'mdp_overlay_list' has not been declared
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::validateAndSet(const int&, int&)':
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:176:19: error: 'MSMFB_OVERLAY_PREPARE' was not declared in this scope
make: *** [/home/klozz/android/out/target/product/falcon/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayUtils.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.h:24:0,
from hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.cpp:21:
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:69:36: error: 'mdp_overlay_list' has not been declared
In file included from hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.h:24:0,
from hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.cpp:21:
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:175:43: error: 'mdp_overlay_list' has not been declared
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::validateAndSet(const int&, int&)':
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:176:19: error: 'MSMFB_OVERLAY_PREPARE' was not declared in this scope
hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.cpp: In member function 'void overlay::MdpCtrl::doDownscale()':
hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.cpp:164:25: warning: conversion to 'float' from 'int' may alter its value [-Wconversion]
hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.cpp:167:53: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.cpp:170:53: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.cpp: In static member function 'static bool overlay::MdpCtrl::validateAndSet(overlay::MdpCtrl**, const int&, const int&)':
hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.cpp:369:29: error: aggregate 'overlay::MdpCtrl::validateAndSet(overlay::MdpCtrl**, const int&, const int&)::mdp_overlay_list list' has incomplete type and cannot be defined
hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.cpp:370:52: error: invalid application of 'sizeof' to incomplete type 'overlay::MdpCtrl::validateAndSet(overlay::MdpCtrl**, const int&, const int&)::mdp_overlay_list'
make: *** [/home/klozz/android/out/target/product/falcon/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayMdp.o] Error 1
In file included from hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.h:24:0,
from hardware/qcom/display-caf-bfam/liboverlay/overlayCtrlData.h:34,
from hardware/qcom/display-caf-bfam/liboverlay/pipes/overlayGenPipe.h:34,
from hardware/qcom/display-caf-bfam/liboverlay/overlay.cpp:32:
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:69:36: error: 'mdp_overlay_list' has not been declared
In file included from hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.h:24:0,
from hardware/qcom/display-caf-bfam/liboverlay/overlayCtrlData.h:34,
from hardware/qcom/display-caf-bfam/liboverlay/pipes/overlayGenPipe.h:34,
from hardware/qcom/display-caf-bfam/liboverlay/overlay.cpp:32:
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:175:43: error: 'mdp_overlay_list' has not been declared
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::validateAndSet(const int&, int&)':
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:176:19: error: 'MSMFB_OVERLAY_PREPARE' was not declared in this scope
make: *** [/home/klozz/android/out/target/product/falcon/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlay.o] Error 1

Maybe I can help you ;) if you help me :)