+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hdl-dump-20200727/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hdl-dump-20200727/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for hdl-dump-20200727 DEP thd_iin.c DEP osal_unix.c DEP hio_udpnet2.c DEP dict.c DEP byteseq.c DEP net_common.c DEP hio_trace.c DEP hio_dbg.c DEP hio_win32.c DEP iin_hio.c DEP hio_probe.c DEP iin_probe.c DEP iin_iml.c DEP iin_gi.c DEP iin_nero.c DEP iin_cdrwin.c DEP iin_iso.c DEP iin_optical.c DEP iin_img_base.c DEP isofs.c DEP aligned.c DEP hdl.c DEP progress.c DEP common.c DEP apa.c DEP hdl_dump.c CC hdl_dump.c CC apa.c CC common.c CC progress.c CC hdl.c CC aligned.c CC isofs.c CC iin_img_base.c In file included from aligned.h:28, from aligned.c:28: osal.h:88:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 88 | u_int64_t estimated_size) /*@allocates handle@*/ /*@defines *handle@*/; | ^~~~~~~~~ | uint64_t osal.h:91:19: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 91 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:94:16: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 94 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:97:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 97 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t osal.h:100:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t osal.h:103:17: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 103 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:106:14: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 106 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:109:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 109 | u_int64_t abs_pos); | ^~~~~~~~~ | uint64_t osal.h:113:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 113 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t osal.h:114:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 114 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t osal.h:118:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 118 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t osal.h:119:13: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 119 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t osal.h:124:55: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 124 | /*@special@*/ /*@only@*/ /*@null@*/ void* osal_alloc (u_int32_t bytes) /*@allocates result@*/; | ^~~~~~~~~ | uint32_t In file included from progress.c:26: progress.h:55:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 55 | u_int64_t highres_time_val (const highres_time_t *cl); | ^~~~~~~~~ | uint64_t progress.h:66:3: error: unknown type name 'u_int64_t' 66 | u_int64_t start_, elapsed_; /* highres_time_val */ | ^~~~~~~~~ progress.h:67:3: error: unknown type name 'u_int64_t' 67 | u_int64_t offset_; /* of the current block, absolute */ | ^~~~~~~~~ osal.h:134:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 134 | u_int64_t offset, | ^~~~~~~~~ | uint64_t progress.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t how_much; | ^~~~~~~~~ progress.h:76:5: error: unknown type name 'u_int64_t' 76 | u_int64_t when; /* highres_time_val */ | ^~~~~~~~~ progress.h:78:3: error: unknown type name 'u_int32_t' 78 | u_int32_t hist_pos_; | ^~~~~~~~~ progress.h:79:3: error: unknown type name 'u_int64_t' 79 | u_int64_t hist_sum_; /* = select sum (how_much) from history_ */ | ^~~~~~~~~ progress.h:85:3: error: unknown type name 'u_int64_t' 85 | u_int64_t total, curr; /* in bytes */ | ^~~~~~~~~ osal.h:135:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t length) /*@allocates *mm@*/ /*@defines *mm@*/; | ^~~~~~~~~ | uint32_t osal.h:145:3: error: unknown type name 'u_int64_t' 145 | u_int64_t capacity; /* -1 if not ready */ | ^~~~~~~~~ osal.h:152:3: error: unknown type name 'u_int32_t' 152 | u_int32_t allocated, used; | ^~~~~~~~~ progress.h:99:5: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 99 | u_int64_t total); | ^~~~~~~~~ | uint64_t In file included from aligned.c:28: aligned.h:43:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 43 | u_int32_t sector_size, /* device sector size - each file I/O should be aligned */ | ^~~~~~~~~ | uint32_t progress.h:104:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 104 | u_int64_t curr); | ^~~~~~~~~ | uint64_t aligned.h:44:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 44 | u_int32_t buffer_size_in_sectors); /* 32 is good enough */ | ^~~~~~~~~ | uint32_t In file included from hdl_dump.c:40: byteseq.h:31:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 31 | u_int32_t get_u32 (const void *buffer); | ^~~~~~~~~ | uint32_t In file included from hdl.c:28: byteseq.h:31:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 31 | u_int32_t get_u32 (const void *buffer); | ^~~~~~~~~ | uint32_t aligned.h:48:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 48 | u_int64_t offset, | ^~~~~~~~~ | uint64_t In file included from progress.c:27: osal.h:88:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 88 | u_int64_t estimated_size) /*@allocates handle@*/ /*@defines *handle@*/; | ^~~~~~~~~ | uint64_t byteseq.h:32:39: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 32 | void set_u32 (/*@out@*/ void *buffer, u_int32_t val); | ^~~~~~~~~ | uint32_t aligned.h:50:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 50 | u_int32_t dest_size, | ^~~~~~~~~ | uint32_t byteseq.h:32:39: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 32 | void set_u32 (/*@out@*/ void *buffer, u_int32_t val); | ^~~~~~~~~ | uint32_t osal.h:91:19: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 91 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t byteseq.h:34:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 34 | u_int16_t get_u16 (const void *buffer); | ^~~~~~~~~ | uint16_t osal.h:94:16: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 94 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t byteseq.h:35:39: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 35 | void set_u16 (/*@out@*/ void *buffer, u_int16_t val); | ^~~~~~~~~ | uint16_t osal.h:97:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 97 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t byteseq.h:37:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 37 | u_int8_t get_u8 (const void *buffer); | ^~~~~~~~ | uint8_t In file included from iin_img_base.h:28, from iin_img_base.c:27: iin.h:46:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | /*@out@*/ u_int32_t *sector_size, | ^~~~~~~~~ | uint32_t osal.h:100:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t In file included from isofs.h:28, from isofs.c:26: iin.h:46:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | /*@out@*/ u_int32_t *sector_size, | ^~~~~~~~~ | uint32_t byteseq.h:38:38: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 38 | void set_u8 (/*@out@*/ void *buffer, u_int8_t val); | ^~~~~~~~ | uint8_t iin.h:47:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 47 | /*@out@*/ u_int32_t *num_sectors); | ^~~~~~~~~ | uint32_t osal.h:103:17: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 103 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t iin.h:47:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 47 | /*@out@*/ u_int32_t *num_sectors); | ^~~~~~~~~ | uint32_t byteseq.h:34:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 34 | u_int16_t get_u16 (const void *buffer); | ^~~~~~~~~ | uint16_t iin.h:52:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t osal.h:106:14: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 106 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t iin.h:52:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t byteseq.h:35:39: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 35 | void set_u16 (/*@out@*/ void *buffer, u_int16_t val); | ^~~~~~~~~ | uint16_t aligned.h:51:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 51 | u_int32_t *length); | ^~~~~~~~~ | uint32_t iin.h:53:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 53 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t osal.h:109:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 109 | u_int64_t abs_pos); | ^~~~~~~~~ | uint64_t iin.h:53:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 53 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t aligned.c:36:3: error: unknown type name 'u_int32_t' 36 | u_int32_t sector_size, buffer_size, data_length; | ^~~~~~~~~ aligned.c:37:3: error: unknown type name 'u_int64_t' 37 | u_int64_t offset; | ^~~~~~~~~ iin.h:55:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | /*@out@*/ u_int32_t *length); | ^~~~~~~~~ | uint32_t byteseq.h:37:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 37 | u_int8_t get_u8 (const void *buffer); | ^~~~~~~~ | uint8_t iin.h:67:3: error: unknown type name 'iin_stat_t' 67 | iin_stat_t stat; | ^~~~~~~~~~ iin.h:68:3: error: unknown type name 'iin_read_t' 68 | iin_read_t read; | ^~~~~~~~~~ iin.h:55:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | /*@out@*/ u_int32_t *length); | ^~~~~~~~~ | uint32_t osal.h:113:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 113 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t iin.h:67:3: error: unknown type name 'iin_stat_t' 67 | iin_stat_t stat; | ^~~~~~~~~~ iin.h:68:3: error: unknown type name 'iin_read_t' 68 | iin_read_t read; | ^~~~~~~~~~ aligned.c:44:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 44 | u_int32_t sector_size, | ^~~~~~~~~ | uint32_t byteseq.h:38:38: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 38 | void set_u8 (/*@out@*/ void *buffer, u_int8_t val); | ^~~~~~~~ | uint8_t In file included from isofs.c:26: isofs.h:42:3: error: unknown type name 'u_int64_t' 42 | u_int64_t layer_pvd; | ^~~~~~~~~ osal.h:114:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 114 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t aligned.c:45:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 45 | u_int32_t buffer_size_in_sectors) | ^~~~~~~~~ | uint32_t In file included from hdl.c:29: iin.h:46:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | /*@out@*/ u_int32_t *sector_size, | ^~~~~~~~~ | uint32_t In file included from iin_img_base.h:29, from iin_img_base.c:27: osal.h:88:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 88 | u_int64_t estimated_size) /*@allocates handle@*/ /*@defines *handle@*/; | ^~~~~~~~~ | uint64_t osal.h:118:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 118 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t iin.h:47:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 47 | /*@out@*/ u_int32_t *num_sectors); | ^~~~~~~~~ | uint32_t In file included from hdl_dump.c:42: osal.h:88:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 88 | u_int64_t estimated_size) /*@allocates handle@*/ /*@defines *handle@*/; | ^~~~~~~~~ | uint64_t osal.h:91:19: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 91 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t In file included from common.h:29, from isofs.c:28: osal.h:88:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 88 | u_int64_t estimated_size) /*@allocates handle@*/ /*@defines *handle@*/; | ^~~~~~~~~ | uint64_t osal.h:119:13: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 119 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t iin.h:52:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t osal.h:94:16: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 94 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:91:19: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 91 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:91:19: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 91 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t iin.h:53:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 53 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t osal.h:124:55: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 124 | /*@special@*/ /*@only@*/ /*@null@*/ void* osal_alloc (u_int32_t bytes) /*@allocates result@*/; | ^~~~~~~~~ | uint32_t osal.h:97:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 97 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t osal.h:94:16: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 94 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:94:16: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 94 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t aligned.c:88:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 88 | u_int64_t offset, | ^~~~~~~~~ | uint64_t iin.h:55:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | /*@out@*/ u_int32_t *length); | ^~~~~~~~~ | uint32_t iin.h:67:3: error: unknown type name 'iin_stat_t' 67 | iin_stat_t stat; | ^~~~~~~~~~ osal.h:100:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t iin.h:68:3: error: unknown type name 'iin_read_t' 68 | iin_read_t read; | ^~~~~~~~~~ osal.h:97:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 97 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t osal.h:134:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 134 | u_int64_t offset, | ^~~~~~~~~ | uint64_t osal.h:97:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 97 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t aligned.c:90:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 90 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t osal.h:103:17: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 103 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:100:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t osal.h:135:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t length) /*@allocates *mm@*/ /*@defines *mm@*/; | ^~~~~~~~~ | uint32_t osal.h:100:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t osal.h:145:3: error: unknown type name 'u_int64_t' 145 | u_int64_t capacity; /* -1 if not ready */ | ^~~~~~~~~ osal.h:106:14: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 106 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t aligned.c:91:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 91 | u_int32_t *data_length) | ^~~~~~~~~ | uint32_t osal.h:152:3: error: unknown type name 'u_int32_t' 152 | u_int32_t allocated, used; | ^~~~~~~~~ osal.h:103:17: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 103 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:109:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 109 | u_int64_t abs_pos); | ^~~~~~~~~ | uint64_t osal.h:106:14: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 106 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:109:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 109 | u_int64_t abs_pos); | ^~~~~~~~~ | uint64_t In file included from hdl.h:28, from hdl.c:30: progress.h:55:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 55 | u_int64_t highres_time_val (const highres_time_t *cl); | ^~~~~~~~~ | uint64_t progress.h:66:3: error: unknown type name 'u_int64_t' 66 | u_int64_t start_, elapsed_; /* highres_time_val */ | ^~~~~~~~~ progress.h:67:3: error: unknown type name 'u_int64_t' 67 | u_int64_t offset_; /* of the current block, absolute */ | ^~~~~~~~~ progress.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t how_much; | ^~~~~~~~~ progress.h:76:5: error: unknown type name 'u_int64_t' 76 | u_int64_t when; /* highres_time_val */ | ^~~~~~~~~ progress.h:78:3: error: unknown type name 'u_int32_t' 78 | u_int32_t hist_pos_; | ^~~~~~~~~ progress.h:79:3: error: unknown type name 'u_int64_t' 79 | u_int64_t hist_sum_; /* = select sum (how_much) from history_ */ | ^~~~~~~~~ progress.h:85:3: error: unknown type name 'u_int64_t' 85 | u_int64_t total, curr; /* in bytes */ | ^~~~~~~~~ progress.h:99:5: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 99 | u_int64_t total); | ^~~~~~~~~ | uint64_t progress.h:104:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 104 | u_int64_t curr); | ^~~~~~~~~ | uint64_t In file included from hdl.h:29, from hdl.c:30: hio.h:42:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 42 | /*@out@*/ u_int32_t *size_in_kb); | ^~~~~~~~~ | uint32_t hio.h:45:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 45 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t hio.h:46:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t osal.h:103:17: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 103 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t hio.h:48:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 48 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t osal.h:106:14: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 106 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t hio.h:51:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 51 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t osal.h:109:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 109 | u_int64_t abs_pos); | ^~~~~~~~~ | uint64_t hio.h:52:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t osal.h:113:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 113 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t hio.h:54:18: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 54 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t osal.h:114:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 114 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t hio.h:70:3: error: unknown type name 'hio_stat_t' 70 | hio_stat_t stat; | ^~~~~~~~~~ hio.h:71:3: error: unknown type name 'hio_read_t' 71 | hio_read_t read; | ^~~~~~~~~~ hio.h:72:3: error: unknown type name 'hio_write_t' 72 | hio_write_t write; | ^~~~~~~~~~~ osal.h:118:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 118 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t osal.h:113:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 113 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t In file included from apa.h:28, from hdl.h:31, from hdl.c:30: ps2_hdd.h:32:3: error: unknown type name 'u_int8_t' 32 | u_int8_t unused; | ^~~~~~~~ ps2_hdd.h:33:3: error: unknown type name 'u_int8_t' 33 | u_int8_t sec; | ^~~~~~~~ ps2_hdd.h:34:3: error: unknown type name 'u_int8_t' 34 | u_int8_t min; | ^~~~~~~~ ps2_hdd.h:35:3: error: unknown type name 'u_int8_t' 35 | u_int8_t hour; | ^~~~~~~~ ps2_hdd.h:36:3: error: unknown type name 'u_int8_t' 36 | u_int8_t day; | ^~~~~~~~ ps2_hdd.h:37:3: error: unknown type name 'u_int8_t' 37 | u_int8_t month; | ^~~~~~~~ ps2_hdd.h:38:3: error: unknown type name 'u_int16_t' 38 | u_int16_t year; | ^~~~~~~~~ ps2_hdd.h:44:3: error: unknown type name 'u_int32_t' 44 | u_int32_t checksum; /* Sum of all 256 words, assuming checksum==0 */ | ^~~~~~~~~ ps2_hdd.h:45:3: error: unknown type name 'u_int8_t' 45 | u_int8_t magic [4]; /* PS2_PARTITION_MAGIC */ | ^~~~~~~~ ps2_hdd.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t next; /* Sector address of next partition */ | ^~~~~~~~~ ps2_hdd.h:47:3: error: unknown type name 'u_int32_t' 47 | u_int32_t prev; /* Sector address of previous partition */ | ^~~~~~~~~ osal.h:114:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 114 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t osal.h:119:13: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 119 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t ps2_hdd.h:50:3: error: unknown type name 'u_int32_t' 50 | u_int32_t start; /* Sector address of this partition */ | ^~~~~~~~~ osal.h:113:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 113 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t progress.c:64:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 64 | u_int64_t | ^~~~~~~~~ | uint64_t ps2_hdd.h:51:3: error: unknown type name 'u_int32_t' 51 | u_int32_t length; /* Sector count */ | ^~~~~~~~~ osal.h:118:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 118 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t osal.h:124:55: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 124 | /*@special@*/ /*@only@*/ /*@null@*/ void* osal_alloc (u_int32_t bytes) /*@allocates result@*/; | ^~~~~~~~~ | uint32_t ps2_hdd.h:52:3: error: unknown type name 'u_int16_t' 52 | u_int16_t type; | ^~~~~~~~~ osal.h:114:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 114 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t progress.c: In function 'highres_time_val': osal.h:134:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 134 | u_int64_t offset, | ^~~~~~~~~ | uint64_t ps2_hdd.h:53:3: error: unknown type name 'u_int16_t' 53 | u_int16_t flags; /* PS2_PART_FLAG_* */ | ^~~~~~~~~ progress.c:67:12: error: 'u_int64_t' undeclared (first use in this function); did you mean 'uint64_t'? 67 | return ((u_int64_t) cl->tv_sec * 1000000 + cl->tv_usec); | ^~~~~~~~~ | uint64_t osal.h:118:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 118 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t osal.h:119:13: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 119 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t progress.c:67:12: note: each undeclared identifier is reported only once for each function it appears in ps2_hdd.h:54:3: error: unknown type name 'u_int32_t' 54 | u_int32_t nsub; /* No. of sub-partitions (stored in main partition) */ | ^~~~~~~~~ ps2_hdd.h:56:3: error: unknown type name 'u_int32_t' 56 | u_int32_t main; /* For sub-partitions, main partition sector address */ | ^~~~~~~~~ progress.c:67:22: error: expected ')' before 'cl' 67 | return ((u_int64_t) cl->tv_sec * 1000000 + cl->tv_usec); | ~ ^~~ | ) ps2_hdd.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t number; /* For sub-partitions, sub-partition number */ | ^~~~~~~~~ ps2_hdd.h:58:3: error: unknown type name 'u_int16_t' 58 | u_int16_t unknown2; | ^~~~~~~~~ osal.h:124:55: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 124 | /*@special@*/ /*@only@*/ /*@null@*/ void* osal_alloc (u_int32_t bytes) /*@allocates result@*/; | ^~~~~~~~~ | uint32_t ps2_hdd.h:67:5: error: unknown type name 'u_int32_t' 67 | u_int32_t data_start; /* Some sort of MBR data; position in sectors*/ | ^~~~~~~~~ ps2_hdd.h:68:5: error: unknown type name 'u_int32_t' 68 | u_int32_t data_len; /* Length also in sectors */ | ^~~~~~~~~ osal.h:119:13: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 119 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t osal.h:135:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t length) /*@allocates *mm@*/ /*@defines *mm@*/; | ^~~~~~~~~ | uint32_t ps2_hdd.h:74:5: error: unknown type name 'u_int32_t' 74 | u_int32_t boot_elf_installed; | ^~~~~~~~~ ps2_hdd.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t boot_elf_lba; | ^~~~~~~~~ ps2_hdd.h:76:5: error: unknown type name 'u_int32_t' 76 | u_int32_t boot_elf_byte_size; | ^~~~~~~~~ osal.h:134:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 134 | u_int64_t offset, | ^~~~~~~~~ | uint64_t osal.h:145:3: error: unknown type name 'u_int64_t' 145 | u_int64_t capacity; /* -1 if not ready */ | ^~~~~~~~~ ps2_hdd.h:77:5: error: unknown type name 'u_int32_t' 77 | u_int32_t boot_elf_checksum; | ^~~~~~~~~ ps2_hdd.h:78:5: error: unknown type name 'u_int32_t' 78 | u_int32_t boot_elf_virtual_addr; | ^~~~~~~~~ osal.h:152:3: error: unknown type name 'u_int32_t' 152 | u_int32_t allocated, used; | ^~~~~~~~~ ps2_hdd.h:79:5: error: unknown type name 'u_int32_t' 79 | u_int32_t boot_elf_start_addr; | ^~~~~~~~~ ps2_hdd.h:82:5: error: unknown type name 'u_int32_t' 82 | u_int32_t toxic_flags; | ^~~~~~~~~ osal.h:124:55: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 124 | /*@special@*/ /*@only@*/ /*@null@*/ void* osal_alloc (u_int32_t bytes) /*@allocates result@*/; | ^~~~~~~~~ | uint32_t ps2_hdd.h:86:5: error: unknown type name 'u_int32_t' 86 | u_int32_t start;/* Sector address */ | ^~~~~~~~~ ps2_hdd.h:87:5: error: unknown type name 'u_int32_t' 87 | u_int32_t length;/* Sector count */ | ^~~~~~~~~ osal.h:135:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t length) /*@allocates *mm@*/ /*@defines *mm@*/; | ^~~~~~~~~ | uint32_t In file included from apa.h:28, from hdl_dump.c:43: ps2_hdd.h:32:3: error: unknown type name 'u_int8_t' 32 | u_int8_t unused; | ^~~~~~~~ progress.c: In function 'pgs_alloc': ps2_hdd.h:33:3: error: unknown type name 'u_int8_t' 33 | u_int8_t sec; | ^~~~~~~~ ps2_hdd.h:34:3: error: unknown type name 'u_int8_t' 34 | u_int8_t min; | ^~~~~~~~ progress.c:77:21: warning: implicit declaration of function 'osal_alloc' [-Wimplicit-function-declaration] 77 | progress_t *pgs = osal_alloc (sizeof (progress_t)); | ^~~~~~~~~~ ps2_hdd.h:35:3: error: unknown type name 'u_int8_t' 35 | u_int8_t hour; | ^~~~~~~~ ps2_hdd.h:36:3: error: unknown type name 'u_int8_t' 36 | u_int8_t day; | ^~~~~~~~ ps2_hdd.h:37:3: error: unknown type name 'u_int8_t' 37 | u_int8_t month; | ^~~~~~~~ ps2_hdd.h:38:3: error: unknown type name 'u_int16_t' 38 | u_int16_t year; | ^~~~~~~~~ osal.h:134:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 134 | u_int64_t offset, | ^~~~~~~~~ | uint64_t ps2_hdd.h:44:3: error: unknown type name 'u_int32_t' 44 | u_int32_t checksum; /* Sum of all 256 words, assuming checksum==0 */ | ^~~~~~~~~ progress.c:77:21: warning: initialization of 'progress_t *' {aka 'struct progress_type *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] ps2_hdd.h:45:3: error: unknown type name 'u_int8_t' 45 | u_int8_t magic [4]; /* PS2_PARTITION_MAGIC */ | ^~~~~~~~ osal.h:145:3: error: unknown type name 'u_int64_t' 145 | u_int64_t capacity; /* -1 if not ready */ | ^~~~~~~~~ ps2_hdd.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t next; /* Sector address of next partition */ | ^~~~~~~~~ ps2_hdd.h:47:3: error: unknown type name 'u_int32_t' 47 | u_int32_t prev; /* Sector address of previous partition */ | ^~~~~~~~~ ps2_hdd.h:50:3: error: unknown type name 'u_int32_t' 50 | u_int32_t start; /* Sector address of this partition */ | ^~~~~~~~~ ps2_hdd.h:51:3: error: unknown type name 'u_int32_t' 51 | u_int32_t length; /* Sector count */ | ^~~~~~~~~ ps2_hdd.h:52:3: error: unknown type name 'u_int16_t' 52 | u_int16_t type; | ^~~~~~~~~ osal.h:152:3: error: unknown type name 'u_int32_t' 152 | u_int32_t allocated, used; | ^~~~~~~~~ ps2_hdd.h:53:3: error: unknown type name 'u_int16_t' 53 | u_int16_t flags; /* PS2_PART_FLAG_* */ | ^~~~~~~~~ ps2_hdd.h:54:3: error: unknown type name 'u_int32_t' 54 | u_int32_t nsub; /* No. of sub-partitions (stored in main partition) */ | ^~~~~~~~~ ps2_hdd.h:56:3: error: unknown type name 'u_int32_t' 56 | u_int32_t main; /* For sub-partitions, main partition sector address */ | ^~~~~~~~~ ps2_hdd.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t number; /* For sub-partitions, sub-partition number */ | ^~~~~~~~~ osal.h:135:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t length) /*@allocates *mm@*/ /*@defines *mm@*/; | ^~~~~~~~~ | uint32_t ps2_hdd.h:58:3: error: unknown type name 'u_int16_t' 58 | u_int16_t unknown2; | ^~~~~~~~~ ps2_hdd.h:67:5: error: unknown type name 'u_int32_t' 67 | u_int32_t data_start; /* Some sort of MBR data; position in sectors*/ | ^~~~~~~~~ osal.h:145:3: error: unknown type name 'u_int64_t' 145 | u_int64_t capacity; /* -1 if not ready */ | ^~~~~~~~~ ps2_hdd.h:68:5: error: unknown type name 'u_int32_t' 68 | u_int32_t data_len; /* Length also in sectors */ | ^~~~~~~~~ ps2_hdd.h:74:5: error: unknown type name 'u_int32_t' 74 | u_int32_t boot_elf_installed; | ^~~~~~~~~ osal.h:152:3: error: unknown type name 'u_int32_t' 152 | u_int32_t allocated, used; | ^~~~~~~~~ ps2_hdd.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t boot_elf_lba; | ^~~~~~~~~ ps2_hdd.h:76:5: error: unknown type name 'u_int32_t' 76 | u_int32_t boot_elf_byte_size; | ^~~~~~~~~ ps2_hdd.h:77:5: error: unknown type name 'u_int32_t' 77 | u_int32_t boot_elf_checksum; | ^~~~~~~~~ ps2_hdd.h:78:5: error: unknown type name 'u_int32_t' 78 | u_int32_t boot_elf_virtual_addr; | ^~~~~~~~~ ps2_hdd.h:79:5: error: unknown type name 'u_int32_t' 79 | u_int32_t boot_elf_start_addr; | ^~~~~~~~~ progress.c: At top level: ps2_hdd.h:82:5: error: unknown type name 'u_int32_t' 82 | u_int32_t toxic_flags; | ^~~~~~~~~ progress.c:100:7: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 100 | u_int64_t total) | ^~~~~~~~~ | uint64_t ps2_hdd.h:86:5: error: unknown type name 'u_int32_t' 86 | u_int32_t start;/* Sector address */ | ^~~~~~~~~ ps2_hdd.h:87:5: error: unknown type name 'u_int32_t' 87 | u_int32_t length;/* Sector count */ | ^~~~~~~~~ In file included from common.h:30, from isofs.c:28: progress.h:55:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 55 | u_int64_t highres_time_val (const highres_time_t *cl); | ^~~~~~~~~ | uint64_t In file included from apa.h:29, from hdl.h:31, from hdl.c:30: osal.h:88:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 88 | u_int64_t estimated_size) /*@allocates handle@*/ /*@defines *handle@*/; | ^~~~~~~~~ | uint64_t progress.h:66:3: error: unknown type name 'u_int64_t' 66 | u_int64_t start_, elapsed_; /* highres_time_val */ | ^~~~~~~~~ progress.h:67:3: error: unknown type name 'u_int64_t' 67 | u_int64_t offset_; /* of the current block, absolute */ | ^~~~~~~~~ progress.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t how_much; | ^~~~~~~~~ progress.h:76:5: error: unknown type name 'u_int64_t' 76 | u_int64_t when; /* highres_time_val */ | ^~~~~~~~~ progress.h:78:3: error: unknown type name 'u_int32_t' 78 | u_int32_t hist_pos_; | ^~~~~~~~~ progress.h:79:3: error: unknown type name 'u_int64_t' 79 | u_int64_t hist_sum_; /* = select sum (how_much) from history_ */ | ^~~~~~~~~ progress.h:85:3: error: unknown type name 'u_int64_t' 85 | u_int64_t total, curr; /* in bytes */ | ^~~~~~~~~ In file included from iin_img_base.c:27: iin_img_base.h:36:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 36 | img_base_alloc (u_int32_t raw_sector_size, | ^~~~~~~~~ | uint32_t osal.h:91:19: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 91 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:94:16: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 94 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t progress.c:157:6: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 157 | u_int64_t curr) | ^~~~~~~~~ | uint64_t iin_img_base.h:37:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 37 | u_int32_t raw_skip_offset); | ^~~~~~~~~ | uint32_t progress.h:99:5: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 99 | u_int64_t total); | ^~~~~~~~~ | uint64_t osal.h:97:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 97 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t progress.h:104:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 104 | u_int64_t curr); | ^~~~~~~~~ | uint64_t iin_img_base.h:43:10: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 43 | u_int32_t length_s, /* input length in sectors */ | ^~~~~~~~~ | uint32_t osal.h:100:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t iin_img_base.h:44:10: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 44 | u_int64_t skip, /* bytes to skip in the begining of the input */ | ^~~~~~~~~ | uint64_t osal.h:103:17: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 103 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t In file included from apa.c:30: byteseq.h:31:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 31 | u_int32_t get_u32 (const void *buffer); | ^~~~~~~~~ | uint32_t iin_img_base.h:45:10: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 45 | u_int32_t device_sector_size); /* to align reads on */ | ^~~~~~~~~ | uint32_t osal.h:106:14: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 106 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t progress.c: In function 'highres_time_val': progress.c:68:1: warning: control reaches end of non-void function [-Wreturn-type] 68 | } | ^ In file included from common.h:32, from isofs.c:28: hio.h:42:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 42 | /*@out@*/ u_int32_t *size_in_kb); | ^~~~~~~~~ | uint32_t byteseq.h:32:39: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 32 | void set_u32 (/*@out@*/ void *buffer, u_int32_t val); | ^~~~~~~~~ | uint32_t osal.h:109:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 109 | u_int64_t abs_pos); | ^~~~~~~~~ | uint64_t iin_img_base.h:49:10: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 49 | u_int32_t length_s); | ^~~~~~~~~ | uint32_t In file included from apa.h:30, from hdl_dump.c:43: hio.h:42:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 42 | /*@out@*/ u_int32_t *size_in_kb); | ^~~~~~~~~ | uint32_t hio.h:45:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 45 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t byteseq.h:34:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 34 | u_int16_t get_u16 (const void *buffer); | ^~~~~~~~~ | uint16_t gmake: *** [Makefile:191: aligned.o] Error 1 gmake: *** Waiting for unfinished jobs.... osal.h:113:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 113 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t hio.h:46:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t hio.h:45:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 45 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t byteseq.h:35:39: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 35 | void set_u16 (/*@out@*/ void *buffer, u_int16_t val); | ^~~~~~~~~ | uint16_t In file included from common.h:29, from common.c:28: osal.h:88:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 88 | u_int64_t estimated_size) /*@allocates handle@*/ /*@defines *handle@*/; | ^~~~~~~~~ | uint64_t In file included from iin_img_base.c:30: aligned.h:43:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 43 | u_int32_t sector_size, /* device sector size - each file I/O should be aligned */ | ^~~~~~~~~ | uint32_t osal.h:114:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 114 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t hio.h:48:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 48 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t hio.h:46:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t byteseq.h:37:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 37 | u_int8_t get_u8 (const void *buffer); | ^~~~~~~~ | uint8_t osal.h:91:19: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 91 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t aligned.h:44:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 44 | u_int32_t buffer_size_in_sectors); /* 32 is good enough */ | ^~~~~~~~~ | uint32_t osal.h:118:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 118 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t hio.h:51:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 51 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t byteseq.h:38:38: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 38 | void set_u8 (/*@out@*/ void *buffer, u_int8_t val); | ^~~~~~~~ | uint8_t hio.h:48:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 48 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t osal.h:94:16: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 94 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t aligned.h:48:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 48 | u_int64_t offset, | ^~~~~~~~~ | uint64_t osal.h:119:13: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 119 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t hio.h:52:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t osal.h:97:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 97 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t hio.h:51:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 51 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t aligned.h:50:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 50 | u_int32_t dest_size, | ^~~~~~~~~ | uint32_t osal.h:124:55: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 124 | /*@special@*/ /*@only@*/ /*@null@*/ void* osal_alloc (u_int32_t bytes) /*@allocates result@*/; | ^~~~~~~~~ | uint32_t osal.h:100:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t hio.h:54:18: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 54 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t aligned.h:51:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 51 | u_int32_t *length); | ^~~~~~~~~ | uint32_t hio.h:52:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t hio.h:70:3: error: unknown type name 'hio_stat_t' 70 | hio_stat_t stat; | ^~~~~~~~~~ osal.h:134:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 134 | u_int64_t offset, | ^~~~~~~~~ | uint64_t osal.h:103:17: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 103 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t In file included from common.h:29, from apa.c:32: osal.h:88:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 88 | u_int64_t estimated_size) /*@allocates handle@*/ /*@defines *handle@*/; | ^~~~~~~~~ | uint64_t hio.h:71:3: error: unknown type name 'hio_read_t' 71 | hio_read_t read; | ^~~~~~~~~~ In file included from common.h:30, from iin_img_base.c:31: progress.h:55:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 55 | u_int64_t highres_time_val (const highres_time_t *cl); | ^~~~~~~~~ | uint64_t hio.h:72:3: error: unknown type name 'hio_write_t' 72 | hio_write_t write; | ^~~~~~~~~~~ hio.h:54:18: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 54 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t osal.h:91:19: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 91 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t progress.h:66:3: error: unknown type name 'u_int64_t' 66 | u_int64_t start_, elapsed_; /* highres_time_val */ | ^~~~~~~~~ In file included from apa.h:28, from hdl.h:31, from common.h:33, from isofs.c:28: ps2_hdd.h:32:3: error: unknown type name 'u_int8_t' 32 | u_int8_t unused; | ^~~~~~~~ hio.h:70:3: error: unknown type name 'hio_stat_t' 70 | hio_stat_t stat; | ^~~~~~~~~~ osal.h:135:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t length) /*@allocates *mm@*/ /*@defines *mm@*/; | ^~~~~~~~~ | uint32_t progress.h:67:3: error: unknown type name 'u_int64_t' 67 | u_int64_t offset_; /* of the current block, absolute */ | ^~~~~~~~~ ps2_hdd.h:33:3: error: unknown type name 'u_int8_t' 33 | u_int8_t sec; | ^~~~~~~~ hio.h:71:3: error: unknown type name 'hio_read_t' 71 | hio_read_t read; | ^~~~~~~~~~ progress.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t how_much; | ^~~~~~~~~ ps2_hdd.h:34:3: error: unknown type name 'u_int8_t' 34 | u_int8_t min; | ^~~~~~~~ osal.h:94:16: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 94 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:106:14: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 106 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t osal.h:145:3: error: unknown type name 'u_int64_t' 145 | u_int64_t capacity; /* -1 if not ready */ | ^~~~~~~~~ progress.h:76:5: error: unknown type name 'u_int64_t' 76 | u_int64_t when; /* highres_time_val */ | ^~~~~~~~~ ps2_hdd.h:35:3: error: unknown type name 'u_int8_t' 35 | u_int8_t hour; | ^~~~~~~~ hio.h:72:3: error: unknown type name 'hio_write_t' 72 | hio_write_t write; | ^~~~~~~~~~~ ps2_hdd.h:36:3: error: unknown type name 'u_int8_t' 36 | u_int8_t day; | ^~~~~~~~ osal.h:152:3: error: unknown type name 'u_int32_t' 152 | u_int32_t allocated, used; | ^~~~~~~~~ ps2_hdd.h:37:3: error: unknown type name 'u_int8_t' 37 | u_int8_t month; | ^~~~~~~~ progress.h:78:3: error: unknown type name 'u_int32_t' 78 | u_int32_t hist_pos_; | ^~~~~~~~~ ps2_hdd.h:38:3: error: unknown type name 'u_int16_t' 38 | u_int16_t year; | ^~~~~~~~~ progress.h:79:3: error: unknown type name 'u_int64_t' 79 | u_int64_t hist_sum_; /* = select sum (how_much) from history_ */ | ^~~~~~~~~ ps2_hdd.h:44:3: error: unknown type name 'u_int32_t' 44 | u_int32_t checksum; /* Sum of all 256 words, assuming checksum==0 */ | ^~~~~~~~~ progress.h:85:3: error: unknown type name 'u_int64_t' 85 | u_int64_t total, curr; /* in bytes */ | ^~~~~~~~~ ps2_hdd.h:45:3: error: unknown type name 'u_int8_t' 45 | u_int8_t magic [4]; /* PS2_PARTITION_MAGIC */ | ^~~~~~~~ In file included from hdl_dump.c:43: apa.h:55:3: error: unknown type name 'u_int32_t' 55 | u_int32_t size_in_mb; | ^~~~~~~~~ In file included from hdl.h:31, from hdl.c:30: apa.h:55:3: error: unknown type name 'u_int32_t' 55 | u_int32_t size_in_mb; | ^~~~~~~~~ apa.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t total_chunks; | ^~~~~~~~~ ps2_hdd.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t next; /* Sector address of next partition */ | ^~~~~~~~~ apa.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t total_chunks; | ^~~~~~~~~ apa.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t allocated_chunks; | ^~~~~~~~~ ps2_hdd.h:47:3: error: unknown type name 'u_int32_t' 47 | u_int32_t prev; /* Sector address of previous partition */ | ^~~~~~~~~ osal.h:109:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 109 | u_int64_t abs_pos); | ^~~~~~~~~ | uint64_t osal.h:97:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 97 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t apa.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t allocated_chunks; | ^~~~~~~~~ apa.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t free_chunks; | ^~~~~~~~~ ps2_hdd.h:50:3: error: unknown type name 'u_int32_t' 50 | u_int32_t start; /* Sector address of this partition */ | ^~~~~~~~~ progress.h:99:5: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 99 | u_int64_t total); | ^~~~~~~~~ | uint64_t apa.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t free_chunks; | ^~~~~~~~~ apa.h:63:3: error: unknown type name 'u_int32_t' 63 | u_int32_t part_alloc_; | ^~~~~~~~~ ps2_hdd.h:51:3: error: unknown type name 'u_int32_t' 51 | u_int32_t length; /* Sector count */ | ^~~~~~~~~ osal.h:113:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 113 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t apa.h:63:3: error: unknown type name 'u_int32_t' 63 | u_int32_t part_alloc_; | ^~~~~~~~~ apa.h:64:3: error: unknown type name 'u_int32_t' 64 | u_int32_t part_count; | ^~~~~~~~~ ps2_hdd.h:52:3: error: unknown type name 'u_int16_t' 52 | u_int16_t type; | ^~~~~~~~~ apa.h:64:3: error: unknown type name 'u_int32_t' 64 | u_int32_t part_count; | ^~~~~~~~~ ps2_hdd.h:53:3: error: unknown type name 'u_int16_t' 53 | u_int16_t flags; /* PS2_PART_FLAG_* */ | ^~~~~~~~~ apa.h:70:3: error: unknown type name 'u_int32_t' 70 | u_int32_t size_in_kb; | ^~~~~~~~~ apa.h:70:3: error: unknown type name 'u_int32_t' 70 | u_int32_t size_in_kb; | ^~~~~~~~~ ps2_hdd.h:54:3: error: unknown type name 'u_int32_t' 54 | u_int32_t nsub; /* No. of sub-partitions (stored in main partition) */ | ^~~~~~~~~ progress.h:104:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 104 | u_int64_t curr); | ^~~~~~~~~ | uint64_t osal.h:114:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 114 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t ps2_hdd.h:56:3: error: unknown type name 'u_int32_t' 56 | u_int32_t main; /* For sub-partitions, main partition sector address */ | ^~~~~~~~~ apa.h:79:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 79 | u_int32_t apa_partition_checksum (const ps2_partition_header_t *part); | ^~~~~~~~~ | uint32_t apa.h:79:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 79 | u_int32_t apa_partition_checksum (const ps2_partition_header_t *part); | ^~~~~~~~~ | uint32_t osal.h:100:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | /*@out@*/ u_int32_t *size_in_bytes); | ^~~~~~~~~ | uint32_t apa.h:95:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 95 | /*@out@*/ u_int32_t *partition_index); | ^~~~~~~~~ | uint32_t osal.h:103:17: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 103 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t apa.h:95:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 95 | /*@out@*/ u_int32_t *partition_index); | ^~~~~~~~~ | uint32_t osal.h:106:14: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 106 | /*@out@*/ u_int64_t *size_in_bytes); | ^~~~~~~~~ | uint64_t apa.h:100:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | u_int32_t size_in_mb, | ^~~~~~~~~ | uint32_t apa.h:100:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | u_int32_t size_in_mb, | ^~~~~~~~~ | uint32_t osal.h:109:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 109 | u_int64_t abs_pos); | ^~~~~~~~~ | uint64_t osal.h:113:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 113 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t apa.h:102:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 102 | /*@out@*/ u_int32_t *new_partition_start, | ^~~~~~~~~ | uint32_t ps2_hdd.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t number; /* For sub-partitions, sub-partition number */ | ^~~~~~~~~ gmake: *** [Makefile:191: progress.o] Error 1 ps2_hdd.h:58:3: error: unknown type name 'u_int16_t' 58 | u_int16_t unknown2; | ^~~~~~~~~ ps2_hdd.h:67:5: error: unknown type name 'u_int32_t' 67 | u_int32_t data_start; /* Some sort of MBR data; position in sectors*/ | ^~~~~~~~~ ps2_hdd.h:68:5: error: unknown type name 'u_int32_t' 68 | u_int32_t data_len; /* Length also in sectors */ | ^~~~~~~~~ osal.h:118:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 118 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t ps2_hdd.h:74:5: error: unknown type name 'u_int32_t' 74 | u_int32_t boot_elf_installed; | ^~~~~~~~~ ps2_hdd.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t boot_elf_lba; | ^~~~~~~~~ ps2_hdd.h:76:5: error: unknown type name 'u_int32_t' 76 | u_int32_t boot_elf_byte_size; | ^~~~~~~~~ apa.h:102:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 102 | /*@out@*/ u_int32_t *new_partition_start, | ^~~~~~~~~ | uint32_t ps2_hdd.h:77:5: error: unknown type name 'u_int32_t' 77 | u_int32_t boot_elf_checksum; | ^~~~~~~~~ ps2_hdd.h:78:5: error: unknown type name 'u_int32_t' 78 | u_int32_t boot_elf_virtual_addr; | ^~~~~~~~~ ps2_hdd.h:79:5: error: unknown type name 'u_int32_t' 79 | u_int32_t boot_elf_start_addr; | ^~~~~~~~~ osal.h:119:13: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 119 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t ps2_hdd.h:82:5: error: unknown type name 'u_int32_t' 82 | u_int32_t toxic_flags; | ^~~~~~~~~ ps2_hdd.h:86:5: error: unknown type name 'u_int32_t' 86 | u_int32_t start;/* Sector address */ | ^~~~~~~~~ ps2_hdd.h:87:5: error: unknown type name 'u_int32_t' 87 | u_int32_t length;/* Sector count */ | ^~~~~~~~~ In file included from hdl.c:30: hdl.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t layer_break; | ^~~~~~~~~ osal.h:124:55: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 124 | /*@special@*/ /*@only@*/ /*@null@*/ void* osal_alloc (u_int32_t bytes) /*@allocates result@*/; | ^~~~~~~~~ | uint32_t hdl.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t start_sector; | ^~~~~~~~~ hdl.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t raw_size_in_kb; | ^~~~~~~~~ hdl.h:60:3: error: unknown type name 'u_int32_t' 60 | u_int32_t alloc_size_in_kb; | ^~~~~~~~~ hdl.h:65:3: error: unknown type name 'u_int32_t' 65 | u_int32_t count; | ^~~~~~~~~ hdl.h:67:3: error: unknown type name 'u_int32_t' 67 | u_int32_t total_chunks; | ^~~~~~~~~ hdl.h:68:3: error: unknown type name 'u_int32_t' 68 | u_int32_t free_chunks; | ^~~~~~~~~ In file included from hdl.h:31, from common.h:33, from isofs.c:28: apa.h:55:3: error: unknown type name 'u_int32_t' 55 | u_int32_t size_in_mb; | ^~~~~~~~~ apa.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t total_chunks; | ^~~~~~~~~ apa.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t allocated_chunks; | ^~~~~~~~~ apa.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t free_chunks; | ^~~~~~~~~ apa.h:63:3: error: unknown type name 'u_int32_t' 63 | u_int32_t part_alloc_; | ^~~~~~~~~ apa.h:64:3: error: unknown type name 'u_int32_t' 64 | u_int32_t part_count; | ^~~~~~~~~ osal.h:134:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 134 | u_int64_t offset, | ^~~~~~~~~ | uint64_t apa.h:70:3: error: unknown type name 'u_int32_t' 70 | u_int32_t size_in_kb; | ^~~~~~~~~ hdl.h:110:3: error: unknown type name 'u_int32_t' 110 | u_int32_t count; | ^~~~~~~~~ hdl.h:111:3: error: unknown type name 'u_int32_t' 111 | u_int32_t size_in_kb; | ^~~~~~~~~ hdl.h:114:5: error: unknown type name 'u_int32_t' 114 | u_int32_t start, len; | ^~~~~~~~~ osal.h:135:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t length) /*@allocates *mm@*/ /*@defines *mm@*/; | ^~~~~~~~~ | uint32_t In file included from common.h:32, from iin_img_base.c:31: hio.h:42:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 42 | /*@out@*/ u_int32_t *size_in_kb); | ^~~~~~~~~ | uint32_t osal.h:145:3: error: unknown type name 'u_int64_t' 145 | u_int64_t capacity; /* -1 if not ready */ | ^~~~~~~~~ osal.h:152:3: error: unknown type name 'u_int32_t' 152 | u_int32_t allocated, used; | ^~~~~~~~~ hdl.h:121:11: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 121 | u_int32_t partition_index, | ^~~~~~~~~ | uint32_t osal.h:114:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 114 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t apa.h:79:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 79 | u_int32_t apa_partition_checksum (const ps2_partition_header_t *part); | ^~~~~~~~~ | uint32_t osal.h:118:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 118 | u_int32_t bytes, | ^~~~~~~~~ | uint32_t hdl.h:127:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 127 | u_int32_t starting_partition_sector, | ^~~~~~~~~ | uint32_t In file included from common.h:30, from hdl_dump.c:44: progress.h:55:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 55 | u_int64_t highres_time_val (const highres_time_t *cl); | ^~~~~~~~~ | uint64_t hio.h:45:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 45 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t In file included from common.h:30, from common.c:28: progress.h:55:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 55 | u_int64_t highres_time_val (const highres_time_t *cl); | ^~~~~~~~~ | uint64_t progress.h:66:3: error: unknown type name 'u_int64_t' 66 | u_int64_t start_, elapsed_; /* highres_time_val */ | ^~~~~~~~~ progress.h:67:3: error: unknown type name 'u_int64_t' 67 | u_int64_t offset_; /* of the current block, absolute */ | ^~~~~~~~~ progress.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t how_much; | ^~~~~~~~~ progress.h:66:3: error: unknown type name 'u_int64_t' 66 | u_int64_t start_, elapsed_; /* highres_time_val */ | ^~~~~~~~~ progress.h:76:5: error: unknown type name 'u_int64_t' 76 | u_int64_t when; /* highres_time_val */ | ^~~~~~~~~ progress.h:67:3: error: unknown type name 'u_int64_t' 67 | u_int64_t offset_; /* of the current block, absolute */ | ^~~~~~~~~ osal.h:119:13: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 119 | /*@out@*/ u_int32_t *stored); | ^~~~~~~~~ | uint32_t progress.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t how_much; | ^~~~~~~~~ progress.h:76:5: error: unknown type name 'u_int64_t' 76 | u_int64_t when; /* highres_time_val */ | ^~~~~~~~~ progress.h:78:3: error: unknown type name 'u_int32_t' 78 | u_int32_t hist_pos_; | ^~~~~~~~~ progress.h:79:3: error: unknown type name 'u_int64_t' 79 | u_int64_t hist_sum_; /* = select sum (how_much) from history_ */ | ^~~~~~~~~ hio.h:46:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t apa.h:95:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 95 | /*@out@*/ u_int32_t *partition_index); | ^~~~~~~~~ | uint32_t progress.h:78:3: error: unknown type name 'u_int32_t' 78 | u_int32_t hist_pos_; | ^~~~~~~~~ progress.h:85:3: error: unknown type name 'u_int64_t' 85 | u_int64_t total, curr; /* in bytes */ | ^~~~~~~~~ hdl.h:135:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t starting_partition_sector); | ^~~~~~~~~ | uint32_t progress.h:79:3: error: unknown type name 'u_int64_t' 79 | u_int64_t hist_sum_; /* = select sum (how_much) from history_ */ | ^~~~~~~~~ progress.h:85:3: error: unknown type name 'u_int64_t' 85 | u_int64_t total, curr; /* in bytes */ | ^~~~~~~~~ osal.h:124:55: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 124 | /*@special@*/ /*@only@*/ /*@null@*/ void* osal_alloc (u_int32_t bytes) /*@allocates result@*/; | ^~~~~~~~~ | uint32_t hio.h:48:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 48 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t progress.h:99:5: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 99 | u_int64_t total); | ^~~~~~~~~ | uint64_t In file included from hdl.c:34: common.h:54:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 54 | u_int64_t bytes, | ^~~~~~~~~ | uint64_t progress.h:99:5: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 99 | u_int64_t total); | ^~~~~~~~~ | uint64_t osal.h:134:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 134 | u_int64_t offset, | ^~~~~~~~~ | uint64_t hio.h:51:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 51 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t apa.h:100:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | u_int32_t size_in_mb, | ^~~~~~~~~ | uint32_t common.h:55:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | u_int32_t buff_size, | ^~~~~~~~~ | uint32_t hio.h:52:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t progress.h:104:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 104 | u_int64_t curr); | ^~~~~~~~~ | uint64_t progress.h:104:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 104 | u_int64_t curr); | ^~~~~~~~~ | uint64_t osal.h:135:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t length) /*@allocates *mm@*/ /*@defines *mm@*/; | ^~~~~~~~~ | uint32_t apa.h:102:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 102 | /*@out@*/ u_int32_t *new_partition_start, | ^~~~~~~~~ | uint32_t osal.h:145:3: error: unknown type name 'u_int64_t' 145 | u_int64_t capacity; /* -1 if not ready */ | ^~~~~~~~~ osal.h:152:3: error: unknown type name 'u_int32_t' 152 | u_int32_t allocated, used; | ^~~~~~~~~ common.h:61:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 61 | /*@out@*/ u_int32_t *len); | ^~~~~~~~~ | uint32_t hio.h:54:18: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 54 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t hio.h:70:3: error: unknown type name 'hio_stat_t' 70 | hio_stat_t stat; | ^~~~~~~~~~ hio.h:71:3: error: unknown type name 'hio_read_t' 71 | hio_read_t read; | ^~~~~~~~~~ hio.h:72:3: error: unknown type name 'hio_write_t' 72 | hio_write_t write; | ^~~~~~~~~~~ In file included from common.h:33, from isofs.c:28: hdl.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t layer_break; | ^~~~~~~~~ hdl.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t start_sector; | ^~~~~~~~~ common.h:65:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 65 | u_int32_t len); | ^~~~~~~~~ | uint32_t hdl.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t raw_size_in_kb; | ^~~~~~~~~ hdl.h:60:3: error: unknown type name 'u_int32_t' 60 | u_int32_t alloc_size_in_kb; | ^~~~~~~~~ hdl.h:65:3: error: unknown type name 'u_int32_t' 65 | u_int32_t count; | ^~~~~~~~~ hdl.h:67:3: error: unknown type name 'u_int32_t' 67 | u_int32_t total_chunks; | ^~~~~~~~~ hdl.h:68:3: error: unknown type name 'u_int32_t' 68 | u_int32_t free_chunks; | ^~~~~~~~~ In file included from common.h:30, from apa.c:32: progress.h:55:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 55 | u_int64_t highres_time_val (const highres_time_t *cl); | ^~~~~~~~~ | uint64_t progress.h:66:3: error: unknown type name 'u_int64_t' 66 | u_int64_t start_, elapsed_; /* highres_time_val */ | ^~~~~~~~~ In file included from apa.h:28, from hdl.h:31, from common.h:33, from iin_img_base.c:31: ps2_hdd.h:32:3: error: unknown type name 'u_int8_t' 32 | u_int8_t unused; | ^~~~~~~~ progress.h:67:3: error: unknown type name 'u_int64_t' 67 | u_int64_t offset_; /* of the current block, absolute */ | ^~~~~~~~~ ps2_hdd.h:33:3: error: unknown type name 'u_int8_t' 33 | u_int8_t sec; | ^~~~~~~~ ps2_hdd.h:34:3: error: unknown type name 'u_int8_t' 34 | u_int8_t min; | ^~~~~~~~ progress.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t how_much; | ^~~~~~~~~ ps2_hdd.h:35:3: error: unknown type name 'u_int8_t' 35 | u_int8_t hour; | ^~~~~~~~ progress.h:76:5: error: unknown type name 'u_int64_t' 76 | u_int64_t when; /* highres_time_val */ | ^~~~~~~~~ ps2_hdd.h:36:3: error: unknown type name 'u_int8_t' 36 | u_int8_t day; | ^~~~~~~~ common.h:70:4: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 70 | u_int64_t max_size, | ^~~~~~~~~ | uint64_t hdl.h:110:3: error: unknown type name 'u_int32_t' 110 | u_int32_t count; | ^~~~~~~~~ In file included from common.h:31, from hdl_dump.c:44: iin.h:46:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | /*@out@*/ u_int32_t *sector_size, | ^~~~~~~~~ | uint32_t progress.h:78:3: error: unknown type name 'u_int32_t' 78 | u_int32_t hist_pos_; | ^~~~~~~~~ ps2_hdd.h:37:3: error: unknown type name 'u_int8_t' 37 | u_int8_t month; | ^~~~~~~~ hdl.h:111:3: error: unknown type name 'u_int32_t' 111 | u_int32_t size_in_kb; | ^~~~~~~~~ progress.h:79:3: error: unknown type name 'u_int64_t' 79 | u_int64_t hist_sum_; /* = select sum (how_much) from history_ */ | ^~~~~~~~~ ps2_hdd.h:38:3: error: unknown type name 'u_int16_t' 38 | u_int16_t year; | ^~~~~~~~~ hdl.h:114:5: error: unknown type name 'u_int32_t' 114 | u_int32_t start, len; | ^~~~~~~~~ progress.h:85:3: error: unknown type name 'u_int64_t' 85 | u_int64_t total, curr; /* in bytes */ | ^~~~~~~~~ ps2_hdd.h:44:3: error: unknown type name 'u_int32_t' 44 | u_int32_t checksum; /* Sum of all 256 words, assuming checksum==0 */ | ^~~~~~~~~ In file included from common.h:31, from common.c:28: iin.h:46:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | /*@out@*/ u_int32_t *sector_size, | ^~~~~~~~~ | uint32_t iin.h:47:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 47 | /*@out@*/ u_int32_t *num_sectors); | ^~~~~~~~~ | uint32_t common.h:84:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 84 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t ps2_hdd.h:45:3: error: unknown type name 'u_int8_t' 45 | u_int8_t magic [4]; /* PS2_PARTITION_MAGIC */ | ^~~~~~~~ hdl.h:121:11: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 121 | u_int32_t partition_index, | ^~~~~~~~~ | uint32_t progress.h:99:5: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 99 | u_int64_t total); | ^~~~~~~~~ | uint64_t iin.h:52:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t progress.h:104:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 104 | u_int64_t curr); | ^~~~~~~~~ | uint64_t iin.h:53:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 53 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t iin.h:55:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | /*@out@*/ u_int32_t *length); | ^~~~~~~~~ | uint32_t iin.h:67:3: error: unknown type name 'iin_stat_t' 67 | iin_stat_t stat; | ^~~~~~~~~~ iin.h:68:3: error: unknown type name 'iin_read_t' 68 | iin_read_t read; | ^~~~~~~~~~ iin.h:47:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 47 | /*@out@*/ u_int32_t *num_sectors); | ^~~~~~~~~ | uint32_t In file included from common.h:33, from hdl_dump.c:44: hdl.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t layer_break; | ^~~~~~~~~ hdl.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t start_sector; | ^~~~~~~~~ hdl.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t raw_size_in_kb; | ^~~~~~~~~ hdl.h:60:3: error: unknown type name 'u_int32_t' 60 | u_int32_t alloc_size_in_kb; | ^~~~~~~~~ iin.h:52:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t ps2_hdd.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t next; /* Sector address of next partition */ | ^~~~~~~~~ ps2_hdd.h:47:3: error: unknown type name 'u_int32_t' 47 | u_int32_t prev; /* Sector address of previous partition */ | ^~~~~~~~~ hdl.h:127:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 127 | u_int32_t starting_partition_sector, | ^~~~~~~~~ | uint32_t ps2_hdd.h:50:3: error: unknown type name 'u_int32_t' 50 | u_int32_t start; /* Sector address of this partition */ | ^~~~~~~~~ ps2_hdd.h:51:3: error: unknown type name 'u_int32_t' 51 | u_int32_t length; /* Sector count */ | ^~~~~~~~~ ps2_hdd.h:52:3: error: unknown type name 'u_int16_t' 52 | u_int16_t type; | ^~~~~~~~~ ps2_hdd.h:53:3: error: unknown type name 'u_int16_t' 53 | u_int16_t flags; /* PS2_PART_FLAG_* */ | ^~~~~~~~~ ps2_hdd.h:54:3: error: unknown type name 'u_int32_t' 54 | u_int32_t nsub; /* No. of sub-partitions (stored in main partition) */ | ^~~~~~~~~ ps2_hdd.h:56:3: error: unknown type name 'u_int32_t' 56 | u_int32_t main; /* For sub-partitions, main partition sector address */ | ^~~~~~~~~ ps2_hdd.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t number; /* For sub-partitions, sub-partition number */ | ^~~~~~~~~ common.h:85:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 85 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t ps2_hdd.h:58:3: error: unknown type name 'u_int16_t' 58 | u_int16_t unknown2; | ^~~~~~~~~ iin.h:53:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 53 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t hdl.h:135:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t starting_partition_sector); | ^~~~~~~~~ | uint32_t ps2_hdd.h:67:5: error: unknown type name 'u_int32_t' 67 | u_int32_t data_start; /* Some sort of MBR data; position in sectors*/ | ^~~~~~~~~ ps2_hdd.h:68:5: error: unknown type name 'u_int32_t' 68 | u_int32_t data_len; /* Length also in sectors */ | ^~~~~~~~~ ps2_hdd.h:74:5: error: unknown type name 'u_int32_t' 74 | u_int32_t boot_elf_installed; | ^~~~~~~~~ ps2_hdd.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t boot_elf_lba; | ^~~~~~~~~ ps2_hdd.h:76:5: error: unknown type name 'u_int32_t' 76 | u_int32_t boot_elf_byte_size; | ^~~~~~~~~ ps2_hdd.h:77:5: error: unknown type name 'u_int32_t' 77 | u_int32_t boot_elf_checksum; | ^~~~~~~~~ ps2_hdd.h:78:5: error: unknown type name 'u_int32_t' 78 | u_int32_t boot_elf_virtual_addr; | ^~~~~~~~~ ps2_hdd.h:79:5: error: unknown type name 'u_int32_t' 79 | u_int32_t boot_elf_start_addr; | ^~~~~~~~~ common.h:90:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 90 | u_int32_t input_start_sector, | ^~~~~~~~~ | uint32_t iin.h:55:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | /*@out@*/ u_int32_t *length); | ^~~~~~~~~ | uint32_t In file included from isofs.c:28: common.h:54:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 54 | u_int64_t bytes, | ^~~~~~~~~ | uint64_t ps2_hdd.h:82:5: error: unknown type name 'u_int32_t' 82 | u_int32_t toxic_flags; | ^~~~~~~~~ iin.h:67:3: error: unknown type name 'iin_stat_t' 67 | iin_stat_t stat; | ^~~~~~~~~~ ps2_hdd.h:86:5: error: unknown type name 'u_int32_t' 86 | u_int32_t start;/* Sector address */ | ^~~~~~~~~ iin.h:68:3: error: unknown type name 'iin_read_t' 68 | iin_read_t read; | ^~~~~~~~~~ ps2_hdd.h:87:5: error: unknown type name 'u_int32_t' 87 | u_int32_t length;/* Sector count */ | ^~~~~~~~~ common.h:91:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 91 | u_int32_t output_start_sector, | ^~~~~~~~~ | uint32_t common.h:55:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | u_int32_t buff_size, | ^~~~~~~~~ | uint32_t In file included from hdl.h:31, from common.h:33, from iin_img_base.c:31: apa.h:55:3: error: unknown type name 'u_int32_t' 55 | u_int32_t size_in_mb; | ^~~~~~~~~ apa.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t total_chunks; | ^~~~~~~~~ apa.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t allocated_chunks; | ^~~~~~~~~ apa.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t free_chunks; | ^~~~~~~~~ apa.h:63:3: error: unknown type name 'u_int32_t' 63 | u_int32_t part_alloc_; | ^~~~~~~~~ apa.h:64:3: error: unknown type name 'u_int32_t' 64 | u_int32_t part_count; | ^~~~~~~~~ apa.h:70:3: error: unknown type name 'u_int32_t' 70 | u_int32_t size_in_kb; | ^~~~~~~~~ common.h:92:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 92 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t common.h:61:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 61 | /*@out@*/ u_int32_t *len); | ^~~~~~~~~ | uint32_t hdl.h:65:3: error: unknown type name 'u_int32_t' 65 | u_int32_t count; | ^~~~~~~~~ hdl.h:67:3: error: unknown type name 'u_int32_t' 67 | u_int32_t total_chunks; | ^~~~~~~~~ hdl.h:68:3: error: unknown type name 'u_int32_t' 68 | u_int32_t free_chunks; | ^~~~~~~~~ common.h:65:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 65 | u_int32_t len); | ^~~~~~~~~ | uint32_t hdl.h:110:3: error: unknown type name 'u_int32_t' 110 | u_int32_t count; | ^~~~~~~~~ In file included from common.h:31, from apa.c:32: iin.h:46:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | /*@out@*/ u_int32_t *sector_size, | ^~~~~~~~~ | uint32_t hdl.h:111:3: error: unknown type name 'u_int32_t' 111 | u_int32_t size_in_kb; | ^~~~~~~~~ hdl.h:114:5: error: unknown type name 'u_int32_t' 114 | u_int32_t start, len; | ^~~~~~~~~ common.h:70:4: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 70 | u_int64_t max_size, | ^~~~~~~~~ | uint64_t apa.h:79:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 79 | u_int32_t apa_partition_checksum (const ps2_partition_header_t *part); | ^~~~~~~~~ | uint32_t common.h:84:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 84 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t hdl.h:121:11: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 121 | u_int32_t partition_index, | ^~~~~~~~~ | uint32_t apa.h:95:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 95 | /*@out@*/ u_int32_t *partition_index); | ^~~~~~~~~ | uint32_t In file included from common.h:32, from common.c:28: hio.h:42:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 42 | /*@out@*/ u_int32_t *size_in_kb); | ^~~~~~~~~ | uint32_t iin.h:47:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 47 | /*@out@*/ u_int32_t *num_sectors); | ^~~~~~~~~ | uint32_t common.h:85:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 85 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t apa.h:100:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | u_int32_t size_in_mb, | ^~~~~~~~~ | uint32_t hio.h:45:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 45 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t iin.h:52:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t hdl.h:127:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 127 | u_int32_t starting_partition_sector, | ^~~~~~~~~ | uint32_t common.h:90:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 90 | u_int32_t input_start_sector, | ^~~~~~~~~ | uint32_t apa.h:102:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 102 | /*@out@*/ u_int32_t *new_partition_start, | ^~~~~~~~~ | uint32_t hio.h:46:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t iin.h:53:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 53 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t common.h:91:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 91 | u_int32_t output_start_sector, | ^~~~~~~~~ | uint32_t In file included from common.h:33, from iin_img_base.c:31: hdl.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t layer_break; | ^~~~~~~~~ hdl.h:135:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t starting_partition_sector); | ^~~~~~~~~ | uint32_t iin.h:55:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | /*@out@*/ u_int32_t *length); | ^~~~~~~~~ | uint32_t hio.h:48:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 48 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t hdl.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t start_sector; | ^~~~~~~~~ iin.h:67:3: error: unknown type name 'iin_stat_t' 67 | iin_stat_t stat; | ^~~~~~~~~~ hdl.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t raw_size_in_kb; | ^~~~~~~~~ iin.h:68:3: error: unknown type name 'iin_read_t' 68 | iin_read_t read; | ^~~~~~~~~~ hdl.h:60:3: error: unknown type name 'u_int32_t' 60 | u_int32_t alloc_size_in_kb; | ^~~~~~~~~ common.h:92:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 92 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t hdl.h:65:3: error: unknown type name 'u_int32_t' 65 | u_int32_t count; | ^~~~~~~~~ hdl.h:67:3: error: unknown type name 'u_int32_t' 67 | u_int32_t total_chunks; | ^~~~~~~~~ hdl.h:68:3: error: unknown type name 'u_int32_t' 68 | u_int32_t free_chunks; | ^~~~~~~~~ hio.h:51:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 51 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t In file included from hdl_dump.c:44: common.h:54:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 54 | u_int64_t bytes, | ^~~~~~~~~ | uint64_t hdl.h:110:3: error: unknown type name 'u_int32_t' 110 | u_int32_t count; | ^~~~~~~~~ hdl.h:111:3: error: unknown type name 'u_int32_t' 111 | u_int32_t size_in_kb; | ^~~~~~~~~ hdl.h:114:5: error: unknown type name 'u_int32_t' 114 | u_int32_t start, len; | ^~~~~~~~~ hio.h:52:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t isofs.c:41:18: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 41 | /*@out@*/ u_int64_t *pvd_start_addr, | ^~~~~~~~~ | uint64_t common.h:55:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | u_int32_t buff_size, | ^~~~~~~~~ | uint32_t hio.h:54:18: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 54 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t isofs.c:42:18: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 42 | /*@out@*/ u_int64_t *ptr_start_addr, | ^~~~~~~~~ | uint64_t hdl.h:121:11: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 121 | u_int32_t partition_index, | ^~~~~~~~~ | uint32_t hio.h:70:3: error: unknown type name 'hio_stat_t' 70 | hio_stat_t stat; | ^~~~~~~~~~ hio.h:71:3: error: unknown type name 'hio_read_t' 71 | hio_read_t read; | ^~~~~~~~~~ hio.h:72:3: error: unknown type name 'hio_write_t' 72 | hio_write_t write; | ^~~~~~~~~~~ In file included from common.h:32, from apa.c:32: hio.h:42:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 42 | /*@out@*/ u_int32_t *size_in_kb); | ^~~~~~~~~ | uint32_t common.h:61:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 61 | /*@out@*/ u_int32_t *len); | ^~~~~~~~~ | uint32_t hdl.h:127:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 127 | u_int32_t starting_partition_sector, | ^~~~~~~~~ | uint32_t In file included from apa.h:28, from hdl.h:31, from common.h:33, from common.c:28: ps2_hdd.h:32:3: error: unknown type name 'u_int8_t' 32 | u_int8_t unused; | ^~~~~~~~ hio.h:45:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 45 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t ps2_hdd.h:33:3: error: unknown type name 'u_int8_t' 33 | u_int8_t sec; | ^~~~~~~~ ps2_hdd.h:34:3: error: unknown type name 'u_int8_t' 34 | u_int8_t min; | ^~~~~~~~ ps2_hdd.h:35:3: error: unknown type name 'u_int8_t' 35 | u_int8_t hour; | ^~~~~~~~ ps2_hdd.h:36:3: error: unknown type name 'u_int8_t' 36 | u_int8_t day; | ^~~~~~~~ ps2_hdd.h:37:3: error: unknown type name 'u_int8_t' 37 | u_int8_t month; | ^~~~~~~~ isofs.c:108:8: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 108 | u_int64_t ptr_start_addr, | ^~~~~~~~~ | uint64_t ps2_hdd.h:38:3: error: unknown type name 'u_int16_t' 38 | u_int16_t year; | ^~~~~~~~~ common.h:65:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 65 | u_int32_t len); | ^~~~~~~~~ | uint32_t hdl.h:135:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t starting_partition_sector); | ^~~~~~~~~ | uint32_t hio.h:46:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t isofs.c:109:18: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 109 | /*@out@*/ u_int64_t *root_start_addr) | ^~~~~~~~~ | uint64_t hio.h:48:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 48 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t In file included from iin_img_base.c:31: common.h:54:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 54 | u_int64_t bytes, | ^~~~~~~~~ | uint64_t isofs.c:162:8: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 162 | u_int64_t dir_start_addr, | ^~~~~~~~~ | uint64_t hio.h:51:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 51 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t common.h:55:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | u_int32_t buff_size, | ^~~~~~~~~ | uint32_t hio.h:52:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 52 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t isofs.c:164:18: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 164 | /*@out@*/ u_int64_t *file_start_addr, | ^~~~~~~~~ | uint64_t common.h:61:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 61 | /*@out@*/ u_int32_t *len); | ^~~~~~~~~ | uint32_t hio.h:54:18: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 54 | /*@out@*/ u_int32_t *bytes); | ^~~~~~~~~ | uint32_t isofs.c:165:18: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 165 | /*@out@*/ u_int64_t *file_length) | ^~~~~~~~~ | uint64_t hio.h:70:3: error: unknown type name 'hio_stat_t' 70 | hio_stat_t stat; | ^~~~~~~~~~ hio.h:71:3: error: unknown type name 'hio_read_t' 71 | hio_read_t read; | ^~~~~~~~~~ hio.h:72:3: error: unknown type name 'hio_write_t' 72 | hio_write_t write; | ^~~~~~~~~~~ common.h:65:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 65 | u_int32_t len); | ^~~~~~~~~ | uint32_t ps2_hdd.h:44:3: error: unknown type name 'u_int32_t' 44 | u_int32_t checksum; /* Sum of all 256 words, assuming checksum==0 */ | ^~~~~~~~~ ps2_hdd.h:45:3: error: unknown type name 'u_int8_t' 45 | u_int8_t magic [4]; /* PS2_PARTITION_MAGIC */ | ^~~~~~~~ isofs.c:227:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 227 | u_int32_t length, | ^~~~~~~~~ | uint32_t ps2_hdd.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t next; /* Sector address of next partition */ | ^~~~~~~~~ ps2_hdd.h:47:3: error: unknown type name 'u_int32_t' 47 | u_int32_t prev; /* Sector address of previous partition */ | ^~~~~~~~~ In file included from apa.h:28, from hdl.h:31, from common.h:33, from apa.c:32: ps2_hdd.h:32:3: error: unknown type name 'u_int8_t' 32 | u_int8_t unused; | ^~~~~~~~ ps2_hdd.h:50:3: error: unknown type name 'u_int32_t' 50 | u_int32_t start; /* Sector address of this partition */ | ^~~~~~~~~ common.h:70:4: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 70 | u_int64_t max_size, | ^~~~~~~~~ | uint64_t ps2_hdd.h:33:3: error: unknown type name 'u_int8_t' 33 | u_int8_t sec; | ^~~~~~~~ ps2_hdd.h:51:3: error: unknown type name 'u_int32_t' 51 | u_int32_t length; /* Sector count */ | ^~~~~~~~~ ps2_hdd.h:34:3: error: unknown type name 'u_int8_t' 34 | u_int8_t min; | ^~~~~~~~ ps2_hdd.h:52:3: error: unknown type name 'u_int16_t' 52 | u_int16_t type; | ^~~~~~~~~ ps2_hdd.h:35:3: error: unknown type name 'u_int8_t' 35 | u_int8_t hour; | ^~~~~~~~ ps2_hdd.h:53:3: error: unknown type name 'u_int16_t' 53 | u_int16_t flags; /* PS2_PART_FLAG_* */ | ^~~~~~~~~ ps2_hdd.h:36:3: error: unknown type name 'u_int8_t' 36 | u_int8_t day; | ^~~~~~~~ common.h:70:4: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 70 | u_int64_t max_size, | ^~~~~~~~~ | uint64_t ps2_hdd.h:37:3: error: unknown type name 'u_int8_t' 37 | u_int8_t month; | ^~~~~~~~ ps2_hdd.h:54:3: error: unknown type name 'u_int32_t' 54 | u_int32_t nsub; /* No. of sub-partitions (stored in main partition) */ | ^~~~~~~~~ isofs.c:276:4: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 276 | u_int64_t file_start_addr, | ^~~~~~~~~ | uint64_t ps2_hdd.h:38:3: error: unknown type name 'u_int16_t' 38 | u_int16_t year; | ^~~~~~~~~ ps2_hdd.h:56:3: error: unknown type name 'u_int32_t' 56 | u_int32_t main; /* For sub-partitions, main partition sector address */ | ^~~~~~~~~ ps2_hdd.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t number; /* For sub-partitions, sub-partition number */ | ^~~~~~~~~ ps2_hdd.h:58:3: error: unknown type name 'u_int16_t' 58 | u_int16_t unknown2; | ^~~~~~~~~ ps2_hdd.h:44:3: error: unknown type name 'u_int32_t' 44 | u_int32_t checksum; /* Sum of all 256 words, assuming checksum==0 */ | ^~~~~~~~~ ps2_hdd.h:45:3: error: unknown type name 'u_int8_t' 45 | u_int8_t magic [4]; /* PS2_PARTITION_MAGIC */ | ^~~~~~~~ ps2_hdd.h:67:5: error: unknown type name 'u_int32_t' 67 | u_int32_t data_start; /* Some sort of MBR data; position in sectors*/ | ^~~~~~~~~ ps2_hdd.h:68:5: error: unknown type name 'u_int32_t' 68 | u_int32_t data_len; /* Length also in sectors */ | ^~~~~~~~~ ps2_hdd.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t next; /* Sector address of next partition */ | ^~~~~~~~~ ps2_hdd.h:74:5: error: unknown type name 'u_int32_t' 74 | u_int32_t boot_elf_installed; | ^~~~~~~~~ ps2_hdd.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t boot_elf_lba; | ^~~~~~~~~ ps2_hdd.h:47:3: error: unknown type name 'u_int32_t' 47 | u_int32_t prev; /* Sector address of previous partition */ | ^~~~~~~~~ ps2_hdd.h:76:5: error: unknown type name 'u_int32_t' 76 | u_int32_t boot_elf_byte_size; | ^~~~~~~~~ ps2_hdd.h:77:5: error: unknown type name 'u_int32_t' 77 | u_int32_t boot_elf_checksum; | ^~~~~~~~~ ps2_hdd.h:78:5: error: unknown type name 'u_int32_t' 78 | u_int32_t boot_elf_virtual_addr; | ^~~~~~~~~ ps2_hdd.h:79:5: error: unknown type name 'u_int32_t' 79 | u_int32_t boot_elf_start_addr; | ^~~~~~~~~ common.h:84:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 84 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t isofs.c:277:4: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 277 | u_int64_t file_length, | ^~~~~~~~~ | uint64_t ps2_hdd.h:50:3: error: unknown type name 'u_int32_t' 50 | u_int32_t start; /* Sector address of this partition */ | ^~~~~~~~~ ps2_hdd.h:51:3: error: unknown type name 'u_int32_t' 51 | u_int32_t length; /* Sector count */ | ^~~~~~~~~ ps2_hdd.h:82:5: error: unknown type name 'u_int32_t' 82 | u_int32_t toxic_flags; | ^~~~~~~~~ ps2_hdd.h:52:3: error: unknown type name 'u_int16_t' 52 | u_int16_t type; | ^~~~~~~~~ common.h:84:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 84 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t ps2_hdd.h:86:5: error: unknown type name 'u_int32_t' 86 | u_int32_t start;/* Sector address */ | ^~~~~~~~~ ps2_hdd.h:53:3: error: unknown type name 'u_int16_t' 53 | u_int16_t flags; /* PS2_PART_FLAG_* */ | ^~~~~~~~~ ps2_hdd.h:87:5: error: unknown type name 'u_int32_t' 87 | u_int32_t length;/* Sector count */ | ^~~~~~~~~ ps2_hdd.h:54:3: error: unknown type name 'u_int32_t' 54 | u_int32_t nsub; /* No. of sub-partitions (stored in main partition) */ | ^~~~~~~~~ common.h:85:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 85 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t ps2_hdd.h:56:3: error: unknown type name 'u_int32_t' 56 | u_int32_t main; /* For sub-partitions, main partition sector address */ | ^~~~~~~~~ ps2_hdd.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t number; /* For sub-partitions, sub-partition number */ | ^~~~~~~~~ ps2_hdd.h:58:3: error: unknown type name 'u_int16_t' 58 | u_int16_t unknown2; | ^~~~~~~~~ In file included from hdl.h:31, from common.h:33, from common.c:28: apa.h:55:3: error: unknown type name 'u_int32_t' 55 | u_int32_t size_in_mb; | ^~~~~~~~~ apa.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t total_chunks; | ^~~~~~~~~ apa.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t allocated_chunks; | ^~~~~~~~~ apa.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t free_chunks; | ^~~~~~~~~ apa.h:63:3: error: unknown type name 'u_int32_t' 63 | u_int32_t part_alloc_; | ^~~~~~~~~ common.h:85:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 85 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t apa.h:64:3: error: unknown type name 'u_int32_t' 64 | u_int32_t part_count; | ^~~~~~~~~ ps2_hdd.h:67:5: error: unknown type name 'u_int32_t' 67 | u_int32_t data_start; /* Some sort of MBR data; position in sectors*/ | ^~~~~~~~~ apa.h:70:3: error: unknown type name 'u_int32_t' 70 | u_int32_t size_in_kb; | ^~~~~~~~~ ps2_hdd.h:68:5: error: unknown type name 'u_int32_t' 68 | u_int32_t data_len; /* Length also in sectors */ | ^~~~~~~~~ common.h:90:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 90 | u_int32_t input_start_sector, | ^~~~~~~~~ | uint32_t isofs.c: In function 'isofs_detect_media_type': ps2_hdd.h:74:5: error: unknown type name 'u_int32_t' 74 | u_int32_t boot_elf_installed; | ^~~~~~~~~ isofs.c:297:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 297 | u_int32_t len = 0; | ^~~~~~~~~ | uint32_t ps2_hdd.h:75:5: error: unknown type name 'u_int32_t' 75 | u_int32_t boot_elf_lba; | ^~~~~~~~~ ps2_hdd.h:76:5: error: unknown type name 'u_int32_t' 76 | u_int32_t boot_elf_byte_size; | ^~~~~~~~~ ps2_hdd.h:77:5: error: unknown type name 'u_int32_t' 77 | u_int32_t boot_elf_checksum; | ^~~~~~~~~ common.h:90:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 90 | u_int32_t input_start_sector, | ^~~~~~~~~ | uint32_t common.h:91:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 91 | u_int32_t output_start_sector, | ^~~~~~~~~ | uint32_t ps2_hdd.h:78:5: error: unknown type name 'u_int32_t' 78 | u_int32_t boot_elf_virtual_addr; | ^~~~~~~~~ isofs.c:298:16: error: called object is not a function or function pointer 298 | int result = iin->read (iin, 16, 1, &buf, &len); | ^~~ apa.h:79:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 79 | u_int32_t apa_partition_checksum (const ps2_partition_header_t *part); | ^~~~~~~~~ | uint32_t ps2_hdd.h:79:5: error: unknown type name 'u_int32_t' 79 | u_int32_t boot_elf_start_addr; | ^~~~~~~~~ ps2_hdd.h:82:5: error: unknown type name 'u_int32_t' 82 | u_int32_t toxic_flags; | ^~~~~~~~~ ps2_hdd.h:86:5: error: unknown type name 'u_int32_t' 86 | u_int32_t start;/* Sector address */ | ^~~~~~~~~ common.h:92:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 92 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t ps2_hdd.h:87:5: error: unknown type name 'u_int32_t' 87 | u_int32_t length;/* Sector count */ | ^~~~~~~~~ common.h:91:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 91 | u_int32_t output_start_sector, | ^~~~~~~~~ | uint32_t apa.h:95:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 95 | /*@out@*/ u_int32_t *partition_index); | ^~~~~~~~~ | uint32_t iin_img_base.c:39:3: error: unknown type name 'u_int32_t' 39 | u_int32_t offset_s, length_s; /* in IIN_SECTOR_SIZE-based sectors */ | ^~~~~~~~~ iin_img_base.c:40:3: error: unknown type name 'u_int64_t' 40 | u_int64_t skip; /* number of bytes to skip at the begining of the input (header?) */ | ^~~~~~~~~ iin_img_base.c:42:3: error: unknown type name 'u_int32_t' 42 | u_int32_t device_sector_size; /* sector size of the device where the input is located */ | ^~~~~~~~~ common.h:92:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 92 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t iin_img_base.c:54:3: error: unknown type name 'u_int32_t' 54 | u_int32_t raw_sector_size, raw_skip_offset; | ^~~~~~~~~ In file included from hdl.h:31, from common.h:33, from apa.c:32: apa.h:55:3: error: unknown type name 'u_int32_t' 55 | u_int32_t size_in_mb; | ^~~~~~~~~ iin_img_base.c:55:3: error: unknown type name 'u_int32_t' 55 | u_int32_t offset_s; | ^~~~~~~~~ apa.h:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t total_chunks; | ^~~~~~~~~ iin_img_base.c:57:3: error: unknown type name 'u_int32_t' 57 | u_int32_t num_parts, alloc_parts; | ^~~~~~~~~ apa.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t allocated_chunks; | ^~~~~~~~~ apa.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t free_chunks; | ^~~~~~~~~ apa.h:63:3: error: unknown type name 'u_int32_t' 63 | u_int32_t part_alloc_; | ^~~~~~~~~ apa.h:64:3: error: unknown type name 'u_int32_t' 64 | u_int32_t part_count; | ^~~~~~~~~ apa.h:100:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | u_int32_t size_in_mb, | ^~~~~~~~~ | uint32_t apa.h:70:3: error: unknown type name 'u_int32_t' 70 | u_int32_t size_in_kb; | ^~~~~~~~~ isofs.c: In function 'isofs_get_ps2_cdvd_info': In file included from hdl_dump.c:47: isofs.h:42:3: error: unknown type name 'u_int64_t' 42 | u_int64_t layer_pvd; | ^~~~~~~~~ isofs.c:317:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 317 | u_int64_t pvd_start_addr, ptr_start_addr, root_start_addr; | ^~~~~~~~~ | uint64_t apa.h:102:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 102 | /*@out@*/ u_int32_t *new_partition_start, | ^~~~~~~~~ | uint32_t apa.h:79:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 79 | u_int32_t apa_partition_checksum (const ps2_partition_header_t *part); | ^~~~~~~~~ | uint32_t In file included from common.h:33, from common.c:28: hdl.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t layer_break; | ^~~~~~~~~ isofs.c:318:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 318 | u_int64_t system_cnf_start_addr, system_cnf_length; | ^~~~~~~~~ | uint64_t In file included from hdl_dump.c:53: aligned.h:43:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 43 | u_int32_t sector_size, /* device sector size - each file I/O should be aligned */ | ^~~~~~~~~ | uint32_t hdl.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t start_sector; | ^~~~~~~~~ hdl.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t raw_size_in_kb; | ^~~~~~~~~ hdl.h:60:3: error: unknown type name 'u_int32_t' 60 | u_int32_t alloc_size_in_kb; | ^~~~~~~~~ hdl.h:65:3: error: unknown type name 'u_int32_t' 65 | u_int32_t count; | ^~~~~~~~~ hdl.h:67:3: error: unknown type name 'u_int32_t' 67 | u_int32_t total_chunks; | ^~~~~~~~~ hdl.h:68:3: error: unknown type name 'u_int32_t' 68 | u_int32_t free_chunks; | ^~~~~~~~~ apa.h:95:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 95 | /*@out@*/ u_int32_t *partition_index); | ^~~~~~~~~ | uint32_t aligned.h:44:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 44 | u_int32_t buffer_size_in_sectors); /* 32 is good enough */ | ^~~~~~~~~ | uint32_t hdl.h:110:3: error: unknown type name 'u_int32_t' 110 | u_int32_t count; | ^~~~~~~~~ hdl.h:111:3: error: unknown type name 'u_int32_t' 111 | u_int32_t size_in_kb; | ^~~~~~~~~ iin_img_base.c:81:6: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 81 | u_int32_t length_s, | ^~~~~~~~~ | uint32_t hdl.h:114:5: error: unknown type name 'u_int32_t' 114 | u_int32_t start, len; | ^~~~~~~~~ apa.h:100:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | u_int32_t size_in_mb, | ^~~~~~~~~ | uint32_t isofs.c:324:14: warning: implicit declaration of function 'isofs_find_pvd_addr' [-Wimplicit-function-declaration] 324 | result = isofs_find_pvd_addr (iin, &pvd_start_addr, &ptr_start_addr, | ^~~~~~~~~~~~~~~~~~~ aligned.h:48:3: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 48 | u_int64_t offset, | ^~~~~~~~~ | uint64_t iin_img_base.c:82:6: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 82 | u_int64_t skip, | ^~~~~~~~~ | uint64_t hdl.h:121:11: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 121 | u_int32_t partition_index, | ^~~~~~~~~ | uint32_t apa.h:102:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 102 | /*@out@*/ u_int32_t *new_partition_start, | ^~~~~~~~~ | uint32_t In file included from common.h:33, from apa.c:32: hdl.h:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t layer_break; | ^~~~~~~~~ aligned.h:50:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 50 | u_int32_t dest_size, | ^~~~~~~~~ | uint32_t iin_img_base.c:83:6: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 83 | u_int32_t device_sector_size) | ^~~~~~~~~ | uint32_t hdl.h:58:3: error: unknown type name 'u_int32_t' 58 | u_int32_t start_sector; | ^~~~~~~~~ hdl.h:59:3: error: unknown type name 'u_int32_t' 59 | u_int32_t raw_size_in_kb; | ^~~~~~~~~ hdl.h:60:3: error: unknown type name 'u_int32_t' 60 | u_int32_t alloc_size_in_kb; | ^~~~~~~~~ isofs.c:332:14: warning: implicit declaration of function 'isofs_get_root_addr' [-Wimplicit-function-declaration] 332 | result = isofs_get_root_addr (iin, ptr_start_addr, &root_start_addr); | ^~~~~~~~~~~~~~~~~~~ hdl.h:65:3: error: unknown type name 'u_int32_t' 65 | u_int32_t count; | ^~~~~~~~~ hdl.h:67:3: error: unknown type name 'u_int32_t' 67 | u_int32_t total_chunks; | ^~~~~~~~~ hdl.h:127:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 127 | u_int32_t starting_partition_sector, | ^~~~~~~~~ | uint32_t hdl.h:68:3: error: unknown type name 'u_int32_t' 68 | u_int32_t free_chunks; | ^~~~~~~~~ aligned.h:51:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 51 | u_int32_t *length); | ^~~~~~~~~ | uint32_t iin_img_base.c:128:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 128 | u_int32_t length_s) | ^~~~~~~~~ | uint32_t hdl.h:135:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t starting_partition_sector); | ^~~~~~~~~ | uint32_t isofs.c:335:14: warning: implicit declaration of function 'isofs_get_file_addr' [-Wimplicit-function-declaration] 335 | result = isofs_get_file_addr (iin, root_start_addr, "SYSTEM.CNF;1", | ^~~~~~~~~~~~~~~~~~~ iin_img_base.c:137:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 137 | /*@out@*/ u_int32_t *sector_size, | ^~~~~~~~~ | uint32_t In file included from common.c:28: common.h:54:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 54 | u_int64_t bytes, | ^~~~~~~~~ | uint64_t iin_img_base.c:138:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 138 | /*@out@*/ u_int32_t *num_sectors) | ^~~~~~~~~ | uint32_t isofs.c:339:14: warning: implicit declaration of function 'isofs_parse_config_cnf' [-Wimplicit-function-declaration] 339 | result = isofs_parse_config_cnf (iin, system_cnf_start_addr, | ^~~~~~~~~~~~~~~~~~~~~~ hdl.h:110:3: error: unknown type name 'u_int32_t' 110 | u_int32_t count; | ^~~~~~~~~ hdl.h:111:3: error: unknown type name 'u_int32_t' 111 | u_int32_t size_in_kb; | ^~~~~~~~~ hdl.h:114:5: error: unknown type name 'u_int32_t' 114 | u_int32_t start, len; | ^~~~~~~~~ hdl.h:121:11: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 121 | u_int32_t partition_index, | ^~~~~~~~~ | uint32_t hdl.h:127:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 127 | u_int32_t starting_partition_sector, | ^~~~~~~~~ | uint32_t hdl.h:135:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 135 | u_int32_t starting_partition_sector); | ^~~~~~~~~ | uint32_t common.h:55:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | u_int32_t buff_size, | ^~~~~~~~~ | uint32_t In file included from apa.c:32: common.h:54:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 54 | u_int64_t bytes, | ^~~~~~~~~ | uint64_t common.h:55:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 55 | u_int32_t buff_size, | ^~~~~~~~~ | uint32_t common.h:61:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 61 | /*@out@*/ u_int32_t *len); | ^~~~~~~~~ | uint32_t iin_img_base.c:154:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 154 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t common.h:61:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 61 | /*@out@*/ u_int32_t *len); | ^~~~~~~~~ | uint32_t common.h:65:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 65 | u_int32_t len); | ^~~~~~~~~ | uint32_t hdl_dump.c: In function 'show_apa_slice': iin_img_base.c:155:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 155 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t common.h:70:4: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 70 | u_int64_t max_size, | ^~~~~~~~~ | uint64_t common.h:65:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 65 | u_int32_t len); | ^~~~~~~~~ | uint32_t hdl_dump.c:115:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 115 | u_int32_t i; | ^~~~~~~~~ | uint32_t iin_img_base.c:157:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 157 | /*@out@*/ u_int32_t *length) | ^~~~~~~~~ | uint32_t common.h:70:4: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 70 | u_int64_t max_size, | ^~~~~~~~~ | uint64_t common.h:84:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 84 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t common.h:85:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 85 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t common.h:84:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 84 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t common.h:90:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 90 | u_int32_t input_start_sector, | ^~~~~~~~~ | uint32_t common.h:85:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 85 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t iin_img_base.c: In function 'img_base_close': iin_img_base.c:299:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 299 | u_int32_t i; | ^~~~~~~~~ | uint32_t common.h:91:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 91 | u_int32_t output_start_sector, | ^~~~~~~~~ | uint32_t common.h:90:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 90 | u_int32_t input_start_sector, | ^~~~~~~~~ | uint32_t common.h:92:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 92 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t common.h:91:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 91 | u_int32_t output_start_sector, | ^~~~~~~~~ | uint32_t common.h:92:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 92 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t iin_img_base.c: At top level: hdl_dump.c: In function 'show_apa_slice2': hdl_dump.c:149:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 149 | u_int32_t i; | ^~~~~~~~~ | uint32_t iin_img_base.c:330:17: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 330 | img_base_alloc (u_int32_t raw_sector_size, | ^~~~~~~~~ | uint32_t apa.c:46:3: error: unknown type name 'u_int32_t' 46 | u_int32_t sector; | ^~~~~~~~~ apa.c:47:3: error: unknown type name 'u_int32_t' 47 | u_int32_t size_in_mb; | ^~~~~~~~~ hdl_dump.c:159:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 159 | u_int32_t j, count = get_u32 (&part->nsub); | ^~~~~~~~~ | uint32_t iin_img_base.c:331:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 331 | u_int32_t raw_skip_offset) | ^~~~~~~~~ | uint32_t apa.c:59:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 59 | u_int32_t | ^~~~~~~~~ | uint32_t hdl_dump.c:160:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 160 | u_int32_t tot_len = get_u32 (&part->length); | ^~~~~~~~~ | uint32_t apa.c: In function 'apa_partition_checksum': apa.c:62:9: error: unknown type name 'u_int32_t' 62 | const u_int32_t *p = (const u_int32_t*) part; | ^~~~~~~~~ apa.c:62:31: error: unknown type name 'u_int32_t' 62 | const u_int32_t *p = (const u_int32_t*) part; | ^~~~~~~~~ apa.c:63:12: error: unknown type name 'u_int32_t' 63 | register u_int32_t i; | ^~~~~~~~~ iin_img_base.c:321:1: warning: 'img_base_dispose_error' defined but not used [-Wunused-function] 321 | img_base_dispose_error (iin_t *iin, | ^~~~~~~~~~~~~~~~~~~~~~ apa.c:64:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 64 | u_int32_t sum = 0; | ^~~~~~~~~ | uint32_t iin_img_base.c:312:1: warning: 'img_base_last_error' defined but not used [-Wunused-function] 312 | img_base_last_error (iin_t *iin) | ^~~~~~~~~~~~~~~~~~~ common.c:99:5: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 99 | u_int64_t bytes, | ^~~~~~~~~ | uint64_t iin_img_base.c:296:1: warning: 'img_base_close' defined but not used [-Wunused-function] 296 | img_base_close (/*@special@*/ /*@only@*/ iin_t *iin) /*@releases iin@*/ | ^~~~~~~~~~~~~~ hdl_dump.c: In function 'show_slice_map': hdl_dump.c:210:9: error: unknown type name 'u_int32_t' 210 | const u_int32_t GIGS_PER_ROW = 8; | ^~~~~~~~~ common.c:100:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 100 | u_int32_t buff_size, | ^~~~~~~~~ | uint32_t common.c:139:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 139 | u_int32_t *len) | ^~~~~~~~~ | uint32_t common.c:180:6: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 180 | u_int32_t len) | ^~~~~~~~~ | uint32_t common.c:199:7: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 199 | u_int64_t max_size, | ^~~~~~~~~ | uint64_t apa.c: In function 'is_apa_partitioned': apa.c:76:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 76 | u_int32_t bytes; | ^~~~~~~~~ | uint32_t common.c: In function 'lookup_file': common.c:286:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 286 | u_int32_t len; | ^~~~~~~~~ | uint32_t hdl_dump.c:211:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 211 | u_int32_t i, count = 0; | ^~~~~~~~~ | uint32_t apa.c:78:16: warning: implicit declaration of function 'osal_read'; did you mean 'osal_free'? [-Wimplicit-function-declaration] 78 | int result = osal_read (handle, &part, sizeof (part), &bytes); | ^~~~~~~~~ | osal_free gmake: *** [Makefile:191: isofs.o] Error 1 common.c: At top level: apa.c: In function 'apa_part_add': apa.c:131:13: error: unknown type name 'u_int32_t' 131 | const u_int32_t GROW = 200; | ^~~~~~~~~ common.c:313:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 313 | u_int32_t start_sector, | ^~~~~~~~~ | uint32_t apa.c:132:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 132 | u_int32_t bytes = (slice->part_alloc_ + GROW) * sizeof (apa_partition_t); | ^~~~~~~~~ | uint32_t common.c:314:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 314 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t apa.c:133:30: warning: implicit declaration of function 'osal_alloc' [-Wimplicit-function-declaration] 133 | apa_partition_t *tmp = osal_alloc (bytes); | ^~~~~~~~~~ common.c:347:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 347 | u_int32_t input_start_sector, | ^~~~~~~~~ | uint32_t apa.c:133:30: warning: initialization of 'apa_partition_t *' {aka 'struct apa_partition_type *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] hdl_dump.c: In function 'show_hdl_toc': hdl_dump.c:281:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 281 | u_int32_t i, j; | ^~~~~~~~~ | uint32_t common.c:348:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 348 | u_int32_t output_start_sector, | ^~~~~~~~~ | uint32_t apa.c: In function 'apa_setup_statistics': common.c:349:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 349 | u_int32_t num_sectors, | ^~~~~~~~~ | uint32_t apa.c:170:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 170 | u_int32_t i; | ^~~~~~~~~ | uint32_t apa.c:174:7: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 174 | map = osal_alloc (slice->total_chunks * sizeof (char)); | ^ apa.c:187:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 187 | u_int32_t part_no = get_u32 (&part->start) / ((128 _MB) / 512); | ^~~~~~~~~ | uint32_t apa.c:188:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 188 | u_int32_t num_parts = get_u32 (&part->length) / ((128 _MB) / 512); | ^~~~~~~~~ | uint32_t apa.c: In function 'apa_slice_read': apa.c:244:9: error: unknown type name 'u_int32_t' 244 | const u_int32_t EXACTLY_128MB = 128 * 1024 * 1024; /* KB */ | ^~~~~~~~~ apa.c:245:9: error: unknown type name 'u_int32_t' 245 | const u_int32_t ALMOST_128MB = EXACTLY_128MB - 1; /* KB */ | ^~~~~~~~~ hdl_dump.c: In function 'show_hdl_game_info': apa.c:246:9: error: unknown type name 'u_int32_t' 246 | const u_int32_t SLICE_2_OFFS = 0x10000000; /* sectors */ | ^~~~~~~~~ hdl_dump.c:383:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 383 | u_int32_t partition_index; | ^~~~~~~~~ | uint32_t apa.c:249:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 249 | u_int32_t total_sectors; | ^~~~~~~~~ | uint32_t apa.c:250:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 250 | u_int32_t bytes; | ^~~~~~~~~ | uint32_t hdl_dump.c:384:13: warning: implicit declaration of function 'apa_find_partition'; did you mean 'apa_delete_partition'? [-Wimplicit-function-declaration] 384 | result = apa_find_partition (toc, game_name, | ^~~~~~~~~~~~~~~~~~ | apa_delete_partition hdl_dump.c:397:14: error: unknown type name 'u_int32_t' 397 | const u_int32_t SLICE_2_OFFS = 0x10000000; /* sectors */ | ^~~~~~~~~ apa.c:252:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 252 | u_int32_t sector = 0; | ^~~~~~~~~ | uint32_t apa.c:253:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 253 | u_int32_t count = 0; | ^~~~~~~~~ | uint32_t hdl_dump.c:398:8: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 398 | u_int8_t buffer[1024]; | ^~~~~~~~ | uint8_t apa.c:277:16: error: called object is not a function or function pointer 277 | result = hio->read (hio, sector + SLICE_2_OFFS * slice_index, 2, | ^~~ hdl_dump.c:399:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 399 | u_int32_t len; | ^~~~~~~~~ | uint32_t apa.c:287:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 287 | u_int32_t start = get_u32 (&part.start); | ^~~~~~~~~ | uint32_t hdl_dump.c:400:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 400 | u_int32_t sect = | ^~~~~~~~~ | uint32_t hdl_dump.c:402:17: error: called object is not a function or function pointer 402 | result = hio->read (hio, sect, 1024 / HDD_SECTOR_SIZE, | ^~~ apa.c: In function 'apa_toc_read_internal': hdl_dump.c:408:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 408 | u_int32_t type = (u_int32_t) buffer[0x00ec]; | ^~~~~~~~~ | uint32_t apa.c:350:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 350 | u_int32_t size_in_kb; | ^~~~~~~~~ | uint32_t apa.c:351:16: error: called object is not a function or function pointer 351 | int result = hio->stat (hio, &size_in_kb); | ^~~ apa.c:354:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 354 | /*@only@*/ apa_toc_t *toc = (apa_toc_t*) osal_alloc (sizeof (apa_toc_t)); | ^ hdl_dump.c:408:23: error: 'u_int32_t' undeclared (first use in this function); did you mean 'uint32_t'? 408 | u_int32_t type = (u_int32_t) buffer[0x00ec]; | ^~~~~~~~~ | uint32_t hdl_dump.c:408:23: note: each undeclared identifier is reported only once for each function it appears in hdl_dump.c:408:34: error: expected ',' or ';' before 'buffer' 408 | u_int32_t type = (u_int32_t) buffer[0x00ec]; | ^~~~~~ apa.c:357:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 357 | u_int32_t bytes; | ^~~~~~~~~ | uint32_t apa.c:362:13: error: called object is not a function or function pointer 362 | result = hio->read (hio, 0, 2, &part, &bytes); | ^~~ hdl_dump.c:409:14: error: expected ';' before 'num_parts' 409 | u_int32_t num_parts = (u_int32_t) buffer[0x00f0]; | ^~~~~~~~~~ | ; hdl_dump.c:410:5: warning: ISO C forbids nested functions [-Wpedantic] 410 | const u_int32_t *data = (u_int32_t*) (buffer + 0x00f5); | ^~~~~ hdl_dump.c:410:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 410 | const u_int32_t *data = (u_int32_t*) (buffer + 0x00f5); | ^ hdl_dump.c:410:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 410 | const u_int32_t *data = (u_int32_t*) (buffer + 0x00f5); | ^~~~~ apa.c: At top level: hdl_dump.c:410:22: error: 'data' undeclared (first use in this function) 410 | const u_int32_t *data = (u_int32_t*) (buffer + 0x00f5); | ^~~~ hdl_dump.c:410:40: error: expected expression before ')' token 410 | const u_int32_t *data = (u_int32_t*) (buffer + 0x00f5); | ^ apa.c:413:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 413 | /*@out@*/ u_int32_t *partition_index) | ^~~~~~~~~ | uint32_t hdl_dump.c:411:14: error: expected ';' before 'i' 411 | u_int32_t i; | ^~ | ; apa.c:446:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 446 | u_int32_t *partition_index) | ^~~~~~~~~ | uint32_t hdl_dump.c:415:9: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 415 | u_int64_t total_size = 0; | ^~~~~~~~~ | uint64_t apa.c:480:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 480 | u_int32_t partitions_used) | ^~~~~~~~~ | uint32_t hdl_dump.c:427:6: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 427 | u_int8_t flags = get_u8 (buffer + 0x00a9); | ^~~~~~~~ | uint8_t hdl_dump.c:430:11: error: 'i' undeclared (first use in this function) 430 | for (i = 0; i < MAX_FLAGS; ++i) | ^ apa.c:490:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 490 | u_int32_t *partitions_used, | ^~~~~~~~~ | uint32_t apa.c:491:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 491 | u_int32_t max_part_size_in_mb) | ^~~~~~~~~ | uint32_t hdl_dump.c:442:6: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 442 | u_int8_t dma_type = get_u8 (buffer + 0x00aa); | ^~~~~~~~ | uint8_t apa.c: In function 'set_ps2fs_datetime': apa.c:535:18: error: 'u_int8_t' undeclared (first use in this function); did you mean 'uint8_t'? 535 | dt->sec = (u_int8_t) tm->tm_sec; | ^~~~~~~~ | uint8_t apa.c:535:18: note: each undeclared identifier is reported only once for each function it appears in hdl_dump.c:445:5: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 445 | u_int8_t dma_mode = get_u8 (buffer + 0x00ab); | ^~~~~~~~ | uint8_t gmake: *** [Makefile:191: iin_img_base.o] Error 1 apa.c:535:27: error: expected ';' before 'tm' 535 | dt->sec = (u_int8_t) tm->tm_sec; | ^~~ | ; apa.c:536:27: error: expected ';' before 'tm' 536 | dt->min = (u_int8_t) tm->tm_min; | ^~~ | ; apa.c:537:28: error: expected ';' before 'tm' 537 | dt->hour = (u_int8_t) tm->tm_hour; | ^~~ | ; apa.c:538:27: error: expected ';' before 'tm' 538 | dt->day = (u_int8_t) tm->tm_mday; | ^~~ | ; hdl_dump.c:460:5: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 460 | u_int8_t dma_mode = get_u8 (buffer + 0x00ab); | ^~~~~~~~ | uint8_t apa.c:540:7: warning: implicit declaration of function 'set_u16'; did you mean 'get_u16'? [-Wimplicit-function-declaration] 540 | set_u16 (&dt->year, (u_int16_t) (tm->tm_year + 1900)); | ^~~~~~~ | get_u16 apa.c:540:28: error: 'u_int16_t' undeclared (first use in this function); did you mean 'uint16_t'? 540 | set_u16 (&dt->year, (u_int16_t) (tm->tm_year + 1900)); | ^~~~~~~~~ | uint16_t hdl_dump.c:475:21: error: 'num_parts' undeclared (first use in this function) 475 | for (i=0; iheader.checksum, apa_partition_checksum (&curr->header)); | ^~~~~~~ | get_u32 apa.c: At top level: hdl_dump.c:584:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 584 | u_int32_t bytes, counter = 0; | ^~~~~~~~~ | uint32_t apa.c:652:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 652 | u_int32_t size_in_mb, | ^~~~~~~~~ | uint32_t apa.c:653:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 653 | /*@out@*/ u_int32_t *new_partition_start, | ^~~~~~~~~ | uint32_t hdl_dump.c:588:17: warning: implicit declaration of function 'osal_write'; did you mean 'osal_free'? [-Wimplicit-function-declaration] 588 | result = osal_write (device, buffer, 1 _MB, &bytes); | ^~~~~~~~~~ | osal_free apa.c:768:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 768 | u_int32_t size_in_mb, | ^~~~~~~~~ | uint32_t hdl_dump.c: In function 'cdvd_info': hdl_dump.c:620:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 620 | u_int32_t num_sectors, sector_size; | ^~~~~~~~~ | uint32_t apa.c:770:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 770 | u_int32_t *new_partition_start, | ^~~~~~~~~ | uint32_t hdl_dump.c:621:16: error: called object is not a function or function pointer 621 | result = iin->stat (iin, §or_size, &num_sectors); | ^~~ apa.c: In function 'apa_delete_partition_from_slice': hdl_dump.c:627:8: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 627 | u_int64_t tot_size = (u_int64_t) num_sectors * sector_size; | ^~~~~~~~~ | uint64_t apa.c:807:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 807 | u_int32_t partition_index; | ^~~~~~~~~ | uint32_t hdl_dump.c:627:30: error: 'u_int64_t' undeclared (first use in this function); did you mean 'uint64_t'? 627 | u_int64_t tot_size = (u_int64_t) num_sectors * sector_size; | ^~~~~~~~~ | uint64_t apa.c:808:16: warning: implicit declaration of function 'apa_find_partition_in_slice'; did you mean 'apa_delete_partition_from_slice'? [-Wimplicit-function-declaration] 808 | int result = apa_find_partition_in_slice (slice, partition_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | apa_delete_partition_from_slice hdl_dump.c:627:41: error: expected ',' or ';' before 'num_sectors' 627 | u_int64_t tot_size = (u_int64_t) num_sectors * sector_size; | ^~~~~~~~~~~ apa.c:812:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 812 | u_int32_t i, count = 1; | ^~~~~~~~~ | uint32_t hdl_dump.c: In function 'compare_iin': apa.c:813:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 813 | u_int32_t pending_deletes[PS2_PART_MAXSUB]; /* starting sectors of parts pending delete */ | ^~~~~~~~~ | uint32_t hdl_dump.c:819:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 819 | u_int32_t len1, len2; | ^~~~~~~~~ | uint32_t hdl_dump.c:821:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 821 | u_int32_t sector = 0; | ^~~~~~~~~ | uint32_t apa.c:829:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 829 | u_int32_t j; | ^~~~~~~~~ | uint32_t hdl_dump.c:822:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 822 | u_int32_t sector_size1, num_sectors1; | ^~~~~~~~~ | uint32_t apa.c:839:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 839 | u_int32_t part_no = get_u32 (&slice->parts [i].header.start) / 262144; /* 262144 sectors == 128M */ | ^~~~~~~~~ | uint32_t hdl_dump.c:823:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 823 | u_int32_t sector_size2, num_sectors2; | ^~~~~~~~~ | uint32_t apa.c:840:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 840 | u_int32_t num_parts = get_u32 (&slice->parts [i].header.length) / 262144; | ^~~~~~~~~ | uint32_t hdl_dump.c:824:4: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 824 | u_int64_t size1, size2; | ^~~~~~~~~ | uint64_t hdl_dump.c:826:13: error: called object is not a function or function pointer 826 | result = iin1->stat (iin1, §or_size1, &num_sectors1); | ^~~~ apa.c: In function 'apa_commit_slice': apa.c:918:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 918 | u_int32_t i; | ^~~~~~~~~ | uint32_t hdl_dump.c:829:17: error: 'u_int64_t' undeclared (first use in this function); did you mean 'uint64_t'? 829 | size1 = (u_int64_t) num_sectors1 * sector_size1; | ^~~~~~~~~ | uint64_t apa.c:923:14: error: unknown type name 'u_int32_t' 923 | const u_int32_t SLICE_2_OFFS = 0x10000000; /* sectors */ | ^~~~~~~~~ hdl_dump.c:829:27: error: expected ';' before 'num_sectors1' 829 | size1 = (u_int64_t) num_sectors1 * sector_size1; | ^~~~~~~~~~~~~ | ; hdl_dump.c:830:17: error: called object is not a function or function pointer 830 | result = iin2->stat (iin2, §or_size2, &num_sectors2); | ^~~~ apa.c:924:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 924 | u_int32_t bytes; | ^~~~~~~~~ | uint32_t hdl_dump.c:834:27: error: expected ';' before 'num_sectors2' 834 | size2 = (u_int64_t) num_sectors2 * sector_size2; | ^~~~~~~~~~~~~ | ; apa.c:926:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 926 | u_int32_t sector = (get_u32 (&part->start) + | ^~~~~~~~~ | uint32_t hdl_dump.c:838:3: warning: implicit declaration of function 'pgs_prepare'; did you mean 'pgs_free'? [-Wimplicit-function-declaration] 838 | pgs_prepare (pgs, size1 < size2 ? size1 : size2); | ^~~~~~~~~~~ | pgs_free apa.c:928:17: error: called object is not a function or function pointer 928 | result = hio->write (hio, sector, 2, part, &bytes); | ^~~ hdl_dump.c:849:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 849 | u_int32_t sectors1 = (num_sectors1 > IIN_NUM_SECTORS ? | ^~~~~~~~~ | uint32_t apa.c: In function 'apa_list_problems': hdl_dump.c:851:17: error: called object is not a function or function pointer 851 | result = iin1->read (iin1, sector, sectors1, &data1, &len1); | ^~~~ apa.c:971:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 971 | u_int32_t i, j, k; | ^~~~~~~~~ | uint32_t apa.c:975:9: error: unknown type name 'u_int32_t' 975 | const u_int32_t total_sectors = slice->size_in_mb * 1024 * 2; | ^~~~~~~~~ hdl_dump.c:854:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 854 | u_int32_t sectors2 = (num_sectors2 > IIN_NUM_SECTORS ? | ^~~~~~~~~ | uint32_t hdl_dump.c:856:14: error: called object is not a function or function pointer 856 | result = iin2->read (iin2, sector, sectors2, &data2, &len2); | ^~~~ apa.c:981:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 981 | u_int32_t checksum = apa_partition_checksum (part); | ^~~~~~~~~ | uint32_t hdl_dump.c:859:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 859 | u_int32_t len = (len1 <= len2 ? len1 : len2); /* lesser from the two */ | ^~~~~~~~~ | uint32_t hdl_dump.c:860:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 860 | u_int32_t len_s = len / IIN_SECTOR_SIZE; | ^~~~~~~~~ | uint32_t apa.c:1022:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1022 | u_int32_t count = 0; | ^~~~~~~~~ | uint32_t hdl_dump.c:880:18: warning: implicit declaration of function 'pgs_update'; did you mean 'ddb_update'? [-Wimplicit-function-declaration] 880 | result = pgs_update (pgs, (u_int64_t) sector * IIN_SECTOR_SIZE); | ^~~~~~~~~~ | ddb_update hdl_dump.c:880:46: error: expected ')' before 'sector' 880 | result = pgs_update (pgs, (u_int64_t) sector * IIN_SECTOR_SIZE); | ^~~~~~~ | ) hdl_dump.c: In function 'backup_toc': hdl_dump.c:923:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 923 | u_int32_t size_in_kb; | ^~~~~~~~~ | uint32_t hdl_dump.c:924:16: error: called object is not a function or function pointer 924 | result = in->stat (in, &size_in_kb); | ^~ hdl_dump.c:927:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 927 | u_int32_t sectors = size_in_kb * 2; | ^~~~~~~~~ | uint32_t hdl_dump.c:932:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 932 | u_int32_t sector = 0, bytes; | ^~~~~~~~~ | uint32_t apa.c: In function 'apa_check_slice': apa.c:1104:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1104 | u_int32_t i, j, k; | ^~~~~~~~~ | uint32_t apa.c:1106:9: error: unknown type name 'u_int32_t' 1106 | const u_int32_t total_sectors = slice->size_in_mb * 1024 * 2; | ^~~~~~~~~ hdl_dump.c:935:14: error: called object is not a function or function pointer 935 | result = in->read (in, sector, 2, buf, &bytes); | ^~ hdl_dump.c:941:18: error: called object is not a function or function pointer 941 | result = in->read (in, sector + 2056, 2, | ^~ apa.c:1130:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1130 | u_int32_t count = 0; | ^~~~~~~~~ | uint32_t hdl_dump.c: In function 'restore_toc': hdl_dump.c:977:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 977 | u_int32_t sector = 0; | ^~~~~~~~~ | uint32_t hdl_dump.c:981:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 981 | u_int32_t len; | ^~~~~~~~~ | uint32_t apa.c: In function 'apa_initialize_ex': hdl_dump.c:985:14: error: called object is not a function or function pointer 985 | result = out->write (out, sector, 2, buf, &len); | ^~~ hdl_dump.c:996:18: error: called object is not a function or function pointer 996 | result = out->write (out, sector + 2056, 2, buf, &len); | ^~~ apa.c:1259:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1259 | u_int32_t dummy; | ^~~~~~~~~ | uint32_t hdl_dump.c: In function 'inject': apa.c:1261:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1261 | u_int32_t prev; | ^~~~~~~~~ | uint32_t hdl_dump.c:1051:24: error: 'u_int32_t' undeclared (first use in this function); did you mean 'uint32_t'? 1051 | game.layer_break = (u_int32_t) info.layer_pvd - 16; | ^~~~~~~~~ | uint32_t hdl_dump.c:1051:34: error: expected ';' before 'info' 1051 | game.layer_break = (u_int32_t) info.layer_pvd - 16; | ^~~~~ | ; apa.c:1262:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1262 | u_int32_t next; | ^~~~~~~~~ | uint32_t hdl_dump.c: In function 'install': apa.c:1268:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1268 | u_int32_t mbrelf_length; | ^~~~~~~~~ | uint32_t hdl_dump.c:1101:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1101 | u_int32_t sector_size, num_sectors; | ^~~~~~~~~ | uint32_t apa.c:1270:3: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1270 | u_int8_t *zero = malloc (4 _MB); | ^~~~~~~~ | uint8_t apa.c:1272:12: error: called object is not a function or function pointer 1272 | result = hio->read (hio, 0, 2, buffer, &dummy); | ^~~ apa.c:1273:11: error: 'u_int32_t' undeclared (first use in this function); did you mean 'uint32_t'? 1273 | next = (u_int32_t) get_u32 (buffer + 8); | ^~~~~~~~~ | uint32_t hdl_dump.c:1106:16: error: called object is not a function or function pointer 1106 | result = iin->stat (iin, §or_size, &num_sectors); | ^~~ hdl_dump.c:1129:24: error: 'u_int32_t' undeclared (first use in this function); did you mean 'uint32_t'? 1129 | game.layer_break = (u_int32_t) info.layer_pvd - 16; | ^~~~~~~~~ | uint32_t hdl_dump.c:1129:34: error: expected ';' before 'info' 1129 | game.layer_break = (u_int32_t) info.layer_pvd - 16; | ^~~~~ | ; apa.c:1273:21: error: expected ';' before 'get_u32' 1273 | next = (u_int32_t) get_u32 (buffer + 8); | ^~~~~~~~ | ; hdl_dump.c:1140:37: error: 'u_int64_t' undeclared (first use in this function); did you mean 'uint64_t'? 1140 | case mt_unknown: game.is_dvd = ((u_int64_t) sector_size * num_sectors) > (750 _MB) ? 1 : 0; break; | ^~~~~~~~~ | uint64_t apa.c:1274:21: error: expected ';' before 'get_u32' 1274 | prev = (u_int32_t) get_u32 (buffer + 12); | ^~~~~~~~ | ; hdl_dump.c:1140:47: error: expected ')' before 'sector_size' 1140 | case mt_unknown: game.is_dvd = ((u_int64_t) sector_size * num_sectors) > (750 _MB) ? 1 : 0; break; | ~ ^~~~~~~~~~~~ | ) apa.c:1276:12: warning: implicit declaration of function 'read_file' [-Wimplicit-function-declaration] 1276 | result = read_file ("./MBR.KELF", &mbrelf, &mbrelf_length); | ^~~~~~~~~ apa.c:1304:12: error: called object is not a function or function pointer 1304 | result = hio->write (hio, osd_start, 4 _MB / 512, zero, &dummy); | ^~~ hdl_dump.c: In function 'modify': apa.c:1313:10: error: called object is not a function or function pointer 1313 | return (hio->write (hio, 0, 2, &header, &dummy)); | ^~~ hdl_dump.c:1191:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1191 | u_int32_t partition_index = 0; | ^~~~~~~~~ | uint32_t hdl_dump.c:1205:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1205 | u_int32_t start_sector = get_u32 (&toc->slice[slice_index].parts[partition_index].header.start); | ^~~~~~~~~ | uint32_t hdl_dump.c:1206:17: warning: implicit declaration of function 'hdl_modify_game' [-Wimplicit-function-declaration] 1206 | result = hdl_modify_game (hio, toc, slice_index, start_sector, | ^~~~~~~~~~~~~~~ hdl_dump.c: In function 'modify_header': hdl_dump.c:1233:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1233 | u_int32_t partition_index = 0; | ^~~~~~~~~ | uint32_t hdl_dump.c:1239:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1239 | u_int32_t start_sector = get_u32 (&toc->slice[slice_index].parts[partition_index].header.start); | ^~~~~~~~~ | uint32_t hdl_dump.c:1240:17: warning: implicit declaration of function 'hdd_inject_header' [-Wimplicit-function-declaration] 1240 | result = hdd_inject_header (hio, toc, slice_index, start_sector); | ^~~~~~~~~~~~~~~~~ apa.c:1319:1: warning: control reaches end of non-void function [-Wreturn-type] 1319 | } | ^ At top level: apa.c:464:1: warning: 'compare_partitions' defined but not used [-Wunused-function] 464 | compare_partitions (const void *e1, | ^~~~~~~~~~~~~~~~~~ hdl_dump.c: In function 'main': hdl_dump.c:1886:28: warning: implicit declaration of function 'dump_device' [-Wimplicit-function-declaration] 1886 | handle_result_and_exit (dump_device (config, argv[2], argv[3], | ^~~~~~~~~~~ hdl_dump.c:2045:28: warning: implicit declaration of function 'show_apa_cut_out_for_inject' [-Wimplicit-function-declaration] 2045 | handle_result_and_exit (show_apa_cut_out_for_inject (config, argv[2], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake: *** [Makefile:191: apa.o] Error 1 hdl.c:145:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 145 | u_int32_t starting_partition_sector, | ^~~~~~~~~ | uint32_t hdl.c:146:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 146 | u_int32_t size_in_kb, | ^~~~~~~~~ | uint32_t hdl.c:147:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 147 | /*@out@*/ u_int8_t *buffer_4m) | ^~~~~~~~ | uint8_t hdl.c:443:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 443 | u_int32_t starting_partition_sector) | ^~~~~~~~~ | uint32_t hdl.c: In function 'hdl_pname': hdl.c:762:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 762 | u_int32_t game_name_len = 0; | ^~~~~~~~~ | uint32_t hdl.c: In function 'hdl_extract_ex': hdl.c:809:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 809 | u_int32_t partition_index; | ^~~~~~~~~ | uint32_t hdl.c:810:16: warning: implicit declaration of function 'apa_find_partition'; did you mean 'apa_delete_partition'? [-Wimplicit-function-declaration] 810 | result = apa_find_partition (toc, game_name, &slice_index, | ^~~~~~~~~~~~~~~~~~ | apa_delete_partition hdl.c:825:6: warning: implicit declaration of function 'osal_alloc' [-Wimplicit-function-declaration] 825 | osal_alloc ((IIN_NUM_SECTORS + 1) * IIN_SECTOR_SIZE); | ^~~~~~~~~~ hdl.c:825:6: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] hdl.c:829:17: warning: implicit declaration of function 'hdl_read_game_alloc_table' [-Wimplicit-function-declaration] 829 | result = hdl_read_game_alloc_table (hio, toc, slice_index, | ^~~~~~~~~~~~~~~~~~~~~~~~~ hdl.c:834:5: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 834 | u_int64_t total_size = (u_int64_t) gat.size_in_kb * 1024; | ^~~~~~~~~ | uint64_t hdl.c:834:29: error: 'u_int64_t' undeclared (first use in this function); did you mean 'uint64_t'? 834 | u_int64_t total_size = (u_int64_t) gat.size_in_kb * 1024; | ^~~~~~~~~ | uint64_t hdl.c:834:29: note: each undeclared identifier is reported only once for each function it appears in hdl.c:834:40: error: expected ',' or ';' before 'gat' 834 | u_int64_t total_size = (u_int64_t) gat.size_in_kb * 1024; | ^~~ hdl.c:836:5: warning: implicit declaration of function 'pgs_prepare'; did you mean 'pgs_free'? [-Wimplicit-function-declaration] 836 | pgs_prepare (pgs, total_size); | ^~~~~~~~~~~ | pgs_free hdl.c:839:14: warning: implicit declaration of function 'osal_create_file' [-Wimplicit-function-declaration] 839 | result = osal_create_file (output_file, &file, total_size); | ^~~~~~~~~~~~~~~~ hdl.c:842:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 842 | u_int32_t i; | ^~~~~~~~~ | uint32_t hdl.c:843:9: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 843 | u_int8_t *aligned = | ^~~~~~~~ | uint8_t hdl.c:847:6: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 847 | u_int32_t start_s = gat.part[i].start; | ^~~~~~~~~ | uint32_t hdl.c:848:6: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 848 | u_int32_t length_s = gat.part[i].len; | ^~~~~~~~~ | uint32_t hdl.c:849:15: error: expected ';' before 'curr' 849 | u_int64_t curr = 0; | ^~~~~ | ; hdl.c:852:10: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 852 | u_int32_t len; | ^~~~~~~~~ | uint32_t hdl.c:853:10: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 853 | u_int32_t count_s = (length_s < IIN_NUM_SECTORS ? | ^~~~~~~~~ | uint32_t hdl.c:855:19: error: called object is not a function or function pointer 855 | result = hio->read (hio, start_s, count_s, | ^~~ hdl.c:859:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 859 | u_int32_t written; | ^~~~~~~~~ | uint32_t hdl.c:860:16: warning: implicit declaration of function 'osal_write'; did you mean 'osal_free'? [-Wimplicit-function-declaration] 860 | result = osal_write (file, aligned, | ^~~~~~~~~~ | osal_free hdl.c:867:11: error: 'curr' undeclared (first use in this function) 867 | curr += count_s * 512; | ^~~~ hdl.c:868:20: warning: implicit declaration of function 'pgs_update'; did you mean 'ddb_update'? [-Wimplicit-function-declaration] 868 | result = pgs_update (pgs, curr); | ^~~~~~~~~~ | ddb_update gmake: *** [Makefile:191: hdl_dump.o] Error 1 hdl.c: At top level: hdl.c:912:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 912 | u_int32_t starting_partition_sector, | ^~~~~~~~~ | uint32_t hdl.c:914:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 914 | u_int32_t size_in_kb, | ^~~~~~~~~ | uint32_t hdl.c: In function 'hdl_inject': hdl.c:1047:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1047 | u_int32_t sector_size, num_sectors; | ^~~~~~~~~ | uint32_t hdl.c:1048:16: error: called object is not a function or function pointer 1048 | result = iin->stat (iin, §or_size, &num_sectors); | ^~~ hdl.c:1051:4: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1051 | u_int64_t input_size = (u_int64_t) num_sectors * sector_size; | ^~~~~~~~~ | uint64_t hdl.c:1051:28: error: 'u_int64_t' undeclared (first use in this function); did you mean 'uint64_t'? 1051 | u_int64_t input_size = (u_int64_t) num_sectors * sector_size; | ^~~~~~~~~ | uint64_t hdl.c:1051:39: error: expected ',' or ';' before 'num_sectors' 1051 | u_int64_t input_size = (u_int64_t) num_sectors * sector_size; | ^~~~~~~~~~~ hdl.c:1052:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1052 | u_int32_t size_in_kb = (u_int32_t) (input_size / 1024); | ^~~~~~~~~ | uint32_t hdl.c:1052:28: error: 'u_int32_t' undeclared (first use in this function); did you mean 'uint32_t'? 1052 | u_int32_t size_in_kb = (u_int32_t) (input_size / 1024); | ^~~~~~~~~ | uint32_t hdl.c:1053:13: error: expected ';' before 'size_in_mb' 1053 | u_int32_t size_in_mb = | ^~~~~~~~~~~ | ; hdl.c:1055:13: error: expected ';' before 'new_partition_start' 1055 | u_int32_t new_partition_start; | ^~~~~~~~~~~~~~~~~~~~ | ; hdl.c:1068:13: warning: implicit declaration of function 'apa_allocate_space' [-Wimplicit-function-declaration] 1068 | result = apa_allocate_space (toc, details->partition_name, | ^~~~~~~~~~~~~~~~~~ hdl.c:1069:12: error: 'size_in_mb' undeclared (first use in this function); did you mean 'size_in_kb'? 1069 | size_in_mb, &slice_index, | ^~~~~~~~~~ | size_in_kb hdl.c:1070:13: error: 'new_partition_start' undeclared (first use in this function); did you mean 'apa_partition_t'? 1070 | &new_partition_start, | ^~~~~~~~~~~~~~~~~~~ | apa_partition_t hdl.c:1074:17: warning: implicit declaration of function 'inject_data' [-Wimplicit-function-declaration] 1074 | result = inject_data (hio, toc, slice_index, new_partition_start, | ^~~~~~~~~~~ hdl.c: In function 'hdl_ginfo_read': hdl.c:1094:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1094 | u_int32_t i, size; | ^~~~~~~~~ | uint32_t hdl.c:1098:9: error: unknown type name 'u_int32_t' 1098 | const u_int32_t SLICE_2_OFFS = 0x10000000; /* sectors */ | ^~~~~~~~~ hdl.c:1099:9: error: unknown type name 'u_int32_t' 1099 | const u_int32_t HDL_HEADER_OFFS = 0x101000; | ^~~~~~~~~ hdl.c:1102:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1102 | u_int32_t bytes; | ^~~~~~~~~ | uint32_t hdl.c:1103:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1103 | u_int32_t sector = (get_u32 (&part->start) + HDL_HEADER_OFFS / 512 + | ^~~~~~~~~ | uint32_t hdl.c:1106:12: error: called object is not a function or function pointer 1106 | result = hio->read (hio, sector, 2, buffer, &bytes); | ^~~ hdl.c:1111:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1111 | u_int32_t num_parts = (u_int32_t) buffer[0x00f0]; | ^~~~~~~~~ | uint32_t hdl.c:1111:27: error: 'u_int32_t' undeclared (first use in this function); did you mean 'uint32_t'? 1111 | u_int32_t num_parts = (u_int32_t) buffer[0x00f0]; | ^~~~~~~~~ | uint32_t hdl.c:1111:38: error: expected ',' or ';' before 'buffer' 1111 | u_int32_t num_parts = (u_int32_t) buffer[0x00f0]; | ^~~~~~ hdl.c:1112:4: warning: ISO C forbids nested functions [-Wpedantic] 1112 | const u_int32_t *data = (u_int32_t*) (buffer + 0x00f5); | ^~~~~ hdl.c:1112:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 1112 | const u_int32_t *data = (u_int32_t*) (buffer + 0x00f5); | ^ hdl.c:1112:21: error: 'data' undeclared (first use in this function) 1112 | const u_int32_t *data = (u_int32_t*) (buffer + 0x00f5); | ^~~~ hdl.c:1112:39: error: expected expression before ')' token 1112 | const u_int32_t *data = (u_int32_t*) (buffer + 0x00f5); | ^ hdl.c: In function 'hdl_glist_read': hdl.c:1192:11: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1192 | tmp = osal_alloc (sizeof (hdl_game_info_t) * count); | ^ hdl.c:1196:11: warning: assignment to 'hdl_games_list_t *' {aka 'struct hdl_games_list_type *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1196 | *glist = osal_alloc (sizeof (hdl_games_list_t)); | ^ hdl.c: At top level: hdl.c:1295:7: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1295 | u_int32_t partition_index, | ^~~~~~~~~ | uint32_t hdl.c:1333:4: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1333 | u_int32_t starting_partition_sector, | ^~~~~~~~~ | uint32_t hdl.c:116:20: warning: 'HDL_HDR3' defined but not used [-Wunused-variable] 116 | static const char *HDL_HDR3 = | ^~~~~~~~ hdl.c:96:20: warning: 'HDL_HDR2' defined but not used [-Wunused-variable] 96 | static const char *HDL_HDR2 = | ^~~~~~~~ hdl.c:90:20: warning: 'HDL_HDR1' defined but not used [-Wunused-variable] 90 | static const char *HDL_HDR1 = | ^~~~~~~~ hdl.c:87:20: warning: 'HDL_HDR0' defined but not used [-Wunused-variable] 87 | static const char *HDL_HDR0 = | ^~~~~~~~ In file included from hdl.c:38: icon.h:13:22: warning: 'hdloader_icon' defined but not used [-Wunused-variable] 13 | static unsigned char hdloader_icon[HDLOADER_ICON_LEN] = | ^~~~~~~~~~~~~ In file included from hdl.c:37: kelf.h:77:22: warning: 'hdloader_kelf_footer' defined but not used [-Wunused-variable] 77 | static unsigned char hdloader_kelf_footer[HDLOADER_KELF_FOOTER_LEN] = | ^~~~~~~~~~~~~~~~~~~~ kelf.h:15:22: warning: 'hdloader_kelf_header' defined but not used [-Wunused-variable] 15 | static unsigned char hdloader_kelf_header[HDLOADER_KELF_HEADER_LEN] = | ^~~~~~~~~~~~~~~~~~~~ gmake: *** [Makefile:191: hdl.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/hdl-dump *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/hdl-dump