gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_dd.o sg_dd.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_io_linux.o sg_io_linux.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_lib.o sg_lib.c sg_lib.c: In function 'sg_get_llnum': sg_lib.c:2319: warning: format '%lx' expects type 'long unsigned int *', but argument 3 has type 'long long unsigned int *' sg_lib.c:2322: warning: format '%lx' expects type 'long unsigned int *', but argument 3 has type 'long long unsigned int *' sg_lib.c:2325: warning: format '%ld' expects type 'long int *', but argument 3 has type 'long long int *' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_cmds_basic.o sg_cmds_basic.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_cmds_extra.o sg_cmds_extra.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_pt_linux.o sg_pt_linux.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT \ -c -o sgp_dd.o sgp_dd.c sg_cmds_extra.c: In function 'sg_ll_read_long10': sg_cmds_extra.c:1056: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_cmds_extra.c: In function 'sg_ll_read_long16': sg_cmds_extra.c:1154: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_cmds_extra.c: In function 'sg_ll_write_long10': sg_cmds_extra.c:1250: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_cmds_extra.c: In function 'sg_ll_write_long16': sg_cmds_extra.c:1352: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sgm_dd.o sgm_dd.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_read.o sg_read.c sgp_dd.c: In function 'read_write_thread': sgp_dd.c:503: warning: variable 'stop_after_write' might be clobbered by 'longjmp' or 'vfork' sgp_dd.c:496: warning: argument 'v_clp' might be clobbered by 'longjmp' or 'vfork' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_map.o sg_map.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_scan.o sg_scan.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_rbuf.o sg_rbuf.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sginfo.o sginfo.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_readcap.o sg_readcap.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_turs.o sg_turs.c sg_readcap.c: In function 'process_cl_old': sg_readcap.c:277: warning: format '%lx' expects type 'long unsigned int *', but argument 3 has type 'long long unsigned int *' sg_readcap.c: In function 'main': sg_readcap.c:401: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_readcap.c:422: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_readcap.c:473: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_readcap.c:482: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_readcap.c:482: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_readcap.c:486: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_readcap.c:486: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_readcap.c:486: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'long long unsigned int' sg_readcap.c:508: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_inq.o sg_inq.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_test_rwbuf.o sg_test_rwbuf.c sg_inq.c: In function 'decode_dev_ids': sg_inq.c:932: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_inq.c:949: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_inq.c:1006: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_inq.c:1027: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_inq.c:1035: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_inq.c: In function 'decode_transport_id': sg_inq.c:1182: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_start.o sg_start.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_reset.o sg_reset.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_modes.o sg_modes.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_logs.o sg_logs.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_senddiag.o sg_senddiag.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_opcodes.o sg_opcodes.c sg_logs.c: In function 'show_buffer_under_overrun_page': sg_logs.c:878: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c: In function 'show_error_counter_page': sg_logs.c:947: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c: In function 'show_non_medium_error_page': sg_logs.c:996: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c: In function 'show_self_test_page': sg_logs.c:1130: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c: In function 'show_sas_rel_target_port': sg_logs.c:1497: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:1512: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:1585: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:1589: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c: In function 'show_stats_perform_page': sg_logs.c:1692: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1697: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1703: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1709: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1715: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1721: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1727: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1733: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1743: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1754: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1760: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1771: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1777: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1783: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1789: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1795: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1801: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1807: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1813: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1853: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1859: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1865: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1871: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1877: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1883: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1894: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1900: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1906: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1912: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1918: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1924: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1930: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:1936: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c: In function 'show_format_status_page': sg_logs.c:2010: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c: In function 'show_sequential_access_page': sg_logs.c:2245: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2247: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2252: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2254: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2259: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2261: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2266: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2268: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2273: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2277: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2281: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2285: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2289: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2297: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2302: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c:2305: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c: In function 'show_device_stats_page': sg_logs.c:2349: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2352: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2355: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2359: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2363: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2367: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2371: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2375: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2379: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2383: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2387: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2392: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2396: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c: In function 'show_media_stats_page': sg_logs.c:2452: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2455: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2458: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2461: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2464: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2468: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2472: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2475: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2479: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2483: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2487: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2491: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2495: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2499: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2503: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2507: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2511: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2515: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2519: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2523: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2527: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2531: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2535: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2539: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c:2543: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_logs.c: In function 'show_seagate_cache_page': sg_logs.c:2731: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_logs.c: In function 'show_seagate_factory_page': sg_logs.c:2784: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_persist.o sg_persist.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_write_long.o sg_write_long.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_read_long.o sg_read_long.c sg_persist.c: In function 'decode_transport_id': sg_persist.c:247: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_persist.c: In function 'prin_work': sg_persist.c:371: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_persist.c:387: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_persist.c:410: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_persist.c: In function 'main': sg_persist.c:764: warning: format '%lx' expects type 'long unsigned int *', but argument 3 has type 'long long unsigned int *' sg_persist.c:813: warning: format '%lx' expects type 'long unsigned int *', but argument 3 has type 'long long unsigned int *' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_requests.o sg_requests.c sg_read_long.c: In function 'main': sg_read_long.c:244: warning: format '%lu' expects type 'long unsigned int', but argument 7 has type 'long long unsigned int' sg_read_long.c:244: warning: format '%lx' expects type 'long unsigned int', but argument 8 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_ses.o sg_ses.c sg_write_long.c: In function 'main': sg_write_long.c:244: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'long long unsigned int' sg_write_long.c:244: warning: format '%lx' expects type 'long unsigned int', but argument 7 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_verify.o sg_verify.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_emc_trespass.o sg_emc_trespass.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_luns.o sg_luns.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_sync.o sg_sync.c sg_verify.c: In function 'main': sg_verify.c:213: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_verify.c:217: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_verify.c:225: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' sg_verify.c:225: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'long long unsigned int' sg_verify.c:236: warning: format '%ld' expects type 'long int', but argument 3 has type 'long long int' sg_verify.c:236: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'long long unsigned int' sg_verify.c:236: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'long long unsigned int' sg_verify.c:236: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_prevent.o sg_prevent.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_get_config.o sg_get_config.c sg_luns.c: In function 'decode_lun': sg_luns.c:190: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_wr_mode.o sg_wr_mode.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_rtpg.o sg_rtpg.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_reassign.o sg_reassign.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_format.o sg_format.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_rmsn.o sg_rmsn.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_ident.o sg_ident.c sg_format.c: In function 'print_read_cap': sg_format.c:208: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_format.c: In function 'main': sg_format.c:589: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_format.c:589: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_map26.o sg_map26.c sg_reassign.c: In function 'get_llnum': sg_reassign.c:130: warning: format '%lx' expects type 'long unsigned int *', but argument 3 has type 'long long unsigned int *' sg_reassign.c:133: warning: format '%lx' expects type 'long unsigned int *', but argument 3 has type 'long long unsigned int *' sg_reassign.c:136: warning: format '%lx' expects type 'long unsigned int *', but argument 3 has type 'long long unsigned int *' sg_reassign.c:139: warning: format '%ld' expects type 'long int *', but argument 3 has type 'long long int *' sg_reassign.c: In function 'main': sg_reassign.c:421: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_rdac.o sg_rdac.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_vpd.o sg_vpd.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_vpd_vendor.o sg_vpd_vendor.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_sat_identify.o sg_sat_identify.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_read_buffer.o sg_read_buffer.c gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_write_buffer.o sg_write_buffer.c sg_vpd.c: In function 'decode_dev_ids': sg_vpd.c:760: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_vpd.c:777: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_vpd.c:838: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_vpd.c:866: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_vpd.c:874: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int' sg_vpd.c: In function 'decode_transport_id': sg_vpd.c:1031: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int' gcc -O2 -pipe -Wall -W -DSG3_UTILS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sg_raw.o sg_raw.c libtool --mode=compile gcc -c sg_lib.c libtool --mode=compile gcc -c sg_cmds_basic.c libtool --mode=compile gcc -c sg_cmds_extra.c mkdir .libs gcc -c sg_lib.c -fPIC -DPIC -o .libs/sg_lib.o gcc -c sg_lib.c -o sg_lib.o >/dev/null 2>&1 gcc -c sg_cmds_basic.c -fPIC -DPIC -o .libs/sg_cmds_basic.o gcc -c sg_cmds_basic.c -o sg_cmds_basic.o >/dev/null 2>&1 libtool --mode=compile gcc -c sg_pt_linux.c gcc -c sg_cmds_extra.c -fPIC -DPIC -o .libs/sg_cmds_extra.o libtool --mode=link gcc -o sg_reset sg_reset.o gcc -c sg_cmds_extra.c -o sg_cmds_extra.o >/dev/null 2>&1 gcc -c sg_pt_linux.c -fPIC -DPIC -o .libs/sg_pt_linux.o gcc -o sg_reset sg_reset.o libtool --mode=link gcc -o sg_map26 sg_map26.o gcc -c sg_pt_linux.c -o sg_pt_linux.o >/dev/null 2>&1 libtool --mode=link gcc -o libsgutils.la sg_lib.lo sg_cmds_basic.lo \ sg_cmds_extra.lo sg_pt_linux.lo -rpath /usr/lib64 \ -version-info 1:0:0 gcc -o sg_map26 sg_map26.o x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/crtbeginS.o .libs/sg_lib.o .libs/sg_cmds_basic.o .libs/sg_cmds_extra.o .libs/sg_pt_linux.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/crtn.o -Wl,-soname -Wl,libsgutils.so.1 -o .libs/libsgutils.so.1.0.0 x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/crti.o: No such file or directory x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/crtbeginS.o: No such file or directory x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/crtendS.o: No such file or directory x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/crtn.o: No such file or directory make: *** [libsgutils.la] Error 1 * * ERROR: sys-apps/sg3_utils-1.24 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * sg3_utils-1.24.ebuild, line 36: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-apps:sg3_utils-1.24:20071207-093359.log'.