Hello i have an following Compile Problem with the QCOM Display Driver
Code:
In file included from hardware/qcom/display/liboverlay/overlay.h:33:0,
from hardware/qcom/display/libhwcomposer/hwc_video.cpp:19:
hardware/qcom/display/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(__u32)':
hardware/qcom/display/liboverlay/overlayUtils.h:543:14: error: 'MDP_Y_CRCB_H1V1' was not declared in this scope
hardware/qcom/display/liboverlay/overlayUtils.h:545:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:542:9: error: previously used here
hardware/qcom/display/liboverlay/overlayUtils.h:546:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:541:9: error: previously used here
In file included from hardware/qcom/display/liboverlay/overlayRotator.h:35:0,
from hardware/qcom/display/liboverlay/overlayImpl.h:34,
from hardware/qcom/display/liboverlay/overlayState.h:34,
from hardware/qcom/display/liboverlay/overlay.h:34,
from hardware/qcom/display/libhwcomposer/hwc_video.cpp:19:
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:49:29: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:52:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:55:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:96:38: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:96:57: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:97:38: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:97:57: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:101:36: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getFScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:102:19: error: 'FBIOGET_FSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:110:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:111:19: error: 'FBIOGET_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:119:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::setVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:120:19: error: 'FBIOPUT_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:257:45: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:257:64: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:258:5: error: request for member 'type' in 'finfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:260:45: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:260:64: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:260:13: error: redefinition of 'void overlay::mdp_wrapper::dump(char const*, int const&)'
hardware/qcom/display/liboverlay/mdpWrapper.h:257:13: error: 'void overlay::mdp_wrapper::dump(char const*, int const&)' previously defined here
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'xres' in 'vinfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'yres' in 'vinfo', which is of non-class type 'int const'
In file included from hardware/qcom/display/liboverlay/overlay.h:33:0,
from hardware/qcom/display/libhwcomposer/hwc.cpp:25:
hardware/qcom/display/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(__u32)':
hardware/qcom/display/liboverlay/overlayUtils.h:543:14: error: 'MDP_Y_CRCB_H1V1' was not declared in this scope
hardware/qcom/display/liboverlay/overlayUtils.h:545:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:542:9: error: previously used here
hardware/qcom/display/liboverlay/overlayUtils.h:546:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:541:9: error: previously used here
In file included from hardware/qcom/display/liboverlay/overlayRotator.h:35:0,
from hardware/qcom/display/liboverlay/overlayImpl.h:34,
from hardware/qcom/display/liboverlay/overlayState.h:34,
from hardware/qcom/display/liboverlay/overlay.h:34,
from hardware/qcom/display/libhwcomposer/hwc.cpp:25:
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:49:29: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:52:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:55:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:96:38: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:96:57: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:97:38: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:97:57: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:101:36: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getFScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:102:19: error: 'FBIOGET_FSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:110:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:111:19: error: 'FBIOGET_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:119:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::setVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:120:19: error: 'FBIOPUT_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:257:45: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:257:64: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:258:5: error: request for member 'type' in 'finfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:260:45: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:260:64: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:260:13: error: redefinition of 'void overlay::mdp_wrapper::dump(char const*, int const&)'
hardware/qcom/display/liboverlay/mdpWrapper.h:257:13: error: 'void overlay::mdp_wrapper::dump(char const*, int const&)' previously defined here
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'xres' in 'vinfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'yres' in 'vinfo', which is of non-class type 'int const'
hardware/qcom/display/libhwcomposer/hwc.cpp: In function 'int hwc_eventControl(hwc_composer_device*, int, int)':
hardware/qcom/display/libhwcomposer/hwc.cpp:125:42: error: 'MSMFB_OVERLAY_VSYNC_CTRL' was not declared in this scope
Can updating the QCOM Driver source solve this problem?
jb driver You want to try?
http://d-h.st/nGQ
cm10
Gamephantom said:
Hello i have an following Compile Problem with the QCOM Display Driver
Code:
In file included from hardware/qcom/display/liboverlay/overlay.h:33:0,
from hardware/qcom/display/libhwcomposer/hwc_video.cpp:19:
hardware/qcom/display/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(__u32)':
hardware/qcom/display/liboverlay/overlayUtils.h:543:14: error: 'MDP_Y_CRCB_H1V1' was not declared in this scope
hardware/qcom/display/liboverlay/overlayUtils.h:545:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:542:9: error: previously used here
hardware/qcom/display/liboverlay/overlayUtils.h:546:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:541:9: error: previously used here
In file included from hardware/qcom/display/liboverlay/overlayRotator.h:35:0,
from hardware/qcom/display/liboverlay/overlayImpl.h:34,
from hardware/qcom/display/liboverlay/overlayState.h:34,
from hardware/qcom/display/liboverlay/overlay.h:34,
from hardware/qcom/display/libhwcomposer/hwc_video.cpp:19:
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:49:29: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:52:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:55:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:96:38: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:96:57: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:97:38: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:97:57: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:101:36: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getFScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:102:19: error: 'FBIOGET_FSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:110:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:111:19: error: 'FBIOGET_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:119:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::setVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:120:19: error: 'FBIOPUT_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:257:45: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:257:64: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:258:5: error: request for member 'type' in 'finfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:260:45: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:260:64: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:260:13: error: redefinition of 'void overlay::mdp_wrapper::dump(char const*, int const&)'
hardware/qcom/display/liboverlay/mdpWrapper.h:257:13: error: 'void overlay::mdp_wrapper::dump(char const*, int const&)' previously defined here
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'xres' in 'vinfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'yres' in 'vinfo', which is of non-class type 'int const'
In file included from hardware/qcom/display/liboverlay/overlay.h:33:0,
from hardware/qcom/display/libhwcomposer/hwc.cpp:25:
hardware/qcom/display/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(__u32)':
hardware/qcom/display/liboverlay/overlayUtils.h:543:14: error: 'MDP_Y_CRCB_H1V1' was not declared in this scope
hardware/qcom/display/liboverlay/overlayUtils.h:545:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:542:9: error: previously used here
hardware/qcom/display/liboverlay/overlayUtils.h:546:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:541:9: error: previously used here
In file included from hardware/qcom/display/liboverlay/overlayRotator.h:35:0,
from hardware/qcom/display/liboverlay/overlayImpl.h:34,
from hardware/qcom/display/liboverlay/overlayState.h:34,
from hardware/qcom/display/liboverlay/overlay.h:34,
from hardware/qcom/display/libhwcomposer/hwc.cpp:25:
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:49:29: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:52:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:55:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:96:38: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:96:57: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:97:38: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:97:57: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:101:36: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getFScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:102:19: error: 'FBIOGET_FSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:110:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:111:19: error: 'FBIOGET_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:119:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::setVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:120:19: error: 'FBIOPUT_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:257:45: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:257:64: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:258:5: error: request for member 'type' in 'finfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:260:45: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:260:64: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:260:13: error: redefinition of 'void overlay::mdp_wrapper::dump(char const*, int const&)'
hardware/qcom/display/liboverlay/mdpWrapper.h:257:13: error: 'void overlay::mdp_wrapper::dump(char const*, int const&)' previously defined here
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'xres' in 'vinfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'yres' in 'vinfo', which is of non-class type 'int const'
hardware/qcom/display/libhwcomposer/hwc.cpp: In function 'int hwc_eventControl(hwc_composer_device*, int, int)':
hardware/qcom/display/libhwcomposer/hwc.cpp:125:42: error: 'MSMFB_OVERLAY_VSYNC_CTRL' was not declared in this scope
Can updating the QCOM Driver source solve this problem?
Click to expand...
Click to collapse
Did you made this rom.
If you have it please post it here
Related
Code:
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int getPmemTotalSize(int, size_t*)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:50: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:50: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int connectPmem(int, int)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:66: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:66: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int mapSubRegion(int, int, size_t)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:71: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:71: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int unmapSubRegion(int, int, size_t)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:76: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:76: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int alignPmem(int, size_t, int)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:80: error: aggregate 'pmem_allocation allocation' has incomplete type and cannot be defined
hardware/qcom/display/libgralloc/pmemalloc.cpp:83: error: 'PMEM_ALLOCATE_ALIGNED' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int cleanPmem(void*, size_t, int, int)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:87: error: aggregate 'pmem_addr pmem_addr' has incomplete type and cannot be defined
hardware/qcom/display/libgralloc/pmemalloc.cpp:91: error: 'PMEM_CLEAN_INV_CACHES' was not declared in this scope
make: *** [out/target/product/galaxy5/obj/SHARED_LIBRARIES/libmemalloc_intermediates/pmemalloc.o] Error 1
make: *** Waiting for unfinished jobs....
Was trying to build CM9... kinda was successful in more than half of the compile process untill i got the above error...
I tried everything i tried migrating changes etc. etc.. nothing helped...
u guys can only help
Hey..i don't know how fix your problem but i trying compile the rom but I do not succeed! Can you help me?
I managed to start compiling but I have your same error
worked..
thanx
Build error
chaitanyakaul said:
worked..
thanx
Click to expand...
Click to collapse
How did you fix this
I'm trying to compile ICS Android Open Kang Project for an ARMv6 device,
But when all is almost ended I get a copybit.cpp error.
Firstly, this is my copybit.cpp:
http://pastebin.com/jhpBdSbC
And these are the errors I'm getting:
Code:
target thumb C++: copybit.galaxy5 <= device/samsung/galaxy5/libcopybit/copybit.cpp
device/samsung/galaxy5/libcopybit/copybit.cpp:87: warning: missing initializer for member 'hw_module_t::dso'
device/samsung/galaxy5/libcopybit/copybit.cpp:87: warning: missing initializer for member 'hw_module_t::reserved'
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int msm_copybit(copybit_context_t*, const void*)':
device/samsung/galaxy5/libcopybit/copybit.cpp:208: warning: comparison between signed and unsigned integer expressions
device/samsung/galaxy5/libcopybit/copybit.cpp:209: warning: format '%08lx' expects type 'long unsigned int', but argument 19 has type 'unsigned int'
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int stretch_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_rect_t*, const copybit_rect_t*, const copybit_region_t*)':
device/samsung/galaxy5/libcopybit/copybit.cpp:360: warning: comparison between signed and unsigned integer expressions
device/samsung/galaxy5/libcopybit/copybit.cpp:361: warning: comparison between signed and unsigned integer expressions
device/samsung/galaxy5/libcopybit/copybit.cpp:382: error: 'PRIV_FLAGS_DO_NOT_FLUSH' is not a member of 'private_handle_t'
device/samsung/galaxy5/libcopybit/copybit.cpp:383: error: 'MDP_BLIT_NON_CACHED' was not declared in this scope
device/samsung/galaxy5/libcopybit/copybit.cpp: At global scope:
device/samsung/galaxy5/libcopybit/copybit.cpp:539: error: redefinition of 'struct copybit_context_t'
device/samsung/galaxy5/libcopybit/copybit.cpp:56: error: previous definition of 'struct copybit_context_t'
device/samsung/galaxy5/libcopybit/copybit.cpp:553: error: redefinition of 'hw_module_methods_t copybit_module_methods'
device/samsung/galaxy5/libcopybit/copybit.cpp:70: error: 'hw_module_methods_t copybit_module_methods' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp:560: error: redefinition of 'copybit_module_t HMI'
device/samsung/galaxy5/libcopybit/copybit.cpp:77: error: 'copybit_module_t HMI' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int min(int, int)':
device/samsung/galaxy5/libcopybit/copybit.cpp:575: error: redefinition of 'int min(int, int)'
device/samsung/galaxy5/libcopybit/copybit.cpp:92: error: 'int min(int, int)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int max(int, int)':
device/samsung/galaxy5/libcopybit/copybit.cpp:580: error: redefinition of 'int max(int, int)'
device/samsung/galaxy5/libcopybit/copybit.cpp:97: error: 'int max(int, int)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'void MULDIV(uint32_t*, uint32_t*, int, int)':
device/samsung/galaxy5/libcopybit/copybit.cpp:585: error: redefinition of 'void MULDIV(uint32_t*, uint32_t*, int, int)'
device/samsung/galaxy5/libcopybit/copybit.cpp:102: error: 'void MULDIV(uint32_t*, uint32_t*, int, int)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'void intersect(copybit_rect_t*, const copybit_rect_t*, const copybit_rect_t*)':
device/samsung/galaxy5/libcopybit/copybit.cpp:593: error: redefinition of 'void intersect(copybit_rect_t*, const copybit_rect_t*, const copybit_rect_t*)'
device/samsung/galaxy5/libcopybit/copybit.cpp:110: error: 'void intersect(copybit_rect_t*, const copybit_rect_t*, const copybit_rect_t*)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int get_format(int)':
device/samsung/galaxy5/libcopybit/copybit.cpp:603: error: redefinition of 'int get_format(int)'
device/samsung/galaxy5/libcopybit/copybit.cpp:120: error: 'int get_format(int)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'void set_image(mdp_img*, const copybit_image_t*)':
device/samsung/galaxy5/libcopybit/copybit.cpp:617: error: redefinition of 'void set_image(mdp_img*, const copybit_image_t*)'
device/samsung/galaxy5/libcopybit/copybit.cpp:134: error: 'void set_image(mdp_img*, const copybit_image_t*)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'void set_rects(copybit_context_t*, mdp_blit_req*, const copybit_rect_t*, const copybit_rect_t*, const copybit_rect_t*)':
device/samsung/galaxy5/libcopybit/copybit.cpp:631: error: redefinition of 'void set_rects(copybit_context_t*, mdp_blit_req*, const copybit_rect_t*, const copybit_rect_t*, const copybit_rect_t*)'
device/samsung/galaxy5/libcopybit/copybit.cpp:148: error: 'void set_rects(copybit_context_t*, mdp_blit_req*, const copybit_rect_t*, const copybit_rect_t*, const copybit_rect_t*)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'void set_infos(copybit_context_t*, mdp_blit_req*, int)':
device/samsung/galaxy5/libcopybit/copybit.cpp:671: error: redefinition of 'void set_infos(copybit_context_t*, mdp_blit_req*, int)'
device/samsung/galaxy5/libcopybit/copybit.cpp:188: error: 'void set_infos(copybit_context_t*, mdp_blit_req*, int)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int msm_copybit(copybit_context_t*, const void*)':
device/samsung/galaxy5/libcopybit/copybit.cpp:681: error: redefinition of 'int msm_copybit(copybit_context_t*, const void*)'
device/samsung/galaxy5/libcopybit/copybit.cpp:198: error: 'int msm_copybit(copybit_context_t*, const void*)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp:691: warning: comparison between signed and unsigned integer expressions
device/samsung/galaxy5/libcopybit/copybit.cpp:692: warning: format '%08lx' expects type 'long unsigned int', but argument 19 has type 'unsigned int'
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int set_parameter_copybit(copybit_device_t*, int, int)':
device/samsung/galaxy5/libcopybit/copybit.cpp:722: error: redefinition of 'int set_parameter_copybit(copybit_device_t*, int, int)'
device/samsung/galaxy5/libcopybit/copybit.cpp:239: error: 'int set_parameter_copybit(copybit_device_t*, int, int)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int get(copybit_device_t*, int)':
device/samsung/galaxy5/libcopybit/copybit.cpp:788: error: redefinition of 'int get(copybit_device_t*, int)'
device/samsung/galaxy5/libcopybit/copybit.cpp:305: error: 'int get(copybit_device_t*, int)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int stretch_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_rect_t*, const copybit_rect_t*, const copybit_region_t*)':
device/samsung/galaxy5/libcopybit/copybit.cpp:816: error: redefinition of 'int stretch_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_rect_t*, const copybit_rect_t*, const copybit_region_t*)'
device/samsung/galaxy5/libcopybit/copybit.cpp:333: error: 'int stretch_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_rect_t*, const copybit_rect_t*, const copybit_region_t*)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp:843: warning: comparison between signed and unsigned integer expressions
device/samsung/galaxy5/libcopybit/copybit.cpp:844: warning: comparison between signed and unsigned integer expressions
device/samsung/galaxy5/libcopybit/copybit.cpp:865: error: 'PRIV_FLAGS_DO_NOT_FLUSH' is not a member of 'private_handle_t'
device/samsung/galaxy5/libcopybit/copybit.cpp:866: error: 'MDP_BLIT_NON_CACHED' was not declared in this scope
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int blit_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_region_t*)':
device/samsung/galaxy5/libcopybit/copybit.cpp:894: error: redefinition of 'int blit_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_region_t*)'
device/samsung/galaxy5/libcopybit/copybit.cpp:411: error: 'int blit_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_region_t*)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int close_copybit(hw_device_t*)':
device/samsung/galaxy5/libcopybit/copybit.cpp:908: error: redefinition of 'int close_copybit(hw_device_t*)'
device/samsung/galaxy5/libcopybit/copybit.cpp:425: error: 'int close_copybit(hw_device_t*)' previously defined here
device/samsung/galaxy5/libcopybit/copybit.cpp: In function 'int open_copybit(const hw_module_t*, const char*, hw_device_t**)':
device/samsung/galaxy5/libcopybit/copybit.cpp:919: error: redefinition of 'int open_copybit(const hw_module_t*, const char*, hw_device_t**)'
device/samsung/galaxy5/libcopybit/copybit.cpp:436: error: 'int open_copybit(const hw_module_t*, const char*, hw_device_t**)' previously defined here
make: *** [out/target/product/galaxy5/obj/SHARED_LIBRARIES/copybit.galaxy5_intermediates/copybit.o] Error 1
Any tip is appreciated, thanks.
HI, I'm trying to compile CM9, but I always get this error:
Code:
target thumb C: libmm-omxcore <= vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.c
target thumb C: libmm-omxcore <= vendor/qcom/opensource/omx/mm-core/omxcore/src/7627/qc_registry_table.c
In file included from vendor/qcom/opensource/omx/mm-core/omxcore/inc/qc_omx_common.h:43,
from vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.h:39,
from vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.c:48:
vendor/qcom/opensource/omx/mm-core/omxcore/inc/OMX_QCOMExtns.h:846: warning: useless storage class specifier in empty declaration
vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.c: In function 'OMX_FreeHandle':
vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.c:511: warning: comparison between signed and unsigned integer expressions
In file included from vendor/qcom/opensource/omx/mm-core/omxcore/inc/qc_omx_common.h:43,
from vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.h:39,
from vendor/qcom/opensource/omx/mm-core/omxcore/src/7627/qc_registry_table.c:36:
vendor/qcom/opensource/omx/mm-core/omxcore/inc/OMX_QCOMExtns.h:846: warning: useless storage class specifier in empty declaration
target thumb C++: liboverlay <= hardware/qcom/display/liboverlay/overlayLib.cpp
target thumb C++: liboverlay <= hardware/qcom/display/liboverlay/overlayLibUI.cpp
target thumb C: libpagemap <= system/extras/libpagemap/pm_kernel.c
hardware/qcom/display/liboverlay/overlayLib.cpp:129:1: warning: "LOG_TAG" redefined
In file included from hardware/qcom/display/liboverlay/overlayLib.h:21,
from hardware/qcom/display/liboverlay/overlayLib.cpp:18:
system/core/include/cutils/log.h:68:1: warning: this is the location of the previous definition
hardware/qcom/display/liboverlay/overlayLibUI.cpp:20:1: warning: "LOG_TAG" redefined
In file included from hardware/qcom/display/liboverlay/overlayLib.h:21,
from hardware/qcom/display/liboverlay/overlayLibUI.h:23,
from hardware/qcom/display/liboverlay/overlayLibUI.cpp:18:
system/core/include/cutils/log.h:68:1: warning: this is the location of the previous definition
In file included from hardware/qcom/display/liboverlay/overlayLibUI.h:23,
from hardware/qcom/display/liboverlay/overlayLibUI.cpp:18:
hardware/qcom/display/liboverlay/overlayLib.h: In constructor 'overlay::FrameBufferInfo::FrameBufferInfo()':
hardware/qcom/display/liboverlay/overlayLib.h:182: error: 'MDP_BORDERFILL_SUPPORTED' was not declared in this scope
In file included from hardware/qcom/display/liboverlay/overlayLib.cpp:18:
hardware/qcom/display/liboverlay/overlayLib.h: In constructor 'overlay::FrameBufferInfo::FrameBufferInfo()':
hardware/qcom/display/liboverlay/overlayLib.h:182: error: 'MDP_BORDERFILL_SUPPORTED' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLibUI.h: In constructor 'overlay::OverlayUI::OverlayUI()':
hardware/qcom/display/liboverlay/overlayLibUI.h:101: warning: 'overlay::OverlayUI::mFBNum' will be initialized after
hardware/qcom/display/liboverlay/overlayLibUI.h:99: warning: 'int overlay::OverlayUI::mZorder'
hardware/qcom/display/liboverlay/overlayLibUI.cpp:217: warning: when initialized here
hardware/qcom/display/liboverlay/overlayLibUI.cpp: In member function 'void overlay::OverlayUI::setDisplayParams(int, bool, bool, int, bool)':
hardware/qcom/display/liboverlay/overlayLibUI.cpp:269: error: 'MDP_BACKEND_COMPOSITION' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp: In function 'int overlay::initOverlay()':
hardware/qcom/display/liboverlay/overlayLib.cpp:377: error: 'msmfb_mixer_info_req' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:377: error: expected ';' before 'req'
hardware/qcom/display/liboverlay/overlayLib.cpp:378: error: 'mdp_mixer_info' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:378: error: 'minfo' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:390: error: 'req' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:391: error: 'MSMFB_MIXER_INFO' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLibUI.cpp: In member function 'overlay::status_t overlay::OverlayUI::closeOVSession()':
hardware/qcom/display/liboverlay/overlayLibUI.cpp:430: warning: suggest parentheses around assignment used as truth value
make: *** [out/target/product/tass/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayLibUI.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/display/liboverlay/overlayLib.cpp: In member function 'void overlay::OverlayControlChannel::setInformationFromFlags(int, mdp_overlay&)':
hardware/qcom/display/liboverlay/overlayLib.cpp:1296: error: 'MDP_SECURE_OVERLAY_SESSION' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:1298: error: 'MDP_SECURE_OVERLAY_SESSION' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:1301: error: 'MDP_SHARPENING' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp: In member function 'bool overlay::OverlayControlChannel::closeControlChannel()':
hardware/qcom/display/liboverlay/overlayLib.cpp:1497: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp: In member function 'bool overlay::OverlayControlChannel::setPosition(int, int, uint32_t, uint32_t)':
hardware/qcom/display/liboverlay/overlayLib.cpp:1532: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp:1533: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp:1539: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp:1539: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp: In member function 'bool overlay::OverlayControlChannel::setTransform(int, bool)':
hardware/qcom/display/liboverlay/overlayLib.cpp:1611: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp: In member function 'bool overlay::OverlayControlChannel::setVisualParam(int8_t, float)':
hardware/qcom/display/liboverlay/overlayLib.cpp:2250: error: 'MDP_BLOCK_MAX' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:2256: error: 'MDP_BLOCK_VG_1' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:2260: error: 'MDP_BLOCK_VG_2' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:2284: error: 'MDP_SHARPENING' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:2292: error: 'MDP_SHARPENING' was not declared in this scope
make: *** [out/target/product/tass/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayLib.o] Error 1
What could be wrong?
Hey guys, I'm getting this error while building jb roms from source (tried with cm10 and slimbean):
Code:
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioPolicyService.cpp
frameworks/av/services/audioflinger/AudioPolicyService.cpp: In member function 'virtual audio_io_handle_t android::AudioPolicyService::getInput(audio_source _t, uint32_t, audio_format_t, uint32_t, audio_in_acoustics_t, int)':
frameworks/av/services/audioflinger/AudioPolicyService.cpp:287:83: error: too few arguments to function
frameworks/av/services/audioflinger/AudioPolicyService.cpp: At global scope:
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1631:5: error: invalid conversion from 'audio_io_handle_t (*)(void*, audio_devices_t*, uint32_t*, audio_format_t*, audio_channel_mask_t*, audio_in_acoustics_t) {aka int (*)(void*, audio_devices_t*, unsigned int*, audio_format_t*, unsigned int*, audio_in_acoustics_t)}' to 'audio_io_handle_t (*)(void*, audio_devices_t*, uint32_t*, audio_format_t*, audio_channel_mask_t*, audio_in_acoustics_t, audio_input_clients*) {aka int (*)(void*, audio_devices_t*, unsigned int*, audio_format_t*, unsigned int*, audio_in_acoustics_t, audio_input_clients*)}' [-fpermissive]
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1631:5: error: invalid conversion from 'int (*)(void*, audio_io_handle_t) {aka int (*)(void*, int)}' to 'int (*)(void*, audio_io_handle_t, audio_input_clients*) {aka int (*)(void*, int, audio_input_clients*)}' [-fpermissive]
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1631:5: error: invalid conversion from 'audio_io_handle_t (*)(void*, audio_module_handle_t, audio_devices_t*, uint32_t*, audio_format_t*, audio_channel_mask_t*) {aka int (*)(void*, int, audio_devices_t*, unsigned int*, audio_format_t*, unsigned int*)}' to 'audio_io_handle_t (*)(void*, audio_module_handle_t, audio_devices_t*, uint32_t*, audio_format_t*, audio_channel_mask_t*, audio_input_clients*) {aka int (*)(void*, int, audio_devices_t*, unsigned int*, audio_format_t*, unsigned int*, audio_input_clients*)}' [-fpermissive]
make: *** [out/target/product/kumquat/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioPolicyService.o] Error 1
Do you know how can I fix it?
I'm using ubuntu 13.04 with kernel 3.9.3, it might be what causes the issue?
Tried to downgrade to ubuntu 12.04 but I have the same error...
Edit: forgot "make clean", doing a new build now
Edit2: no way, still the same error
@DevSwift1 since you already built aosp 4.1.2, have you had the same issue?
elia222 said:
Tried to downgrade to ubuntu 12.04 but I have the same error...
Edit: forgot "make clean", doing a new build now
Edit2: no way, still the same error
@DevSwift1 since you already built aosp 4.1.2, have you had the same issue?
Click to expand...
Click to collapse
Yes i had same issue when i take audio commits from FXP. Something is wrong.
DevSwift1 said:
Yes i had same issue when i take audio commits from FXP. Something is wrong.
Click to expand...
Click to collapse
Thanks, I'll report in cm10 thread, so that fxp can fix it.
@DevSwift1 As fxp said, do you know how to add one more parameter to audio?
I've tried few things but my C/C++ knowledge is quite poor and I still get the same error.
Any one ? not able to fix this .
Code:
libstagefright_timedtext <= frameworks/av/media/libstagefright/timedtext/TimedTextSource.cpp
In file included from frameworks/av/include/media/IAudioFlinger.h:37:0,
from frameworks/av/include/media/AudioSystem.h:22,
from frameworks/av/include/media/MediaPlayerInterface.h:29,
from frameworks/av/media/libstagefright/timedtext/TimedTextDriver.cpp:24:
hardware/libhardware/include/hardware/audio_policy.h:188:36: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:346:37: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:350:25: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:458:37: error: 'audio_input_clients' has not been declared
In file included from frameworks/av/include/media/AudioSystem.h:22:0,
from frameworks/av/include/media/MediaPlayerInterface.h:29,
from frameworks/av/media/libstagefright/timedtext/TimedTextDriver.cpp:24:
frameworks/av/include/media/IAudioFlinger.h:173:41: error: 'audio_input_clients' has not been declared
frameworks/av/include/media/IAudioFlinger.h:175:33: error: 'audio_input_clients' has not been declared
frameworks/av/include/media/IAudioFlinger.h:220:29: error: 'audio_input_clients' has not been declared
In file included from frameworks/av/include/media/MediaPlayerInterface.h:29:0,
from frameworks/av/media/libstagefright/timedtext/TimedTextDriver.cpp:24:
frameworks/av/include/media/AudioSystem.h:225:37: error: 'audio_input_clients' has not been declared
make: *** [/home/percy/PAC/out/target/product/nypon/obj/STATIC_LIBRARIES/libstagefright_timedtext_intermediates/TimedTextDriver.o] Error 1
make: *** Waiting for unfinished jobs....
I was building the Email app with make Email -j16, and I got a bunch of errors:
out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp:1255:0: error: unterminated #ifdef
logtags: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/content/EventLogTags.java <= frameworks/base/core/java/android/content/EventLogTags.logtags
out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp: In function 'int yyparse()':
out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp:1253:41: error: expected '}' at end of input
out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp:1253:41: error: expected '}' at end of input
out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp:1253:41: warning: no return statement in function returning non-void [-Wreturn-type]
make: *** [out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.o] Error 1
make: *** Waiting for unfinished jobs....
frameworks/base/tools/aidl/aidl_language_l.l: In function 'int yylex()':
frameworks/base/tools/aidl/aidl_language_l.l:59:49: error: 'IMPORT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:60:56: error: 'IMPORT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:64:49: error: 'PACKAGE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:65:56: error: 'PACKAGE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:84:3: error: 'PARCELABLE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:84:34: error: 'PARCELABLE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:85:3: error: 'INTERFACE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:85:33: error: 'INTERFACE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:86:3: error: 'FLATTENABLE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:86:35: error: 'FLATTENABLE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:87:3: error: 'INTERFACE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:87:33: error: 'RPC' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:88:3: error: 'IN' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:88:26: error: 'IN' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:89:3: error: 'OUT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:89:27: error: 'OUT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:90:3: error: 'INOUT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:90:29: error: 'INOUT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:91:3: error: 'ONEWAY' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:91:30: error: 'ONEWAY' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:93:3: error: 'ARRAY' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:93:29: error: 'ARRAY' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:94:3: error: 'IDVALUE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:94:31: error: 'IDVALUE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:95:3: error: 'IDENTIFIER' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:95:34: error: 'IDENTIFIER' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:97:55: error: 'GENERIC' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:97:83: error: 'GENERIC' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:102:41: error: 'IDENTIFIER' was not declared in this scope
make: *** [out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_l.o] Error 1
I don't understand these errors. How can I fix them? I found this thread (https://groups.google.com/forum/#!msg/android-building/wYYJa-9qwNc/gSnV4C9QFekJ) but it didn't seem to fix anything.