=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/libmpeg3", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libmpeg3-1.8nb1 mkdir -p work mkdir -p work/audio mkdir -p work/video echo -pipe -Os -D_REENTRANT -I. -Ia52dec-0.7.3/include -Ia52dec-0.7.3/liba52 -g > work/c_flags echo -pipe -Os -D_REENTRANT -I. -Ia52dec-0.7.3/include -Ia52dec-0.7.3/liba52 -g -DHAVE_CONFIG_H -Ia52dec-0.7.3/ -Ia52dec-0.7.3/include -Ia52dec-0.7.3/liba52 -Ia52dec-0.7.3/libao -Ia52dec-0.7.3/src > work/a52_flags echo work/audio/ac3.o work/audio/dct.o work/audio/huffman.o work/audio/layer2.o work/audio/layer3.o work/audio/mpeg3audio.o work/audio/pcm.o work/audio/synthesizers.o work/audio/tables.o work/libmpeg3.o work/mpeg3atrack.o work/mpeg3bits.o work/mpeg3css.o work/mpeg3demux.o work/mpeg3ifo.o work/mpeg3io.o work/mpeg3strack.o work/mpeg3title.o work/mpeg3tocutil.o work/mpeg3vtrack.o work/video/getpicture.o work/video/headers.o work/video/idct.o work/video/macroblocks.o work/video/mmxtest.o work/video/motion.o work/video/mpeg3cache.o work/video/mpeg3video.o work/video/output.o work/video/reconstruct.o work/video/seek.o work/video/slice.o work/video/subtitle.o work/video/vlc.o work/workarounds.o work/a52dec-0.7.3/liba52/bit_allocate.o work/a52dec-0.7.3/liba52/bitstream.o work/a52dec-0.7.3/liba52/downmix.o work/a52dec-0.7.3/liba52/imdct.o work/a52dec-0.7.3/liba52/parse.o work/a52dec-0.7.3/libao/audio_out_aif.o work/a52dec-0.7.3/libao/audio_out_float.o work/a52dec-0.7.3/libao/audio_out_null.o work/a52dec-0.7.3/libao/audio_out.o work/a52dec-0.7.3/libao/audio_out_oss.o work/a52dec-0.7.3/libao/audio_out_solaris.o work/a52dec-0.7.3/libao/audio_out_wav.o work/a52dec-0.7.3/libao/float2s16.o work/a52dec-0.7.3/src/getopt.o work/a52dec-0.7.3/test/compare.o > work/objs mkdir -p work/audio work/video work/a52dec-0.7.3/liba52/ work/a52dec-0.7.3/libao/ work/a52dec-0.7.3/src/ work/a52dec-0.7.3/test/ gcc -c `cat work/c_flags` audio/ac3.c -o work/audio/ac3.o gcc -c `cat work/c_flags` audio/dct.c -o work/audio/dct.o In file included from audio/ac3.c:6: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ In file included from audio/dct.c:30: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ audio/ac3.c:13:24: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | mpeg3_ac3_t *result = calloc(1, sizeof(mpeg3_ac3_t)); | ^ audio/ac3.c:13:24: note: include the header or explicitly provide a declaration for 'calloc' audio/ac3.c:24:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | free(audio); | ^ audio/ac3.c:24:2: note: include the header or explicitly provide a declaration for 'free' audio/ac3.c:95:60: warning: format specifies type 'void *' but the argument has type 'int' [-Wformat] 95 | printf("mpeg3_ac3_header: unknown channel code: %p\n", audio->flags & A52_CHANNEL_MASK); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %d audio/ac3.c:116:3: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | frame, | ^~~~~ a52dec-0.7.3/include/a52.h:56:47: note: passing argument to parameter 'buf' here 56 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, | ^ 5 warnings generated. gcc -c `cat work/c_flags` audio/huffman.c -o work/audio/huffman.o gcc -c `cat work/c_flags` audio/layer2.c -o work/audio/layer2.o 1 warning generated. gcc -c `cat work/c_flags` audio/layer3.c -o work/audio/layer3.o In file included from audio/layer2.c:8: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ audio/layer2.c:282:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 282 | if(ba = *bita++) | ~~~^~~~~~~~~ audio/layer2.c:282:16: note: place parentheses around the assignment to silence this warning 282 | if(ba = *bita++) | ^ | ( ) audio/layer2.c:282:16: note: use '==' to turn this assignment into an equality comparison 282 | if(ba = *bita++) | ^ | == audio/layer2.c:392:2: warning: call to undeclared function 'mpeg3bits_use_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 392 | mpeg3bits_use_ptr(audio->stream, frame); | ^ audio/layer2.c:419:12: warning: call to undeclared function 'mpeg3audio_synth_stereo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | mpeg3audio_synth_stereo(audio, | ^ audio/layer2.c:434:12: warning: call to undeclared function 'mpeg3audio_synth_stereo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | mpeg3audio_synth_stereo(audio, | ^ 5 warnings generated. gcc -c `cat work/c_flags` audio/mpeg3audio.c -o work/audio/mpeg3audio.o In file included from audio/layer3.c:3: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ audio/layer3.c:245:12: warning: call to undeclared function 'mpeg3bits_getbitoffset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | int num = mpeg3bits_getbitoffset(audio->stream); | ^ audio/layer3.c:672:2: warning: call to undeclared function 'mpeg3bits_start_reverse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 672 | mpeg3bits_start_reverse(audio->stream); | ^ audio/layer3.c:674:2: warning: call to undeclared function 'mpeg3bits_start_forward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 674 | mpeg3bits_start_forward(audio->stream); | ^ audio/layer3.c:828:6: warning: call to undeclared function 'mpeg3audio_dct36'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 828 | mpeg3audio_dct36(fsIn[0], rawout1, rawout2, mpeg3_win[0], tspnt); | ^ audio/layer3.c:840:7: warning: call to undeclared function 'mpeg3audio_dct12'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 840 | mpeg3audio_dct12(fsIn[sb] ,rawout1 ,rawout2 ,mpeg3_win[2] ,tspnt); | ^ audio/layer3.c:848:7: warning: call to undeclared function 'mpeg3audio_dct36'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 848 | mpeg3audio_dct36(fsIn[sb], rawout1, rawout2, mpeg3_win[bt], tspnt); | ^ audio/layer3.c:1110:3: warning: call to undeclared function 'mpeg3bits_use_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1110 | mpeg3bits_use_ptr(audio->stream, audio->bsbuf); | ^ audio/layer3.c:1299:7: warning: call to undeclared function 'mpeg3audio_synth_stereo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1299 | mpeg3audio_synth_stereo(audio, | ^ audio/layer3.c:1312:7: warning: call to undeclared function 'mpeg3audio_synth_stereo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1312 | mpeg3audio_synth_stereo(audio, | ^ audio/layer3.c:1354:2: warning: call to undeclared function 'mpeg3audio_reset_synths'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1354 | mpeg3audio_reset_synths(audio); | ^ audio/layer3.c:1613:26: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1613 | mpeg3_layer_t *result = calloc(1, sizeof(mpeg3_layer_t)); | ^ audio/layer3.c:1613:26: note: include the header or explicitly provide a declaration for 'calloc' audio/layer3.c:1627:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1627 | free(audio); | ^ audio/layer3.c:1627:2: note: include the header or explicitly provide a declaration for 'free' In file included from audio/mpeg3audio.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ audio/mpeg3audio.c:362:6: warning: passing 'unsigned char[4096]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 362 | audio->packet_buffer, | ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:194:8: note: passing argument to parameter 'frame' here 194 | char *frame, | ^ audio/mpeg3audio.c:374:8: warning: passing 'unsigned char[4096]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 374 | audio->packet_buffer, | ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:187:8: note: passing argument to parameter 'frame' here 187 | char *frame, | ^ audio/mpeg3audio.c:383:8: warning: passing 'unsigned char[4096]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 383 | audio->packet_buffer, | ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:180:8: note: passing argument to parameter 'frame' here 180 | char *frame, | ^ audio/mpeg3audio.c:397:6: warning: passing 'unsigned char[4096]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 397 | audio->packet_buffer, | ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:202:8: note: passing argument to parameter 'frame' here 202 | char *frame, | ^ 5 warnings generated. gcc -c `cat work/c_flags` audio/pcm.c -o work/audio/pcm.o 13 warnings generated. gcc -c `cat work/c_flags` audio/synthesizers.c -o work/audio/synthesizers.o In file included from audio/pcm.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ In file included from audio/synthesizers.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ audio/synthesizers.c:36:6: warning: call to undeclared function 'mpeg3audio_dct64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | mpeg3audio_dct64(buf[1] + ((audio->bo + 1) & 0xf), buf[0] + audio->bo, bandPtr); | ^ audio/synthesizers.c:42:6: warning: call to undeclared function 'mpeg3audio_dct64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | mpeg3audio_dct64(buf[0] + audio->bo, buf[1] + audio->bo + 1, bandPtr); | ^ audio/pcm.c:71:21: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 71 | unsigned char *input = frame + | ^ ~~~~~~~ 72 | PCM_HEADERSIZE + | ~~~~~~~~~~~~~~~~ 73 | audio->bits / 8 * i; | ~~~~~~~~~~~~~~~~~~~ 3 warnings generated. 2 warnings generated. gcc -c `cat work/c_flags` audio/tables.c -o work/audio/tables.o gcc -c `cat work/c_flags` libmpeg3.c -o work/libmpeg3.o In file included from audio/tables.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ In file included from libmpeg3.c:3: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ libmpeg3.c:272:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 272 | } | ^ libmpeg3.c:319:7: warning: call to undeclared function 'mpeg3_read_ifo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | if(mpeg3_read_ifo(file, 0)) | ^ libmpeg3.c:458:3: warning: call to undeclared function 'mpeg3demux_copy_titles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 458 | mpeg3demux_copy_titles(file->demuxer, mpeg3_get_demuxer(old_file)); | ^ libmpeg3.c:470:3: warning: call to undeclared function 'mpeg3_create_title'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 470 | mpeg3_create_title(file->demuxer, 0); | ^ libmpeg3.c:569:3: warning: call to undeclared function 'mpeg3video_set_cpus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 569 | mpeg3video_set_cpus(file->vtrack[i]->video, cpus); | ^ libmpeg3.c:615:3: warning: call to undeclared function 'mpeg3audio_seek_sample'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 615 | mpeg3audio_seek_sample(file->atrack[stream]->audio, sample); | ^ libmpeg3.c:710:3: warning: call to undeclared function 'mpeg3video_seek_frame'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 710 | mpeg3video_seek_frame(file->vtrack[stream]->video, frame); | ^ libmpeg3.c:724:3: warning: call to undeclared function 'mpeg3video_seek_byte'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 724 | mpeg3video_seek_byte(file->vtrack[i]->video, byte); | ^ libmpeg3.c:730:3: warning: call to undeclared function 'mpeg3audio_seek_byte'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 730 | mpeg3audio_seek_byte(file->atrack[i]->audio, byte); | ^ libmpeg3.c:754:10: warning: call to undeclared function 'mpeg3video_previous_frame'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 754 | return mpeg3video_previous_frame(file->vtrack[stream]->video); | ^ libmpeg3.c:855:10: warning: call to undeclared function 'mpeg3video_colormodel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 855 | return mpeg3video_colormodel(file->vtrack[stream]->video); | ^ libmpeg3.c:920:12: warning: call to undeclared function 'mpeg3video_read_yuvframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 920 | result = mpeg3video_read_yuvframe(file->vtrack[stream]->video, | ^ libmpeg3.c:946:12: warning: call to undeclared function 'mpeg3video_read_yuvframe_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 946 | result = mpeg3video_read_yuvframe_ptr(file->vtrack[stream]->video, | ^ libmpeg3.c:1014:12: warning: call to undeclared function 'mpeg3audio_read_raw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1014 | result = mpeg3audio_read_raw(file->atrack[stream]->audio, | ^ libmpeg3.c:1033:12: warning: call to undeclared function 'mpeg3video_read_raw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1033 | result = mpeg3video_read_raw(file->vtrack[stream]->video, | ^ 16 warnings generated. 1 warning generated. gcc -c `cat work/c_flags` mpeg3atrack.c -o work/mpeg3atrack.o gcc -c `cat work/c_flags` mpeg3bits.c -o work/mpeg3bits.o In file included from mpeg3bits.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ In file included from mpeg3atrack.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ mpeg3atrack.c:22:3: warning: call to undeclared function 'mpeg3demux_copy_titles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | mpeg3demux_copy_titles(new_atrack->demuxer, demuxer); | ^ 2 warnings generated. gcc -c `cat work/c_flags` mpeg3css.c -o work/mpeg3css.o 1 warning generated. gcc -c `cat work/c_flags` mpeg3demux.c -o work/mpeg3demux.o In file included from mpeg3demux.c:3: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ gcc -c `cat work/c_flags` mpeg3ifo.c -o work/mpeg3ifo.o mpeg3demux.c:777:6: warning: call to undeclared function 'mpeg3_decrypt_packet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 777 | if(mpeg3_decrypt_packet(title->fs->css, | ^ mpeg3demux.c:1078:1: warning: non-void function does not return a value [-Wreturn-type] 1078 | } | ^ mpeg3demux.c:1474:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat] 1471 | if(debug) fprintf(stderr, "mpeg3demux_read_program %d %d %x %llx\n", | ~~ | %llx 1472 | __LINE__, 1473 | result, 1474 | title->fs->current_byte, | ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c:1485:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat] 1482 | if(debug) fprintf(stderr, "mpeg3demux_read_program %d %d %x %llx\n", | ~~ | %llx 1483 | __LINE__, 1484 | result, 1485 | title->fs->current_byte, | ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c:1501:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat] 1498 | if(debug) fprintf(stderr, "mpeg3demux_read_program %d %d %x %llx\n", | ~~ | %llx 1499 | __LINE__, 1500 | result, 1501 | title->fs->current_byte, | ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c:1513:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat] 1510 | if(debug) fprintf(stderr, "mpeg3demux_read_program %d %d %x %llx\n", | ~~ | %llx 1511 | __LINE__, 1512 | result, 1513 | title->fs->current_byte, | ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c:1523:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat] 1520 | if(debug) fprintf(stderr, "mpeg3demux_read_program %d %d %x %llx\n", | ~~ | %llx 1521 | __LINE__, 1522 | result, 1523 | title->fs->current_byte, | ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c:1533:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat] 1530 | if(debug) fprintf(stderr, "mpeg3demux_read_program %d %d %x %llx\n", | ~~ | %llx 1531 | __LINE__, 1532 | result, 1533 | title->fs->current_byte, | ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c:1542:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat] 1539 | if(debug) fprintf(stderr, "mpeg3demux_read_program %d %d %x %llx\n", | ~~ | %llx 1540 | __LINE__, 1541 | result, 1542 | title->fs->current_byte, | ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c:1679:15: warning: address of array 'demuxer->titles' will always evaluate to 'true' [-Wpointer-bool-conversion] 1679 | if(!demuxer->titles) return 1; | ~~~~~~~~~~^~~~~~ mpeg3demux.c:2198:3: warning: call to undeclared function 'mpeg3_copy_title'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2198 | mpeg3_copy_title(dst_title, src_title); | ^ mpeg3demux.c:2259:3: warning: call to undeclared function 'mpeg3_delete_title'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2259 | mpeg3_delete_title(demuxer->titles[i]); | ^ mpeg3demux.c:2414:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2414 | } | ^ mpeg3demux.c:2442:1: warning: non-void function does not return a value [-Wreturn-type] 2442 | } | ^ In file included from mpeg3ifo.c:10: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ mpeg3ifo.c:281:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 281 | *ptr = pgc; | ^ ~~~ mpeg3ifo.c:329:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 329 | *ptr = get2bytes((unsigned char*)*ptr) + pgc; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c:372:2: warning: call to undeclared function 'mpeg3io_complete_path'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | mpeg3io_complete_path(complete_path, file->fs->path); | ^ mpeg3ifo.c:373:2: warning: call to undeclared function 'mpeg3io_get_directory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | mpeg3io_get_directory(directory, complete_path); | ^ mpeg3ifo.c:374:2: warning: call to undeclared function 'mpeg3io_get_filename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | mpeg3io_get_filename(filename, complete_path); | ^ mpeg3ifo.c:378:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 378 | while(new_filename = readdir(dirstream)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c:378:21: note: place parentheses around the assignment to silence this warning 378 | while(new_filename = readdir(dirstream)) | ^ | ( ) mpeg3ifo.c:378:21: note: use '==' to turn this assignment into an equality comparison 378 | while(new_filename = readdir(dirstream)) | ^ | == mpeg3ifo.c:390:6: warning: call to undeclared function 'mpeg3io_joinpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | mpeg3io_joinpath(title_path, directory, new_filename->d_name); | ^ mpeg3ifo.c:557:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 557 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c:557:18: note: place parentheses around the assignment to silence this warning 557 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) | ^ | ( ) mpeg3ifo.c:557:18: note: use '==' to turn this assignment into an equality comparison 557 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) | ^ | == mpeg3ifo.c:598:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 598 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c:598:21: note: place parentheses around the assignment to silence this warning 598 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) | ^ | ( ) mpeg3ifo.c:598:21: note: use '==' to turn this assignment into an equality comparison 598 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) | ^ | == 15 warnings generated. gcc -c `cat work/c_flags` mpeg3io.c -o work/mpeg3io.o 10 warnings generated. gcc -c `cat work/c_flags` mpeg3strack.c -o work/mpeg3strack.o In file included from mpeg3io.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ In file included from mpeg3strack.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] 395 | /* demuxer. */ | ^ mpeg3io.c:56:2: warning: call to undeclared function 'mpeg3_delete_css'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | mpeg3_delete_css(fs->css); | ^ mpeg3io.c:71:16: error: variable has incomplete type 'struct stat64' 71 | struct stat64 ostat; | ^ mpeg3io.c:71:9: note: forward declaration of 'struct stat64' 71 | struct stat64 ostat; | ^ mpeg3io.c:72:2: warning: call to undeclared function 'stat64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | stat64(fs->path, &ostat); | ^ mpeg3io.c:86:16: error: variable has incomplete type 'struct stat64' 86 | struct stat64 st; | ^ mpeg3io.c:86:9: note: forward declaration of 'struct stat64' 86 | struct stat64 st; | ^ mpeg3io.c:87:5: warning: call to undeclared function 'stat64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | if(stat64(path, &st) < 0) return 0; | ^ mpeg3io.c:94:2: warning: call to undeclared function 'mpeg3_get_keys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | mpeg3_get_keys(fs->css, fs->path); | ^ mpeg3io.c:242:3: warning: call to undeclared function 'getcwd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | getcwd(current_dir, MPEG3_STRLEN); | ^ 6 warnings and 2 errors generated. gmake: *** [Makefile:207: work/mpeg3io.o] Error 1 gmake: *** Waiting for unfinished jobs.... 1 warning generated. *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/libmpeg3 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/libmpeg3