[AT&T Samsung Galaxy S II Skyrocket SGH-I727] krazeecracker:
Im trying to build lightning zap with hercules config files and i error out every single time.

CC drivers/video/msm/smart_dimming_ea8868.o

drivers/video/msm/smart_dimming_ea8868.c: In function 'calc_voltage_table':

drivers/video/msm/smart_dimming_ea8868.c:222: warning: missing braces around initializer

drivers/video/msm/smart_dimming_ea8868.c:222: warning: (near initialization for 'adjust_mtp[0]')

drivers/video/msm/smart_dimming_ea8868.c:232: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:233: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:234: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:235: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:236: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:237: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:238: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c: In function 'init_table_info':

drivers/video/msm/smart_dimming_ea8868.c:348: warning: assignment discards qualifiers from pointer target type

drivers/video/msm/smart_dimming_ea8868.c:352: warning: assignment discards qualifiers from pointer target type

drivers/video/msm/smart_dimming_ea8868.c:353: warning: assignment discards qualifiers from pointer target type

drivers/video/msm/smart_dimming_ea8868.c:354: warning: assignment discards qualifiers from pointer target type

drivers/video/msm/smart_dimming_ea8868.c: In function 'calc_gamma_table':

drivers/video/msm/smart_dimming_ea8868.c:614: warning: missing braces around initializer

drivers/video/msm/smart_dimming_ea8868.c:614: warning: (near initialization for 'gamma[0]')

drivers/video/msm/smart_dimming_ea8868.c:618: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:619: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:620: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:621: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:622: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:623: warning: initialization from incompatible pointer type

drivers/video/msm/smart_dimming_ea8868.c:624: warning: initialization from incompatible pointer type

drivers/video/msm/lcdc_ld9040.c:65:29: error: lcdc_ld9040_seq.h: No such file or directory

drivers/video/msm/lcdc_ld9040.c:66:29: error: lcdc_ea8868_seq.h: No such file or directory

drivers/video/msm/lcdc_ld9040.c:67:32: error: mdp4_video_enhance.h: No such file or directory

drivers/video/msm/lcdc_ld9040.c:169: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:178: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:187: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:199: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:207: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:216: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:247: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:306: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:352: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:400: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:423: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:444: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c:452: error: array type has incomplete element type

drivers/video/msm/lcdc_ld9040.c: In function 'setting_table_write':

drivers/video/msm/lcdc_ld9040.c:644: error: dereferencing pointer to incomplete type

drivers/video/msm/lcdc_ld9040.c:657: error: dereferencing pointer to incomplete type

drivers/video/msm/lcdc_ld9040.c:658: error: dereferencing pointer to incomplete type

drivers/video/msm/lcdc_ld9040.c:672: error: dereferencing pointer to incomplete type

drivers/video/msm/lcdc_ld9040.c:688: error: dereferencing pointer to incomplete type

drivers/video/msm/lcdc_ld9040.c:690: error: dereferencing pointer to incomplete type

drivers/video/msm/lcdc_ld9040.c:691: error: dereferencing pointer to incomplete type

drivers/video/msm/lcdc_ld9040.c: In function 'ld9040_read_mtp':

drivers/video/msm/lcdc_ld9040.c:839: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c: In function 'ld9040_disp_on':

drivers/video/msm/lcdc_ld9040.c:1144: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c:1150: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c:1165: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c:1194: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c:1198: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c: In function 'ld9040_sleep_off':

drivers/video/msm/lcdc_ld9040.c:1238: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c: In function 'ld9040_sleep_in':

drivers/video/msm/lcdc_ld9040.c:1251: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c: In function 'lcdc_ld9040_panel_off':

drivers/video/msm/lcdc_ld9040.c:1304: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c: In function 'ld9040_gamma_ctl':

drivers/video/msm/lcdc_ld9040.c:1338: error: 'lcd_ea8868_m3_table_22gamma' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c:1338: error: (Each undeclared identifier is reported only once

drivers/video/msm/lcdc_ld9040.c:1338: error: for each function it appears in.)

drivers/video/msm/lcdc_ld9040.c:1352: error: 'lcd_ea8868_table_22gamma' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c:1405: error: 'lcd_brightness_table_22gamma' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c: In function 'updateIndividualElvss_Table':

drivers/video/msm/lcdc_ld9040.c:1646: error: 'SEQ_INDIVIDUAL_ELVSS_UPDATE_BEGIN' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c:1646: error: 'SEQ_INDIVIDUAL_ELVSS_UPDATE_FINISH' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c:1648: error: 'SEQ_INDIVIDUAL_ELVSS' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c: In function 'ld9040_set_elvss':

drivers/video/msm/lcdc_ld9040.c:1676: error: 'SEQ_INDIVIDUAL_ELVSS' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c:1686: error: 'SEQ_M3_ELVSS_set' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c:1714: error: 'SEQ_SM2_ELVSS_set' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c: In function 'ld9040_set_acl':

drivers/video/msm/lcdc_ld9040.c:1773: error: 'ACL_cutoff_set' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c:1774: error: 'SEQ_ACL_ON' undeclared (first use in this function)

drivers/video/msm/lcdc_ld9040.c: In function 'ld9040_power':

drivers/video/msm/lcdc_ld9040.c:2007: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c: In function 'ld9040_early_suspend':

drivers/video/msm/lcdc_ld9040.c:2105: error: invalid application of 'sizeof' to incomplete type 'struct setting_table'

drivers/video/msm/lcdc_ld9040.c: In function 'ld9040_probe':

drivers/video/msm/lcdc_ld9040.c:2211: error: implicit declaration of function 'init_mdnie_class'

make[3]: *** [drivers/video/msm/lcdc_ld9040.o] Error 1

make[3]: *** Waiting for unfinished jobs....

CC drivers/video/msm/hdmi_msm.o

CC drivers/usb/storage/option_ms.o

CC drivers/usb/storage/usual-tables.o

drivers/video/msm/hdmi_msm.c: In function 'hdmi_msm_power_off':

drivers/video/msm/hdmi_msm.c:4524: warning: unused variable 'mfd'

LD drivers/usb/storage/usb-storage.o

LD drivers/usb/storage/ums-alauda.o

LD drivers/usb/storage/ums-cypress.o

LD drivers/usb/storage/ums-datafab.o

LD drivers/usb/storage/ums-freecom.o

LD drivers/usb/storage/ums-isd200.o

LD drivers/usb/storage/ums-jumpshot.o

LD drivers/usb/storage/ums-karma.o

LD drivers/usb/storage/ums-onetouch.o

LD drivers/usb/storage/ums-sddr09.o

LD drivers/usb/storage/ums-sddr55.o

LD drivers/usb/storage/ums-usbat.o

LD drivers/usb/storage/built-in.o

LD drivers/usb/built-in.o

make[2]: *** [drivers/video/msm] Error 2

make[1]: *** [drivers/video] Error 2

make: *** [drivers] Error 2

brian@brian-desktop:~/android/kernel/msm8660-common_lz_kernel$