ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #02797
Re: Build error
Maybe it's referring to the wrong linux/msm_mdp.h.
If ther're the only errors, you can try to put
#define MDP_DISPLAY_COMMIT_OVERLAY 0x00000001
into both cpp files.
------------------ ???????? ------------------
??????: "Andr??s Mameny??k"<mamenyaka@xxxxxxxxx>;
????????: 2013??7??11??(??????) ????9:22
??????: "ubuntu-phone"<ubuntu-phone@xxxxxxxxxxxxxxxxxxx>;
????: [Ubuntu-phone] Build error
Hi all!
I have a build error with qcom/display-caf:
hardware/qcom/display-caf/libgralloc/framebuffer.cpp: In function 'int fb_post(framebuffer_device_t*, buffer_handle_t)':
hardware/qcom/display-caf/libgralloc/framebuffer.cpp:93:25: error: 'MDP_DISPLAY_COMMIT_OVERLAY' was not declared in this scope
hardware/qcom/display-caf/libexternal/external.cpp: In member function 'bool qhwc::ExternalDisplay::post()':
hardware/qcom/display-caf/libexternal/external.cpp:693:24: error: 'MDP_DISPLAY_COMMIT_OVERLAY' was not declared in this scope
They both have
#include <linux/msm_mdp.h>
which has
#define MDP_DISPLAY_COMMIT_OVERLAY 0x00000001
If I pull the latest cm-10.1, the image builds fine, but still, why is this error? If anyone could please explain and tell me how to fix it?
Follow ups