=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for tstools-1.11nb1 mkdir bin mkdir lib mkdir obj gcc -c esfilter.c -o obj/esfilter.o -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o accessunit.o accessunit.c accessunit.c: In function 'maybe_remember_access_unit': accessunit.c:909:25: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] if (verbose) printf("REMEMBER IDR %5d at " OFFSET_T_FORMAT_08 ^~~~~~~~~~~~~~~~~~~~~~ accessunit.c:911:25: start_posn.infile,start_posn.inpacket,num_bytes); ~~~~~~~~~~~~~~~~~ In file included from accessunit.c:32:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld ar -rv lib/libtstools.a accessunit.o ar: creating lib/libtstools.a a - accessunit.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o avs.o avs.c ar -rv lib/libtstools.a avs.o a - avs.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o ac3.o ac3.c ac3.c: In function 'read_next_ac3_frame': ac3.c:95:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr, " (in frame starting at " OFFSET_T_FORMAT ")\n", posn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ac3.c:35:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ac3.c:105:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr, " (in frame starting at " OFFSET_T_FORMAT ")\n", posn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ac3.c:35:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ac3.c:114:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr, " (in frame starting at " OFFSET_T_FORMAT ")\n", posn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ac3.c:35:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ac3.c:123:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr, " (in frame starting at " OFFSET_T_FORMAT ")\n", posn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ac3.c:35:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ar -rv lib/libtstools.a ac3.o a - ac3.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o adts.o adts.c adts.c: In function 'read_next_adts_frame': adts.c:78:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr," (in frame starting at " OFFSET_T_FORMAT ")\n",posn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from adts.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld adts.c:96:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr," (in frame starting at " OFFSET_T_FORMAT ")\n",posn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from adts.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld adts.c:106:12: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] printf(" layer is %d, not 0 (in frame at " OFFSET_T_FORMAT ")\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from adts.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ar -rv lib/libtstools.a adts.o a - adts.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o bitdata.o bitdata.c ar -rv lib/libtstools.a bitdata.o a - bitdata.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o es.o es.c In file included from es.c:39:0: es.c: In function 'report_ES_unit': compat.h:130:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ^ es.c:393:18: note: in expansion of macro 'OFFSET_T_FORMAT_08' fprintf(stream,OFFSET_T_FORMAT_08 "/%4d: ES unit (%02x '%d%d%d%d %d%d%d%d')", ^~~~~~~~~~~~~~~~~~ compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld es.c: In function 'seek_in_PES': es.c:796:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error seeking for PES packet at " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "\n",where.infile); ~~~~~~~~~~~~ In file included from es.c:39:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld es.c:804:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading PES packet at " OFFSET_T_FORMAT "/%d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ where.infile,where.inpacket); ~~~~~~~~~~~~ In file included from es.c:39:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld es.c:812:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error seeking PES packet at " OFFSET_T_FORMAT "/%d: " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " packet ES data is only %d bytes long\n",where.infile, ~~~~~~~~~~~~ In file included from es.c:39:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld es.c: In function 'seek_ES': es.c:880:15: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] "### Error seeking within ES over PES (offset " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "/%d)\n",where.infile,where.inpacket); ~~~~~~~~~~~~ In file included from es.c:39:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ar -rv lib/libtstools.a es.o a - es.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o filter.o filter.c ar -rv lib/libtstools.a filter.o a - filter.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o fmtx.o fmtx.c ar -rv lib/libtstools.a fmtx.o a - fmtx.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o h222.o h222.c ar -rv lib/libtstools.a h222.o a - h222.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o h262.o h262.c In file included from h262.c:34:0: h262.c: In function 'report_h262_item': compat.h:130:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ^ h262.c:168:18: note: in expansion of macro 'OFFSET_T_FORMAT_08' fprintf(stream,OFFSET_T_FORMAT_08 "/%04d: MPEG2 item %02x (", ^~~~~~~~~~~~~~~~~~ compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld h262.c: In function 'maybe_remember_this_picture': h262.c:581:16: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] printf("REMEMBER I picture %5d at " OFFSET_T_FORMAT_08 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ h262.c:583:16: start_posn.infile,start_posn.inpacket,num_bytes); ~~~~~~~~~~~~~~~~~ In file included from h262.c:34:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld h262.c:605:14: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] printf("REMEMBER Sequence header at " OFFSET_T_FORMAT_08 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ h262.c:607:14: start_posn.infile,start_posn.inpacket,num_bytes); ~~~~~~~~~~~~~~~~~ In file included from h262.c:34:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld h262.c: In function 'get_next_h262_single_picture': h262.c:817:26: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! Assuming AFD %x at " OFFSET_T_FORMAT "/%d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~ h262.c:819:19: item->unit.start_posn.infile,item->unit.start_posn.inpacket); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from h262.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ar -rv lib/libtstools.a h262.o a - h262.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o audio.o audio.c ar -rv lib/libtstools.a audio.o a - audio.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o l2audio.o l2audio.c l2audio.c: In function 'peek_frame_header': l2audio.c:145:16: warning: variable 'framesize' set but not used [-Wunused-but-set-variable] unsigned int framesize, framelen; ^~~~~~~~~ l2audio.c:143:25: warning: variable 'sampling' set but not used [-Wunused-but-set-variable] unsigned int bitrate, sampling; ^~~~~~~~ l2audio.c: In function 'read_next_l2audio_frame': l2audio.c:296:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr," (in frame starting at " OFFSET_T_FORMAT ")\n",posn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from l2audio.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld l2audio.c:316:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr," (in frame starting at " OFFSET_T_FORMAT ")\n",posn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from l2audio.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ar -rv lib/libtstools.a l2audio.o a - l2audio.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o misc.o misc.c misc.c: In function 'seek_file': misc.c:300:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error moving (seeking) to position " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from misc.c:53:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld misc.c:306:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error moving (seeking) to position " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from misc.c:53:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld misc.c:306:20: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error moving (seeking) to position " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from misc.c:53:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ar -rv lib/libtstools.a misc.o a - misc.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o nalunit.o nalunit.c nalunit.c: In function 'read_slice_data': nalunit.c:349:12: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] printf("@@ NAL " OFFSET_T_FORMAT_08 "/%04d: size %d\n" ^~~~~~~~~ nalunit.c:351:12: nal->unit.start_posn.infile,nal->unit.start_posn.inpacket, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nalunit.c:40:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld nalunit.c: In function 'read_pic_param_set_data': nalunit.c:528:12: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] printf("@@ PPS " OFFSET_T_FORMAT_08 "/%04d: size %d\n" ^~~~~~~~~ nalunit.c:530:12: nal->unit.start_posn.infile,nal->unit.start_posn.inpacket, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nalunit.c:40:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld nalunit.c: In function 'read_seq_param_set_data': nalunit.c:712:20: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### reserved_zero_5bits not zero (%d) in sequence" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nalunit.c:715:13: nal->unit.start_posn.infile,nal->unit.start_posn.inpacket); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nalunit.c:40:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld nalunit.c:728:12: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] printf("@@ SPS " OFFSET_T_FORMAT_08 "/%04d: size %d\n" ^~~~~~~~~ nalunit.c:730:12: nal->unit.start_posn.infile,nal->unit.start_posn.inpacket, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nalunit.c:40:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld nalunit.c: In function 'read_rbsp_data': nalunit.c:971:12: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] printf("@@ nal " OFFSET_T_FORMAT_08 "/%04d: size %d\n" ^~~~~~~~~ nalunit.c:973:12: nal->unit.start_posn.infile,nal->unit.start_posn.inpacket, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nalunit.c:40:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld nalunit.c:980:20: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading RBSP data for %s NAL (ref idc %x," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nalunit.c:985:13: nal->unit.start_posn.infile, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nalunit.c:40:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld nalunit.c: In function 'report_nal': compat.h:130:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ^ nalunit.c:1195:20: note: in expansion of macro 'OFFSET_T_FORMAT_08' fprintf(stream,OFFSET_T_FORMAT_08 "/%04d: %x/%02x %-20s %u (%s) frame %u", ^~~~~~~~~~~~~~~~~~ compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld compat.h:130:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ^ nalunit.c:1214:20: note: in expansion of macro 'OFFSET_T_FORMAT_08' fprintf(stream,OFFSET_T_FORMAT_08 "/%04d: %x/%02x (%s %u)", ^~~~~~~~~~~~~~~~~~ compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld compat.h:130:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ^ nalunit.c:1224:20: note: in expansion of macro 'OFFSET_T_FORMAT_08' fprintf(stream,OFFSET_T_FORMAT_08 "/%04d: %x/%02x (%s %u)", ^~~~~~~~~~~~~~~~~~ compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld compat.h:130:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ^ nalunit.c:1233:20: note: in expansion of macro 'OFFSET_T_FORMAT_08' fprintf(stream,OFFSET_T_FORMAT_08 "/%04d: %x/%02x (%s)", ^~~~~~~~~~~~~~~~~~ compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld nalunit.c: In function 'setup_NAL_data': nalunit.c:1352:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### NAL forbidden_zero_bit is non-zero, at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nalunit.c:1354:13: nal->unit.start_posn.infile,nal->unit.start_posn.inpacket); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nalunit.c:40:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld compat.h:130:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ^ nalunit.c:1372:20: note: in expansion of macro 'OFFSET_T_FORMAT_08' fprintf(stdout,OFFSET_T_FORMAT_08 "/%04d: NAL unit %d/%d %-20s", ^~~~~~~~~~~~~~~~~~ compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld ar -rv lib/libtstools.a nalunit.o a - nalunit.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o ps.o ps.c ps.c: In function 'build_PS_reader': ps.c:181:13: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] "!!! PS file does not start with pack header\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " First PS pack header is at " OFFSET_T_FORMAT "\n",new->start); ~~~~~~~~~~ In file included from ps.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ps.c: In function 'find_PS_pack_header_start': ps.c:608:22: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr," Found: stream id %02X at " OFFSET_T_FORMAT " (", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream_id,*posn); ~~~~~ In file included from ps.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ps.c: In function 'read_PS_packet_start': ps.c:927:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! PS packet at " OFFSET_T_FORMAT " should start " ^~~~~~~~~~~~~~~~~~~ ps.c:929:13: *posn,buf[0],buf[1],buf[2]); ~~~~~ In file included from ps.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ps.c:940:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! Continuing with PS pack header at " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "\n",*posn); ~~~~~ In file included from ps.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ps.c: In function '_ps_to_ts': ps.c:1754:15: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] "### Error reading data for pack header starting at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ps.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ps.c:1769:17: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] "### Error reading system header starting at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ps.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ps.c:1787:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading PS packet starting at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ps.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ps.c:1801:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error writing audio packet at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ps.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ps.c:1813:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error writing video packet at " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ps.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ar -rv lib/libtstools.a ps.o a - ps.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o pes.o pes.c pes.c: In function 'read_next_PES_packet_from_PS': pes.c:522:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! Unexpected EOF - partial PS packet at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFFSET_T_FORMAT " ignored\n",reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:530:17: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] "### Error reading data for pack header starting at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFFSET_T_FORMAT "\n",reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:540:22: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! Unexpected EOF - partial PS packet at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFFSET_T_FORMAT " ignored\n",reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:547:22: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading PS packet starting at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFFSET_T_FORMAT "\n",reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c: In function 'decide_pids': pes.c:657:26: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! Multiple video streams in TS program %d, PMT" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pes.c:659:42: reader->program_number,reader->posn,reader->video_pid); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:691:26: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! Video streams altered in TS program %d, PMT" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pes.c:693:42: reader->program_number,reader->posn,reader->video_pid); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:716:26: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! Multiple audio streams in TS program %d, PMT" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pes.c:718:42: reader->program_number,reader->posn,reader->audio_pid); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:740:26: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! Audio streams altered in TS program %d, PMT" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pes.c:742:42: reader->program_number,reader->posn,reader->audio_pid); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c: In function 'refine_TS_program_info': pes.c:778:14: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] printf("PMT packet at " OFFSET_T_FORMAT ": first PMT, used as-is\n", ^~~~~~~~~~~~~~~~ reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:811:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! PMT in TS packet at " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~ " replaces previous program information\n",reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:821:12: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] printf("PMT packet at " OFFSET_T_FORMAT ": updating program info\n", ^~~~~~~~~~~~~~~~ reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c: In function 'extract_and_refine_TS_program_info': pes.c:868:14: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] printf("PMT packet at " OFFSET_T_FORMAT ": program number %d (not %d)\n", ^~~~~~~~~~~~~~~~ reader->posn,pmt->program_number,reader->program_number); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c: In function 'find_first_PAT': pes.c:916:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### No programs defined in first PAT (at " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:944:22: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Program %d not found in first PAT at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c: In function 'start_new_PES_packet': pes.c:1095:13: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'offset_t {aka long int}' [-Wformat=] "### Only first %d byte%s of PES packet in its first TS packet," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pes.c:1097:37: (payload_len==1?"":"s"),reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1103:13: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] "### PES data starting in TS packet at " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pes.c:1105:13: reader->posn,payload[0],payload[1],payload[2]); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1132:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error trying to start a new PES packet," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " for TS packet " OFFSET_T_FORMAT "\n",reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1173:22: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr," In %s PES packet, PID %x, starting at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pes.c:1175:19: pid,reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c: In function 'continue_PES_packet': pes.c:1240:22: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! TS packet with PID %04x at " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pes.c:1242:19: pid,reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1269:22: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr," In %s PES packet, PID %x, starting at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pes.c:1271:19: pid,reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c: In function 'read_next_PES_packet_from_TS': pes.c:1403:22: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading TS packet at " OFFSET_T_FORMAT "\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1412:22: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error interpreting TS packet at " OFFSET_T_FORMAT "\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1430:24: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error writing TS packet (PID %04x) at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFFSET_T_FORMAT "\n",pid,reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1454:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! Discarding previous (uncompleted) PMT data at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFFSET_T_FORMAT "\n",reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1463:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"!!! Discarding PMT continuation, no PMT started, at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFFSET_T_FORMAT "\n",reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1474:24: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error %s PMT at " OFFSET_T_FORMAT "\n", ^~~~~~~~~~~~~~~~~~~~~~ pes.c:1476:17: reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1491:17: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] "### Error updating program info from PMT" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " (TS packet at " OFFSET_T_FORMAT ")\n",reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c:1524:24: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error %s PES packet (PID %04x)" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pes.c:1527:21: pid,reader->posn); ~~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld pes.c: In function 'encode_pts_dts': pes.c:2694:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"!!! value " LLU_FORMAT " for %s is more than " LLU_FORMAT ^~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu pes.c:2694:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'uint64_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"!!! value " LLU_FORMAT " for %s is more than " LLU_FORMAT ^~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu pes.c: In function 'report_PES_data_array': pes.c:2936:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%s PTS " LLU_FORMAT,prefix,pts); ^~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu pes.c:2938:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(", DTS " LLU_FORMAT,dts); ^~~~~~~~ In file included from pes.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu pes.c:2993:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%s PTS " LLU_FORMAT,prefix,pts); ^~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu pes.c:2995:18: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(", DTS " LLU_FORMAT,dts); ^~~~~~~~ In file included from pes.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu pes.c: In function 'report_PES_data_array2': pes.c:3123:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(" PTS " LLU_FORMAT "\n",pts); ^~~~~~~~~~ In file included from pes.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu pes.c:3129:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(" DTS " LLU_FORMAT "\n",dts); ^~~~~~~~~~ In file included from pes.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu pes.c:3203:18: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(" PTS " LLU_FORMAT "\n",pts); ^~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu pes.c:3205:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(" DTS " LLU_FORMAT "\n",dts); ^~~~~~~~~~~~ In file included from pes.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu pes.c: In function 'find_ESCR_in_PES': pes.c:3542:9: warning: variable 'packet_length' set but not used [-Wunused-but-set-variable] int packet_length; ^~~~~~~~~~~~~ ar -rv lib/libtstools.a pes.o a - pes.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o pidint.o pidint.c ar -rv lib/libtstools.a pidint.o a - pidint.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o reverse.o reverse.c reverse.c: In function 'debug_reverse_data_problem': reverse.c:329:20: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(tempfile,"Trying to add reverse data [%d] " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:332:17: index,start_posn.infile,start_posn.inpacket,idx, ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c:329:20: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'offset_t {aka long int}' [-Wformat=] fprintf(tempfile,"Trying to add reverse data [%d] " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:333:36: reverse_data->index[idx],reverse_data->start_file[idx], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c:339:24: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'offset_t {aka long int}' [-Wformat=] fprintf(tempfile," %3d: %4d at " OFFSET_T_FORMAT "/%d for %d\n", ^~~~~~~~~~~~~~~~~ reverse.c:341:15: reverse_data->start_file[ii], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c:345:24: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(tempfile," %3d: seqh at " OFFSET_T_FORMAT "/%d for %d\n", ^~~~~~~~~~~~~~~~~~ reverse.c:347:15: reverse_data->start_file[ii], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c: In function 'remember_reverse_h262_data': reverse.c:404:22: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Trying to add reverse data [%d] " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:407:21: index,start_posn.infile,start_posn.inpacket,idx, ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c:404:22: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Trying to add reverse data [%d] " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:408:40: reverse_data->index[idx],reverse_data->start_file[idx], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c: In function 'remember_reverse_h264_data': reverse.c:531:22: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Trying to add reverse data [%d] " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:534:21: index,start_posn.infile,start_posn.inpacket,idx, ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c:531:22: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Trying to add reverse data [%d] " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:535:40: reverse_data->index[idx],reverse_data->start_file[idx], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c: In function 'output_sequence_header': reverse.c:948:12: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] printf("Writing sequence header %2d from " OFFSET_T_FORMAT_08 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:950:22: seq_index,seq_posn.infile,seq_posn.inpacket,seq_len); ~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld reverse.c:955:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading (sequence header) data" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:957:13: seq_posn.infile,seq_posn.inpacket,seq_len); ~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c: In function 'output_from_reverse_data': reverse.c:1044:12: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] printf("Picture [%03d] %4d from " OFFSET_T_FORMAT_08 ^~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:1046:24: which,index,start_posn.infile,start_posn.inpacket,num_bytes); ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld reverse.c:1068:22: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading H.262 picture from " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:1070:15: start_posn.infile,start_posn.inpacket,num_bytes); ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c:1089:22: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading data from " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:1091:15: start_posn.infile,start_posn.inpacket,num_bytes); ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c: In function 'output_in_reverse': reverse.c:1322:14: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] printf("\nPicture [%03d] %4d from " OFFSET_T_FORMAT_08 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:1324:23: ii,index,start_posn.infile,start_posn.inpacket,num_bytes); ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld reverse.c:1330:15: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'offset_t {aka long int}' [-Wformat=] "!!! Start position for reverse item %d does not make sense\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:1333:15: start_posn.infile,start_posn.inpacket,num_bytes,seq_offset); ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c:1429:16: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] printf("Writing picture [%03d] %4d from " OFFSET_T_FORMAT_08 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:1431:25: ii,index,start_posn.infile,start_posn.inpacket,num_bytes); ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld reverse.c:1440:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading H.262 picture from " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:1442:19: start_posn.infile,start_posn.inpacket,num_bytes); ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld reverse.c:1458:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading data from " OFFSET_T_FORMAT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reverse.c:1460:19: start_posn.infile,start_posn.inpacket,num_bytes); ~~~~~~~~~~~~~~~~~ In file included from reverse.c:56:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld ar -rv lib/libtstools.a reverse.o a - reverse.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o ts.o ts.c ts.c: In function 'report_adaptation_field': ts.c:1935:12: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(" .. PCR %12" LLU_FORMAT_STUMP "\n", pcr); ^~~~~~~~~~~~~ In file included from ts.c:40:0: compat.h:138:29: note: format string is defined here #define LLU_FORMAT_STUMP "llu" ts.c: In function 'report_adaptation_timing': ts.c:1965:12: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(" .. PCR %12" LLU_FORMAT_STUMP, pcr); ^~~~~~~~~~~~~ In file included from ts.c:40:0: compat.h:138:29: note: format string is defined here #define LLU_FORMAT_STUMP "llu" ts.c:1975:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(" Discontinuity: PCR was %7" LLU_FORMAT_STUMP ", now %7" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ LLU_FORMAT_STUMP,times->last_pcr,pcr); ~~~~~~~~~~~~~~~ In file included from ts.c:40:0: compat.h:138:29: note: format string is defined here #define LLU_FORMAT_STUMP "llu" ts.c:1975:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(" Discontinuity: PCR was %7" LLU_FORMAT_STUMP ", now %7" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ts.c:40:0: compat.h:138:29: note: format string is defined here #define LLU_FORMAT_STUMP "llu" ts.c:1979:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(" Mean byterate %7" LLU_FORMAT_STUMP, ^~~~~~~~~~~~~~~~~~~ ((packet_count - times->first_pcr_packet) * TS_PACKET_SIZE) * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TWENTY_SEVEN_MHZ / (pcr - times->first_pcr)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ts.c:40:0: compat.h:138:29: note: format string is defined here #define LLU_FORMAT_STUMP "llu" ts.c:1982:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf(" byterate %7" LLU_FORMAT_STUMP, ^~~~~~~~~~~~~~ ((packet_count - times->last_pcr_packet) * TS_PACKET_SIZE) * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TWENTY_SEVEN_MHZ / (pcr - times->last_pcr)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ts.c:40:0: compat.h:138:29: note: format string is defined here #define LLU_FORMAT_STUMP "llu" ar -rv lib/libtstools.a ts.o a - ts.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o tswrite.o tswrite.c tswrite.c: In function 'set_buffer_item_time_pcr': tswrite.c:649:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%06d+%d: PCR %10" LLU_FORMAT_STUMP "\n", ^~~~~~~~~~~~~~~~~~ writer->packet[0].index,ii,writer->packet[ii].pcr); ~~~~~~~~~~~~~~~~~~~~~~ In file included from tswrite.c:56:0: compat.h:138:29: note: format string is defined here #define LLU_FORMAT_STUMP "llu" tswrite.c:672:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%06d+%d: PCR %10" LLU_FORMAT_STUMP ^~~~~~~~~~~~~~~~~~ tswrite.c:675:43: writer->packet[0].index,ii,writer->packet[ii].pcr,pcr_rate, ~~~~~~~~~~~~~~~~~~~~~~ In file included from tswrite.c:56:0: compat.h:138:29: note: format string is defined here #define LLU_FORMAT_STUMP "llu" ar -rv lib/libtstools.a tswrite.o a - tswrite.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o pcap.o pcap.c ar -rv lib/libtstools.a pcap.o a - pcap.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o ethernet.o ethernet.c ar -rv lib/libtstools.a ethernet.o a - ethernet.o gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. -c -o ipv4.o ipv4.c ar -rv lib/libtstools.a ipv4.o a - ipv4.o gcc obj/esfilter.o -o bin/esfilter -Wl,-zrelro -Wl,-R/usr/pkg/lib -g -lm -Llib -ltstools gcc -c ts2es.c -o obj/ts2es.o -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. gcc obj/ts2es.o -o bin/ts2es -Wl,-zrelro -Wl,-R/usr/pkg/lib -g -lm -Llib -ltstools gcc -c es2ts.c -o obj/es2ts.o -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. gcc obj/es2ts.o -o bin/es2ts -Wl,-zrelro -Wl,-R/usr/pkg/lib -g -lm -Llib -ltstools gcc -c esdots.c -o obj/esdots.o -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. gcc obj/esdots.o -o bin/esdots -Wl,-zrelro -Wl,-R/usr/pkg/lib -g -lm -Llib -ltstools gcc -c esmerge.c -o obj/esmerge.o -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. esmerge.c: In function 'merge_with_avs': esmerge.c:252:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("\n%s video frame %5d (@ %.2fs, " LLU_FORMAT ")\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esmerge.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu esmerge.c:324:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("** audio frame %5d (@ %.2fs, " LLU_FORMAT ")\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esmerge.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu esmerge.c: In function 'merge_with_h264': esmerge.c:471:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("\n%s video frame %5d (@ %.2fs, " LLU_FORMAT ")\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esmerge.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu esmerge.c:548:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("** audio frame %5d (@ %.2fs, " LLU_FORMAT ")\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esmerge.c:34:0: compat.h:136:25: note: format string is defined here #define LLU_FORMAT "%llu" ~~~^ %lu gcc obj/esmerge.o -o bin/esmerge -Wl,-zrelro -Wl,-R/usr/pkg/lib -g -lm -Llib -ltstools gcc -c esreport.c -o obj/esreport.o -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. gcc obj/esreport.o -o bin/esreport -Wl,-zrelro -Wl,-R/usr/pkg/lib -g -lm -Llib -ltstools gcc -c esreverse.c -o obj/esreverse.o -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. esreverse.c: In function 'reverse_h262': esreverse.c:138:16: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] printf("%3d: %4d at " OFFSET_T_FORMAT "/%d for %d\n", ^~~~~~~~~~~~~~ esreverse.c:140:16: reverse_data->start_file[ii], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esreverse.c:45:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld esreverse.c:144:14: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] printf("%3d: seqh at " OFFSET_T_FORMAT "/%d for %d\n", ^~~~~~~~~~~~~~~ esreverse.c:146:16: reverse_data->start_file[ii], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esreverse.c:45:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld esreverse.c: In function 'output_parameter_sets': esreverse.c:224:22: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading (sequence parameter set %d) data" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ esreverse.c:226:39: seq_param_dict->ids[ii],posn.infile,posn.inpacket,length); ~~~~~~~~~~~ In file included from esreverse.c:45:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld esreverse.c:252:22: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading (picture parameter set %d) data" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ esreverse.c:254:39: pic_param_dict->ids[ii],posn.infile,posn.inpacket,length); ~~~~~~~~~~~ In file included from esreverse.c:45:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld esreverse.c: In function 'reverse_access_units': esreverse.c:322:14: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'offset_t {aka long int}' [-Wformat=] printf("%3d: %4d at " OFFSET_T_FORMAT "/%d for %d\n", ^~~~~~~~~~~~~~ esreverse.c:324:14: reverse_data->start_file[ii], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esreverse.c:45:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld gcc obj/esreverse.o -o bin/esreverse -Wl,-zrelro -Wl,-R/usr/pkg/lib -g -lm -Llib -ltstools gcc -c ps2ts.c -o obj/ps2ts.o -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. gcc obj/ps2ts.o -o bin/ps2ts -Wl,-zrelro -Wl,-R/usr/pkg/lib -g -lm -Llib -ltstools gcc -c psreport.c -o obj/psreport.o -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I. psreport.c: In function 'report_ps': psreport.c:187:15: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] "### Error reading data for pack header starting at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from psreport.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld psreport.c:193:14: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] printf("\n" OFFSET_T_FORMAT_08 ^~~~ In file included from psreport.c:42:0: compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld psreport.c:193:14: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("\n" OFFSET_T_FORMAT_08 ^~~~ psreport.c:195:40: "/%d) mux rate %d\n",posn,header.scr,header.scr_base, ~~~~~~~~~~ In file included from psreport.c:42:0: compat.h:135:25: note: format string is defined here #define LLD_FORMAT "%lld" ~~~^ %ld psreport.c:193:14: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("\n" OFFSET_T_FORMAT_08 ^~~~ psreport.c:195:51: "/%d) mux rate %d\n",posn,header.scr,header.scr_base, ~~~~~~~~~~~~~~~ In file included from psreport.c:42:0: compat.h:135:25: note: format string is defined here #define LLD_FORMAT "%lld" ~~~^ %ld psreport.c:217:19: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] "### Error reading system header starting at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from psreport.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld compat.h:130:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ^ psreport.c:224:18: note: in expansion of macro 'OFFSET_T_FORMAT_08' printf(OFFSET_T_FORMAT_08 ": System header %d\n", ^~~~~~~~~~~~~~~~~~ compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld psreport.c:243:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'offset_t {aka long int}' [-Wformat=] fprintf(stderr,"### Error reading PS packet starting at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from psreport.c:42:0: compat.h:129:32: note: format string is defined here #define OFFSET_T_FORMAT "%lld" ~~~^ %ld compat.h:130:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'offset_t {aka long int}' [-Wformat=] #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ^ psreport.c:250:16: note: in expansion of macro 'OFFSET_T_FORMAT_08' printf(OFFSET_T_FORMAT_08 ": PS Packet %2d stream %02X (", ^~~~~~~~~~~~~~~~~~ compat.h:130:34: note: format string is defined here #define OFFSET_T_FORMAT_08 "%08lld" // deprecated, because it looks like hex/octal ~~~~~^ %08ld gcc obj/psreport.o -o bin/psreport -Wl,-zrelro -Wl,-R/usr/pkg/lib -g -lm -Llib -ltstools ld: obj/psreport.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(misc.o): relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(ps.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(pes.o): relocation R_X86_64_32 against symbol `__sF' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(pidint.o): relocation R_X86_64_32 against symbol `__sF' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(ts.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(tswrite.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(es.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(h222.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(h262.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(reverse.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(nalunit.o): relocation R_X86_64_32 against symbol `__sF' can not be used when making a PIE object; recompile with -fPIC ld: lib/libtstools.a(bitdata.o): relocation R_X86_64_32 against symbol `__sF' can not be used when making a PIE object; recompile with -fPIC ld: final link failed: nonrepresentable section on output gmake: *** [Makefile:246: bin/psreport] Error 1 rm reverse.o pcap.o ts.o pes.o l2audio.o ps.o h262.o filter.o fmtx.o misc.o es.o adts.o audio.o accessunit.o nalunit.o ac3.o pidint.o ipv4.o h222.o ethernet.o tswrite.o avs.o bitdata.o *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/multimedia/tstools *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/multimedia/tstools