[Sony Xperia P, U, Sola, Go] Logic.Hoo:
target thumb C: recovery <= bootable/recovery/extendedcommands.c
HOSTCC scripts/unifdef
In file included from bootable/recovery/extendedcommands.c:35:0:
bootable/recovery/adefines.h:9:0: warning: "BOARD_UMS_LUNFILE" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
bootable/recovery/ui.c: In function 'draw_battery_and_clock.part.6':
bootable/recovery/ui.c:832:16: warning: array subscript is below array bounds [-Warray-bounds]
bootable/recovery/extendedcommands.c: In function 'gather_files':
bootable/recovery/extendedcommands.c:217:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
bootable/recovery/extendedcommands.c: In function 'choose_file_menu':
bootable/recovery/extendedcommands.c:300:34: warning: initialization from incompatible pointer type [enabled by default]
bootable/recovery/extendedcommands.c:337:13: warning: passing argument 1 of 'get_menu_selection' from incompatible pointer type [enabled by default]
bootable/recovery/recovery_ui.h:99:1: note: expected 'char **' but argument is of type 'char const **'
bootable/recovery/extendedcommands.c: In function 'show_choose_zip_menu':
bootable/recovery/extendedcommands.c:377:5: warning: passing argument 3 of 'choose_file_menu' from incompatible pointer type [enabled by default]
bootable/recovery/extendedcommands.c:285:7: note: expected 'char const **' but argument is of type 'char **'
bootable/recovery/extendedcommands.c: In function 'show_nandroid_restore_menu':
bootable/recovery/extendedcommands.c:401:5: warning: passing argument 3 of 'choose_file_menu' from incompatible pointer type [enabled by default]
bootable/recovery/extendedcommands.c:285:7: note: expected 'char const **' but argument is of type 'char **'
bootable/recovery/extendedcommands.c: In function 'show_nandroid_delete_menu':
bootable/recovery/extendedcommands.c:423:5: warning: passing argument 3 of 'choose_file_menu' from incompatible pointer type [enabled by default]
bootable/recovery/extendedcommands.c:285:7: note: expected 'char const **' but argument is of type 'char **'
bootable/recovery/extendedcommands.c: In function 'show_mount_usb_storage_menu':
bootable/recovery/extendedcommands.c:594:9: warning: passing argument 1 of 'get_menu_selection' from incompatible pointer type [enabled by default]
bootable/recovery/recovery_ui.h:99:1: note: expected 'char **' but argument is of type 'char const **'
bootable/recovery/extendedcommands.c:602:17: warning: passing argument 1 of 'control_usb_storage' makes pointer from integer without a cast [enabled by default]
bootable/recovery/extendedcommands.c:537:5: note: expected 'struct Volume **' but argument is of type 'int'
bootable/recovery/extendedcommands.c:602:17: error: too few arguments to function 'control_usb_storage'
bootable/recovery/extendedcommands.c:537:5: note: declared here
bootable/recovery/extendedcommands.c:617:21: warning: passing argument 1 of 'get_menu_selection' from incompatible pointer type [enabled by default]
bootable/recovery/recovery_ui.h:99:1: note: expected 'char **' but argument is of type 'char const **'
bootable/recovery/extendedcommands.c:625:17: error: too few arguments to function 'control_usb_storage'
bootable/recovery/extendedcommands.c:537:5: note: declared here
bootable/recovery/extendedcommands.c: In function 'confirm_selection':
bootable/recovery/extendedcommands.c:668:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
bootable/recovery/extendedcommands.c:675:25: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
bootable/recovery/extendedcommands.c:688:25: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
bootable/recovery/extendedcommands.c: In function 'format_unknown_device':
bootable/recovery/extendedcommands.c:812:13: warning: implicit declaration of function 'format_ext3_device' [-Wimplicit-function-declaration]
bootable/recovery/extendedcommands.c:821:13: warning: implicit declaration of function 'format_ext2_device' [-Wimplicit-function-declaration]
bootable/recovery/extendedcommands.c: In function 'show_partition_menu':
bootable/recovery/extendedcommands.c:930:13: warning: passing argument 1 of 'sprintf' from incompatible pointer type [enabled by default]
bionic/libc/include/stdio.h:266:6: note: expected 'char *' but argument is of type 'char (*)[255]'
bootable/recovery/extendedcommands.c:931:13: warning: passing argument 1 of 'sprintf' from incompatible pointer type [enabled by default]
bionic/libc/include/stdio.h:266:6: note: expected 'char *' but argument is of type 'char (*)[255]'
bootable/recovery/extendedcommands.c:934:13: warning: passing argument 1 of 'is_safe_to_format' discards 'const' qualifier from pointer target type [enabled by default]
bootable/recovery/extendedcommands.c:880:5: note: expected 'char *' but argument is of type 'char const *'
bootable/recovery/extendedcommands.c:935:17: warning: passing argument 1 of 'sprintf' from incompatible pointer type [enabled by default]
bionic/libc/include/stdio.h:266:6: note: expected 'char *' but argument is of type 'char (*)[255]'
bootable/recovery/extendedcommands.c:940:9: warning: passing argument 1 of 'is_safe_to_format' discards 'const' qualifier from pointer target type [enabled by default]
bootable/recovery/extendedcommands.c:880:5: note: expected 'char *' but argument is of type 'char const *'
bootable/recovery/extendedcommands.c:942:13: warning: passing argument 1 of 'sprintf' from incompatible pointer type [enabled by default]
bionic/libc/include/stdio.h:266:6: note: expected 'char *' but argument is of type 'char (*)[255]'
bootable/recovery/extendedcommands.c:958:13: warning: implicit declaration of function 'is_path_mounted' [-Wimplicit-function-declaration]
bootable/recovery/extendedcommands.c:980:9: warning: passing argument 2 of 'get_menu_selection' from incompatible pointer type [enabled by default]
bootable/recovery/recovery_ui.h:99:1: note: expected 'char **' but argument is of type 'char * (*)[255]'
bootable/recovery/extendedcommands.c: In function 'show_nandroid_advanced_restore_menu':
bootable/recovery/extendedcommands.c:1054:5: warning: passing argument 3 of 'choose_file_menu' from incompatible pointer type [enabled by default]
bootable/recovery/extendedcommands.c:285:7: note: expected 'char const **' but argument is of type 'char **'
bootable/recovery/extendedcommands.c: In function 'show_nandroid_menu':
bootable/recovery/extendedcommands.c:1211:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' [-Wformat]
bootable/recovery/extendedcommands.c:1245:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' [-Wformat]
bootable/recovery/extendedcommands.c: In function 'partition_sdcard':
bootable/recovery/extendedcommands.c:1292:5: warning: implicit declaration of function 'can_partition' [-Wimplicit-function-declaration]
bootable/recovery/extendedcommands.c:1327:44: warning: assignment makes integer from pointer without a cast [enabled by default]
bootable/recovery/extendedcommands.c: In function 'process_volumes':
bootable/recovery/extendedcommands.c:1549:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' [-Wformat]
make: *** [out/target/product/kumquat/obj/EXECUTABLES/recovery_intermediates/extendedcommands.o] Error 1
make: *** Waiting for unfinished jobs....

It seems that "extendedcommands.c" is error. How to fix it. :(