=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for libmpeg3-1.8 mkdir -p work mkdir -p work/audio mkdir -p work/video echo -O2 -march=i586 -D_REENTRANT -I/usr/pkg/include -DHAVE_CSS -DHAVE_MMX -I. -Ia52dec-0.7.3/include -Ia52dec-0.7.3/liba52 -g > work/c_flags echo -O2 -march=i586 -D_REENTRANT -I/usr/pkg/include -DHAVE_CSS -DHAVE_MMX -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/video/mmxidct.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/video/reconmmx.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 In file included from audio/ac3.c:6: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/ac3.c:13:24: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned int, unsigned int)' 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: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(audio); ^ audio/ac3.c:95:60: warning: format specifies type 'void *' but the argument has type 'int' [-Wformat] 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 with different sign [-Wpointer-sign] frame, ^~~~~ a52dec-0.7.3/include/a52.h:56:47: note: passing argument to parameter 'buf' here int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, ^ 5 warnings generated. gcc -c `cat work/c_flags` audio/dct.c -o work/audio/dct.o In file included from audio/dct.c:30: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ 1 warning 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 In file included from audio/layer2.c:8: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/layer2.c:282:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ba = *bita++) ~~~^~~~~~~~~ audio/layer2.c:282:16: note: place parentheses around the assignment to silence this warning if(ba = *bita++) ^ ( ) audio/layer2.c:282:16: note: use '==' to turn this assignment into an equality comparison if(ba = *bita++) ^ == audio/layer2.c:392:2: warning: implicit declaration of function 'mpeg3bits_use_ptr' is invalid in C99 [-Wimplicit-function-declaration] mpeg3bits_use_ptr(audio->stream, frame); ^ audio/layer2.c:419:12: warning: implicit declaration of function 'mpeg3audio_synth_stereo' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_synth_stereo(audio, ^ 4 warnings generated. gcc -c `cat work/c_flags` audio/layer3.c -o work/audio/layer3.o In file included from audio/layer3.c:3: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/layer3.c:245:12: warning: implicit declaration of function 'mpeg3bits_getbitoffset' is invalid in C99 [-Wimplicit-function-declaration] int num = mpeg3bits_getbitoffset(audio->stream); ^ audio/layer3.c:672:2: warning: implicit declaration of function 'mpeg3bits_start_reverse' is invalid in C99 [-Wimplicit-function-declaration] mpeg3bits_start_reverse(audio->stream); ^ audio/layer3.c:674:2: warning: implicit declaration of function 'mpeg3bits_start_forward' is invalid in C99 [-Wimplicit-function-declaration] mpeg3bits_start_forward(audio->stream); ^ audio/layer3.c:828:6: warning: implicit declaration of function 'mpeg3audio_dct36' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_dct36(fsIn[0], rawout1, rawout2, mpeg3_win[0], tspnt); ^ audio/layer3.c:840:7: warning: implicit declaration of function 'mpeg3audio_dct12' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_dct12(fsIn[sb] ,rawout1 ,rawout2 ,mpeg3_win[2] ,tspnt); ^ audio/layer3.c:1110:3: warning: implicit declaration of function 'mpeg3bits_use_ptr' is invalid in C99 [-Wimplicit-function-declaration] mpeg3bits_use_ptr(audio->stream, audio->bsbuf); ^ audio/layer3.c:1299:7: warning: implicit declaration of function 'mpeg3audio_synth_stereo' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_synth_stereo(audio, ^ audio/layer3.c:1354:2: warning: implicit declaration of function 'mpeg3audio_reset_synths' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_reset_synths(audio); ^ audio/layer3.c:1613:26: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned int, unsigned int)' 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: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(audio); ^ 11 warnings generated. gcc -c `cat work/c_flags` audio/mpeg3audio.c -o work/audio/mpeg3audio.o In file included from audio/mpeg3audio.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/mpeg3audio.c:362:6: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] audio->packet_buffer, ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:194:8: note: passing argument to parameter 'frame' here char *frame, ^ audio/mpeg3audio.c:374:8: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] audio->packet_buffer, ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:187:8: note: passing argument to parameter 'frame' here char *frame, ^ audio/mpeg3audio.c:383:8: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] audio->packet_buffer, ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:180:8: note: passing argument to parameter 'frame' here char *frame, ^ audio/mpeg3audio.c:397:6: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] audio->packet_buffer, ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:202:8: note: passing argument to parameter 'frame' here char *frame, ^ 5 warnings generated. gcc -c `cat work/c_flags` audio/pcm.c -o work/audio/pcm.o In file included from audio/pcm.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/pcm.c:71:21: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *input = frame + ^ ~~~~~~~ 2 warnings generated. gcc -c `cat work/c_flags` audio/synthesizers.c -o work/audio/synthesizers.o In file included from audio/synthesizers.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/synthesizers.c:36:6: warning: implicit declaration of function 'mpeg3audio_dct64' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_dct64(buf[1] + ((audio->bo + 1) & 0xf), buf[0] + audio->bo, bandPtr); ^ 2 warnings generated. gcc -c `cat work/c_flags` audio/tables.c -o work/audio/tables.o In file included from audio/tables.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ 1 warning generated. gcc -c `cat work/c_flags` libmpeg3.c -o work/libmpeg3.o In file included from libmpeg3.c:3: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ libmpeg3.c:149:16: warning: '&&' within '||' [-Wlogical-op-parentheses] (!ext || ext && ~~ ~~~~^~ libmpeg3.c:149:16: note: place parentheses around the '&&' expression to silence this warning (!ext || ext && ^ libmpeg3.c:272:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ libmpeg3.c:319:7: warning: implicit declaration of function 'mpeg3_read_ifo' is invalid in C99 [-Wimplicit-function-declaration] if(mpeg3_read_ifo(file, 0)) ^ libmpeg3.c:458:3: warning: implicit declaration of function 'mpeg3demux_copy_titles' is invalid in C99 [-Wimplicit-function-declaration] mpeg3demux_copy_titles(file->demuxer, mpeg3_get_demuxer(old_file)); ^ libmpeg3.c:470:3: warning: implicit declaration of function 'mpeg3_create_title' is invalid in C99 [-Wimplicit-function-declaration] mpeg3_create_title(file->demuxer, 0); ^ libmpeg3.c:569:3: warning: implicit declaration of function 'mpeg3video_set_cpus' is invalid in C99 [-Wimplicit-function-declaration] mpeg3video_set_cpus(file->vtrack[i]->video, cpus); ^ libmpeg3.c:615:3: warning: implicit declaration of function 'mpeg3audio_seek_sample' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_seek_sample(file->atrack[stream]->audio, sample); ^ libmpeg3.c:710:3: warning: implicit declaration of function 'mpeg3video_seek_frame' is invalid in C99 [-Wimplicit-function-declaration] mpeg3video_seek_frame(file->vtrack[stream]->video, frame); ^ libmpeg3.c:724:3: warning: implicit declaration of function 'mpeg3video_seek_byte' is invalid in C99 [-Wimplicit-function-declaration] mpeg3video_seek_byte(file->vtrack[i]->video, byte); ^ libmpeg3.c:730:3: warning: implicit declaration of function 'mpeg3audio_seek_byte' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_seek_byte(file->atrack[i]->audio, byte); ^ libmpeg3.c:754:10: warning: implicit declaration of function 'mpeg3video_previous_frame' is invalid in C99 [-Wimplicit-function-declaration] return mpeg3video_previous_frame(file->vtrack[stream]->video); ^ libmpeg3.c:855:10: warning: implicit declaration of function 'mpeg3video_colormodel' is invalid in C99 [-Wimplicit-function-declaration] return mpeg3video_colormodel(file->vtrack[stream]->video); ^ libmpeg3.c:920:12: warning: implicit declaration of function 'mpeg3video_read_yuvframe' is invalid in C99 [-Wimplicit-function-declaration] result = mpeg3video_read_yuvframe(file->vtrack[stream]->video, ^ libmpeg3.c:946:12: warning: implicit declaration of function 'mpeg3video_read_yuvframe_ptr' is invalid in C99 [-Wimplicit-function-declaration] result = mpeg3video_read_yuvframe_ptr(file->vtrack[stream]->video, ^ libmpeg3.c:1014:12: warning: implicit declaration of function 'mpeg3audio_read_raw' is invalid in C99 [-Wimplicit-function-declaration] result = mpeg3audio_read_raw(file->atrack[stream]->audio, ^ libmpeg3.c:1033:12: warning: implicit declaration of function 'mpeg3video_read_raw' is invalid in C99 [-Wimplicit-function-declaration] result = mpeg3video_read_raw(file->vtrack[stream]->video, ^ 17 warnings generated. gcc -c `cat work/c_flags` mpeg3atrack.c -o work/mpeg3atrack.o In file included from mpeg3atrack.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ mpeg3atrack.c:22:3: warning: implicit declaration of function 'mpeg3demux_copy_titles' is invalid in C99 [-Wimplicit-function-declaration] mpeg3demux_copy_titles(new_atrack->demuxer, demuxer); ^ 2 warnings generated. 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] /* demuxer. */ ^ 1 warning generated. gcc -c `cat work/c_flags` mpeg3css.c -o work/mpeg3css.o mpeg3css.c:605:22: warning: passing 'char [10]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] crypt_key1(css, i, css->challenge, &(css->keycheck)); ^~~~~~~~~~~~~~ mpeg3css.c:511:76: note: passing argument to parameter 'challenge' here static void crypt_key1(mpeg3_css_t *css, int varient, unsigned char const *challenge, struct mpeg3_block *key) ^ mpeg3css.c:834:11: warning: implicit declaration of function 'mpeg3io_device' is invalid in C99 [-Wimplicit-function-declaration] result = mpeg3io_device(css->path, css->device_path); ^ 2 warnings 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] /* demuxer. */ ^ mpeg3demux.c:777:6: warning: implicit declaration of function 'mpeg3_decrypt_packet' is invalid in C99 [-Wimplicit-function-declaration] if(mpeg3_decrypt_packet(title->fs->css, ^ mpeg3demux.c:1078:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ mpeg3demux.c:1257:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if(demuxer->custom_id == demuxer->astream && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ mpeg3demux.c:1257:46: note: place parentheses around the '&&' expression to silence this warning if(demuxer->custom_id == demuxer->astream && ^ mpeg3demux.c:1300:52: warning: '&&' within '||' [-Wlogical-op-parentheses] if(demuxer->custom_id == demuxer->vstream && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ mpeg3demux.c:1300:52: note: place parentheses around the '&&' expression to silence this warning if(demuxer->custom_id == demuxer->vstream && ^ mpeg3demux.c:1379:51: warning: '&&' within '||' [-Wlogical-op-parentheses] if(demuxer->custom_id == demuxer->astream && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ mpeg3demux.c:1379:51: note: place parentheses around the '&&' expression to silence this warning if(demuxer->custom_id == demuxer->astream && ^ mpeg3demux.c:1474:1: warning: format specifies type 'unsigned int' but the argument has type '__int64_t' (aka 'long long') [-Wformat] 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] 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] 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] 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] 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] 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] title->fs->current_byte, ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c:1679:15: warning: address of array 'demuxer->titles' will always evaluate to 'true' [-Wpointer-bool-conversion] if(!demuxer->titles) return 1; ~~~~~~~~~~^~~~~~ mpeg3demux.c:2198:3: warning: implicit declaration of function 'mpeg3_copy_title' is invalid in C99 [-Wimplicit-function-declaration] mpeg3_copy_title(dst_title, src_title); ^ mpeg3demux.c:2259:3: warning: implicit declaration of function 'mpeg3_delete_title' is invalid in C99 [-Wimplicit-function-declaration] mpeg3_delete_title(demuxer->titles[i]); ^ mpeg3demux.c:2414:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 18 warnings generated. gcc -c `cat work/c_flags` mpeg3ifo.c -o work/mpeg3ifo.o In file included from mpeg3ifo.c:10: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ mpeg3ifo.c:79:9: warning: implicit declaration of function 'bswap_32' is invalid in C99 [-Wimplicit-function-declaration] return bswap_32 (*((u_int32_t *)buf)); ^ mpeg3ifo.c:84:9: warning: implicit declaration of function 'bswap_16' is invalid in C99 [-Wimplicit-function-declaration] return bswap_16 (*((u_int16_t *)buf)); ^ mpeg3ifo.c:281:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *ptr = pgc; ^ ~~~ mpeg3ifo.c:329:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *ptr = get2bytes((unsigned char*)*ptr) + pgc; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c:372:2: warning: implicit declaration of function 'mpeg3io_complete_path' is invalid in C99 [-Wimplicit-function-declaration] mpeg3io_complete_path(complete_path, file->fs->path); ^ mpeg3ifo.c:373:2: warning: implicit declaration of function 'mpeg3io_get_directory' is invalid in C99 [-Wimplicit-function-declaration] mpeg3io_get_directory(directory, complete_path); ^ mpeg3ifo.c:374:2: warning: implicit declaration of function 'mpeg3io_get_filename' is invalid in C99 [-Wimplicit-function-declaration] mpeg3io_get_filename(filename, complete_path); ^ mpeg3ifo.c:378:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(new_filename = readdir(dirstream)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c:378:21: note: place parentheses around the assignment to silence this warning while(new_filename = readdir(dirstream)) ^ ( ) mpeg3ifo.c:378:21: note: use '==' to turn this assignment into an equality comparison while(new_filename = readdir(dirstream)) ^ == mpeg3ifo.c:390:6: warning: implicit declaration of function 'mpeg3io_joinpath' is invalid in C99 [-Wimplicit-function-declaration] 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] 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 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 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] 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 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 if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) ^ == 12 warnings generated. gcc -c `cat work/c_flags` mpeg3io.c -o work/mpeg3io.o In file included from mpeg3io.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ mpeg3io.c:56:2: warning: implicit declaration of function 'mpeg3_delete_css' is invalid in C99 [-Wimplicit-function-declaration] mpeg3_delete_css(fs->css); ^ mpeg3io.c:71:16: error: variable has incomplete type 'struct stat64' struct stat64 ostat; ^ mpeg3io.c:71:9: note: forward declaration of 'struct stat64' struct stat64 ostat; ^ mpeg3io.c:72:2: warning: implicit declaration of function 'stat64' is invalid in C99 [-Wimplicit-function-declaration] stat64(fs->path, &ostat); ^ mpeg3io.c:86:16: error: variable has incomplete type 'struct stat64' struct stat64 st; ^ mpeg3io.c:86:9: note: forward declaration of 'struct stat64' struct stat64 st; ^ mpeg3io.c:94:2: warning: implicit declaration of function 'mpeg3_get_keys' is invalid in C99 [-Wimplicit-function-declaration] mpeg3_get_keys(fs->css, fs->path); ^ mpeg3io.c:97:16: warning: implicit declaration of function 'fopen64' is invalid in C99 [-Wimplicit-function-declaration] if(!(fs->fd = fopen64(fs->path, "rb"))) ^ mpeg3io.c:97:14: warning: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion] if(!(fs->fd = fopen64(fs->path, "rb"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ mpeg3io.c:197:3: warning: implicit declaration of function 'fseeko64' is invalid in C99 [-Wimplicit-function-declaration] fseeko64(fs->fd, new_buffer_position, SEEK_SET); ^ mpeg3io.c:257:16: error: variable has incomplete type 'struct stat64' struct stat64 file_st, device_st; ^ mpeg3io.c:257:9: note: forward declaration of 'struct stat64' struct stat64 file_st, device_st; ^ mpeg3io.c:257:25: error: variable has incomplete type 'struct stat64' struct stat64 file_st, device_st; ^ mpeg3io.c:257:9: note: forward declaration of 'struct stat64' struct stat64 file_st, device_st; ^ mpeg3io.c:271:7: warning: implicit declaration of function 'setmntent' is invalid in C99 [-Wimplicit-function-declaration] fp = setmntent(MOUNTED, "r"); ^ mpeg3io.c:271:17: error: use of undeclared identifier 'MOUNTED' fp = setmntent(MOUNTED, "r"); ^ mpeg3io.c:272:24: warning: implicit declaration of function 'getmntent' is invalid in C99 [-Wimplicit-function-declaration] while(fp && (mnt = getmntent(fp))) ^ mpeg3io.c:272:22: warning: incompatible integer to pointer conversion assigning to 'struct mntent *' from 'int' [-Wint-conversion] while(fp && (mnt = getmntent(fp))) ^ ~~~~~~~~~~~~~ mpeg3io.c:274:16: error: incomplete definition of type 'struct mntent' if(stat64(mnt->mnt_fsname, &device_st) < 0) continue; ~~~^ mpeg3io.c:258:12: note: forward declaration of 'struct mntent' struct mntent *mnt; ^ mpeg3io.c:277:23: error: incomplete definition of type 'struct mntent' strncpy(device, mnt->mnt_fsname, MPEG3_STRLEN); ~~~^ mpeg3io.c:258:12: note: forward declaration of 'struct mntent' struct mntent *mnt; ^ mpeg3io.c:281:2: warning: implicit declaration of function 'endmntent' is invalid in C99 [-Wimplicit-function-declaration] endmntent(fp); ^ 11 warnings and 7 errors generated. Makefile:207: recipe for target 'work/mpeg3io.o' failed gmake: *** [work/mpeg3io.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/multimedia/libmpeg3 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/multimedia/libmpeg3