[Galaxy S 4 General] Mnt-XDA:
Hello Sachin

Again error with irda.c, please check once

==============================

target thumb C: irda.universal5410 <= device/samsung/i9500/irda/irda.c

target thumb C++: nfc_nci.universal5410 <= external/libnfc-nci/halimpl/bcm2079x/adaptation/HalAdaptation.cpp

device/samsung/i9500/irda/irda.c:41:16: warning: 'struct hw_device_t' declared inside parameter list [enabled by default]

device/samsung/i9500/irda/irda.c:41:16: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

device/samsung/i9500/irda/irda.c:41:16: warning: 'struct hw_module_t' declared inside parameter list [enabled by default]

device/samsung/i9500/irda/irda.c: In function 'open_irda':

device/samsung/i9500/irda/irda.c:43:47: error: invalid application of 'sizeof' to incomplete type 'struct irda_device_t'

device/samsung/i9500/irda/irda.c:44:27: error: dereferencing pointer to incomplete type

device/samsung/i9500/irda/irda.c:46:8: error: dereferencing pointer to incomplete type

device/samsung/i9500/irda/irda.c:46:23: error: 'HARDWARE_DEVICE_TAG' undeclared (first use in this function)

device/samsung/i9500/irda/irda.c:46:23: note: each undeclared identifier is reported only once for each function it appears in

device/samsung/i9500/irda/irda.c:47:8: error: dereferencing pointer to incomplete type

device/samsung/i9500/irda/irda.c:48:8: error: dereferencing pointer to incomplete type

device/samsung/i9500/irda/irda.c:49:8: error: dereferencing pointer to incomplete type

device/samsung/i9500/irda/irda.c: At top level:

device/samsung/i9500/irda/irda.c:58:15: error: variable 'irda_module_methods' has initializer but incomplete type

device/samsung/i9500/irda/irda.c:59:5: error: unknown field 'open' specified in initializer

device/samsung/i9500/irda/irda.c:60:1: warning: excess elements in struct initializer [enabled by default]

device/samsung/i9500/irda/irda.c:60:1: warning: (near initialization for 'irda_module_methods') [enabled by default]

device/samsung/i9500/irda/irda.c:62:8: error: variable 'HAL_MODULE_INFO_SYM' has initializer but incomplete type

device/samsung/i9500/irda/irda.c:63:5: error: unknown field 'tag' specified in initializer

device/samsung/i9500/irda/irda.c:63:12: error: 'HARDWARE_MODULE_TAG' undeclared here (not in a function)

device/samsung/i9500/irda/irda.c:63:5: warning: excess elements in struct initializer [enabled by default]

device/samsung/i9500/irda/irda.c:63:5: warning: (near initialization for 'HAL_MODULE_INFO_SYM') [enabled by default]

device/samsung/i9500/irda/irda.c:64:5: error: unknown field 'module_api_version' specified in initializer

device/samsung/i9500/irda/irda.c:64:5: warning: excess elements in struct initializer [enabled by default]

device/samsung/i9500/irda/irda.c:64:5: warning: (near initialization for 'HAL_MODULE_INFO_SYM') [enabled by default]

device/samsung/i9500/irda/irda.c:65:5: error: unknown field 'hal_api_version' specified in initializer

device/samsung/i9500/irda/irda.c:65:5: warning: excess elements in struct initializer [enabled by default]

device/samsung/i9500/irda/irda.c:65:5: warning: (near initialization for 'HAL_MODULE_INFO_SYM') [enabled by default]

device/samsung/i9500/irda/irda.c:66:5: error: unknown field 'id' specified in initializer

device/samsung/i9500/irda/irda.c:66:11: error: 'IRDA_HARDWARE_MODULE_ID' undeclared here (not in a function)

device/samsung/i9500/irda/irda.c:66:5: warning: excess elements in struct initializer [enabled by default]

device/samsung/i9500/irda/irda.c:66:5: warning: (near initialization for 'HAL_MODULE_INFO_SYM') [enabled by default]

device/samsung/i9500/irda/irda.c:67:5: error: unknown field 'name' specified in initializer

device/samsung/i9500/irda/irda.c:67:5: warning: excess elements in struct initializer [enabled by default]

device/samsung/i9500/irda/irda.c:67:5: warning: (near initialization for 'HAL_MODULE_INFO_SYM') [enabled by default]

device/samsung/i9500/irda/irda.c:68:5: error: unknown field 'author' specified in initializer

device/samsung/i9500/irda/irda.c:68:5: warning: excess elements in struct initializer [enabled by default]

device/samsung/i9500/irda/irda.c:68:5: warning: (near initialization for 'HAL_MODULE_INFO_SYM') [enabled by default]

device/samsung/i9500/irda/irda.c:69:5: error: unknown field 'methods' specified in initializer

device/samsung/i9500/irda/irda.c:69:5: warning: excess elements in struct initializer [enabled by default]

device/samsung/i9500/irda/irda.c:69:5: warning: (near initialization for 'HAL_MODULE_INFO_SYM') [enabled by default]

make: *** [/google/output/cm10.2/target/product/i9500/obj/SHARED_LIBRARIES/irda.universal5410_intermediates/irda.o] Error 1

make: *** Waiting for unfinished jobs....

===================================================