[Android Q&A, Help & Troubleshooting] mut3d:
ok this is one i cant work out please help. when building i run into this error.

[CODEframeworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:73:37: error: 'hwc_composer_device_1_t' does not name a type

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:73:62: error: ISO C++ forbids declaration of 'hwc' with no type [-fpermissive]

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp: In function 'uint32_t android::hwcApiVersion(const int*)':

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:74:32: error: request for member 'common' in '* hwc', which is of non-class type 'const int'

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp: At global scope:

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:83:40: error: 'hwc_composer_device_1_t' does not name a type

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:83:65: error: ISO C++ forbids declaration of 'hwc' with no type [-fpermissive]

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp: In function 'uint32_t android::hwcHeaderVersion(const int*)':

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:84:32: error: request for member 'common' in '* hwc', which is of non-class type 'const int'

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp: At global scope:

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:93:36: error: 'hwc_composer_device_1_t' does not name a type

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:93:61: error: ISO C++ forbids declaration of 'hwc' with no type [-fpermissive]

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:98:36: error: 'hwc_composer_device_1_t' does not name a type

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:98:61: error: ISO C++ forbids declaration of 'hwc' with no type [-fpermissive]

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:102:40: error: 'hwc_composer_device_1_t' does not name a type

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:102:65: error: ISO C++ forbids declaration of 'hwc' with no type [-fpermissive]

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp: In function 'size_t android::sizeofHwcLayerList(const int*, size_t)':

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:105:23: error: 'hwc_display_contents_1_t' was not declared in this scope

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:105:68: error: 'hwc_layer_1_t' was not declared in this scope

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp: At global scope:

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:111:28: error: 'hwc_composer_device_1_t' was not declared in this scope

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:111:53: error: 'hwc' was not declared in this scope

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:111:58: error: expected primary-expression before 'int'

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:112:9: error: expected primary-expression before 'int'

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:112:20: error: expected primary-expression before 'int'

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:112:31: error: expression list treated as compound expression in initializer [-fpermissive]

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:112:33: error: expected ',' or ';' before '{' token

frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:1324:2: error: expected '}' at end of input

make: *** [/home/muted/ubuntutouch/out/target/product/p920/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/HWComposer.o] Error 1

[/CODE]