Android compile error
<p>I need your help compiling AOSP ICS (Android 4.0.4).
I stucked in an error for compile a .cpp file and a .h file.
That's the error log:</p>

<pre><code>In file included from hardware/qcom/display/libgralloc/framebuffer.cpp:53:
hardware/qcom/display/libqcomui/qcom_ui.h: In member function 'void QCBaseLayer::setS3DComposeFormat(int32_t)':
hardware/qcom/display/libqcomui/qcom_ui.h:174: error: 'HWC_HINT_DRAW_S3D_SIDE_BY_SIDE' was not declared in this scope
hardware/qcom/display/libqcomui/qcom_ui.h:176: error: 'HWC_HINT_DRAW_S3D_TOP_BOTTOM' was not declared in this scope
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int mapFrameBufferLocked(private_module_t*)':
hardware/qcom/display/libgralloc/framebuffer.cpp:870: warning: comparison of unsigned expression &lt; 0 is always false
hardware/qcom/display/libgralloc/framebuffer.cpp:871: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int fb_device_open(const hw_module_t*, const char*, hw_device_t**)':
hardware/qcom/display/libgralloc/framebuffer.cpp:994: error: 'struct framebuffer_device_t' has no member named 'lockBuffer'
hardware/qcom/display/libgralloc/framebuffer.cpp:995: error: 'struct framebuffer_device_t' has no member named 'perform'
hardware/qcom/display/libgralloc/framebuffer.cpp:1011: error: 'struct framebuffer_device_t' has no member named 'numFramebuffers'
make: *** [out/target/product/gio/obj/SHARED_LIBRARIES/gralloc.msm7x27_intermediates/framebuffer.o] Error 1
</code></pre>

<p>So? These are the file codes:
- <strong>framebuffer.cpp</strong>: <a href="http://pastebin.com/jVKchNSE" rel="nofollow">AOSP ICS 4.0.4 - /hardware/display/libgralloc/framebuffer.cpp</a>
- <strong>qcom_ui.h</strong>: <a href="http://pastebin.com/SVhHrQWY" rel="nofollow">AOSP ICS 4.0.4 - /hardware/qcom/display/libqcomui/qcom_ui.h</a></p>
