#98 Problem compiling quicktime4linux 2.0.1

open
nobody
None
5
2004-01-30
2004-01-30
Anonymous
No

# gmake
gcc -c `cat i686/c_flags` qtmp3.c -o i686/qtmp3.o
In file included from qtmp3.c:4:
/usr/local/include/mpeg3protos.h:77: error: parse error
before '*' token
/usr/local/include/mpeg3protos.h:78: error: parse error
before '*' token
/usr/local/include/mpeg3protos.h:79: error: parse error
before '*' token
/usr/local/include/mpeg3protos.h:82: error: parse error
before '*' token
/usr/local/include/mpeg3protos.h:85: error: parse error
before '*' token
/usr/local/include/mpeg3protos.h:88: error: parse error
before '*' token
/usr/local/include/mpeg3protos.h:92: error: parse error
before '*' token
/usr/local/include/mpeg3protos.h:95: error: parse error
before '*' token
/usr/local/include/mpeg3protos.h:98: error: parse error
before '*' token
/usr/local/include/mpeg3protos.h:109: error: parse
error before '*' token
/usr/local/include/mpeg3protos.h:113: error: parse
error before '*' token
/usr/local/include/mpeg3protos.h:116: error: parse
error before '*' token
/usr/local/include/mpeg3protos.h:120: error: parse
error before '*' token
/usr/local/include/mpeg3protos.h:127: error: parse
error before '*' token
/usr/local/include/mpeg3protos.h:134: error: parse
error before '*' token
/usr/local/include/mpeg3protos.h:141: error: parse
error before '*' token
/usr/local/include/mpeg3protos.h:149: error: parse
error before '*' token
/usr/local/include/mpeg3protos.h:268: error:
redefinition of `mpeg3demux_read_char'
/usr/local/include/mpeg3demux.h:96: error:
`mpeg3demux_read_char' previously defined here
/usr/local/include/mpeg3protos.h:283: error:
redefinition of `mpeg3demux_read_prev_char'
/usr/local/include/mpeg3demux.h:111: error:
`mpeg3demux_read_prev_char' previously defined here
/usr/local/include/mpeg3protos.h:333: error:
redefinition of `mpeg3bits_fill_reverse_bits'
/usr/local/include/bitstream.h:44: error:
`mpeg3bits_fill_reverse_bits' previously defined here
/usr/local/include/mpeg3protos.h:355: error:
redefinition of `mpeg3bits_fill_bits'
/usr/local/include/bitstream.h:66: error:
`mpeg3bits_fill_bits' previously defined here
/usr/local/include/mpeg3protos.h:375: error:
redefinition of `mpeg3bits_getbyte_noptr'
/usr/local/include/bitstream.h:86: error:
`mpeg3bits_getbyte_noptr' previously defined here
/usr/local/include/mpeg3protos.h:393: error:
redefinition of `mpeg3bits_getbit_noptr'
/usr/local/include/bitstream.h:104: error:
`mpeg3bits_getbit_noptr' previously defined here
/usr/local/include/mpeg3protos.h:412: error:
redefinition of `mpeg3bits_getbits'
/usr/local/include/bitstream.h:123: error:
`mpeg3bits_getbits' previously defined here
/usr/local/include/mpeg3protos.h:419: error:
redefinition of `mpeg3bits_showbits24_noptr'
/usr/local/include/bitstream.h:130: error:
`mpeg3bits_showbits24_noptr' previously defined here
/usr/local/include/mpeg3protos.h:432: error:
redefinition of `mpeg3bits_showbits32_noptr'
/usr/local/include/bitstream.h:143: error:
`mpeg3bits_showbits32_noptr' previously defined here
/usr/local/include/mpeg3protos.h:445: error:
redefinition of `mpeg3bits_showbits'
/usr/local/include/bitstream.h:156: error:
`mpeg3bits_showbits' previously defined here
/usr/local/include/mpeg3protos.h:451: error:
redefinition of `mpeg3bits_getbits_reverse'
/usr/local/include/bitstream.h:162: error:
`mpeg3bits_getbits_reverse' previously defined here
/usr/local/include/mpeg3protos.h:460: error:
redefinition of `mpeg3bits_showbits_reverse'
/usr/local/include/bitstream.h:171: error:
`mpeg3bits_showbits_reverse' previously defined here
/usr/local/include/mpeg3protos.h:499: error:
redefinition of `mpeg3io_sync_buffer'
/usr/local/include/mpeg3io.h:48: error:
`mpeg3io_sync_buffer' previously defined here
/usr/local/include/mpeg3protos.h:517: error:
redefinition of `mpeg3io_read_char'
/usr/local/include/mpeg3io.h:87: error:
`mpeg3io_read_char' previously defined here
/usr/local/include/mpeg3protos.h:526: error:
redefinition of `mpeg3io_next_char'
/usr/local/include/mpeg3io.h:96: error:
`mpeg3io_next_char' previously defined here
/usr/local/include/mpeg3protos.h:534: error:
redefinition of `mpeg3io_read_int32'
/usr/local/include/mpeg3io.h:104: error:
`mpeg3io_read_int32' previously defined here
/usr/local/include/mpeg3protos.h:550: error:
redefinition of `mpeg3io_read_int24'
/usr/local/include/mpeg3io.h:120: error:
`mpeg3io_read_int24' previously defined here
/usr/local/include/mpeg3protos.h:564: error:
redefinition of `mpeg3io_read_int16'
/usr/local/include/mpeg3io.h:134: error:
`mpeg3io_read_int16' previously defined here
/usr/local/include/mpeg3protos.h:624: error:
redefinition of `mpeg3slice_getbit'
/usr/local/include/video/slice.h:71: error:
`mpeg3slice_getbit' previously defined here
/usr/local/include/mpeg3protos.h:639: error:
redefinition of `mpeg3slice_getbits2'
/usr/local/include/video/slice.h:86: error:
`mpeg3slice_getbits2' previously defined here
/usr/local/include/mpeg3protos.h:654: error:
redefinition of `mpeg3slice_getbyte'
/usr/local/include/video/slice.h:101: error:
`mpeg3slice_getbyte' previously defined here
/usr/local/include/mpeg3protos.h:669: error:
redefinition of `mpeg3slice_getbits'
/usr/local/include/video/slice.h:116: error:
`mpeg3slice_getbits' previously defined here
/usr/local/include/mpeg3protos.h:676: error:
redefinition of `mpeg3slice_showbits16'
/usr/local/include/video/slice.h:123: error:
`mpeg3slice_showbits16' previously defined here
/usr/local/include/mpeg3protos.h:692: error:
redefinition of `mpeg3slice_showbits9'
/usr/local/include/video/slice.h:139: error:
`mpeg3slice_showbits9' previously defined here
/usr/local/include/mpeg3protos.h:708: error:
redefinition of `mpeg3slice_showbits5'
/usr/local/include/video/slice.h:155: error:
`mpeg3slice_showbits5' previously defined here
/usr/local/include/mpeg3protos.h:723: error:
redefinition of `mpeg3slice_showbits'
/usr/local/include/video/slice.h:170: error:
`mpeg3slice_showbits' previously defined here
qtmp3.c:17: error: parse error before "mpeg3_layer_t"
qtmp3.c:17: warning: no semicolon at end of struct or union
qtmp3.c:19: warning: data definition has no type or
storage class
qtmp3.c:40: error: parse error before '*' token
qtmp3.c:40: warning: data definition has no type or
storage class
qtmp3.c:49: error: parse error before '}' token
qtmp3.c:49: warning: data definition has no type or
storage class
qtmp3.c: In function `delete_codec':
qtmp3.c:57: error: `codec' undeclared (first use in
this function)
qtmp3.c:57: error: (Each undeclared identifier is
reported only once
qtmp3.c:57: error: for each function it appears in.)
qtmp3.c: At top level:
qtmp3.c:96: error: parse error before
"quicktime_mp3_codec_t"
qtmp3.c: In function `chunk_len':
qtmp3.c:104: error: `offset' undeclared (first use in
this function)
qtmp3.c:104: error: `next_chunk' undeclared (first use
in this function)
qtmp3.c:106: error: `file' undeclared (first use in
this function)
qtmp3.c:115: error: `codec' undeclared (first use in
this function)
qtmp3.c: In function `decode':
qtmp3.c:150: error: `codec' undeclared (first use in
this function)
qtmp3.c:239: error: `MAXFRAMESAMPLES' undeclared (first
use in this function)
qtmp3.c: At top level:
qtmp3.c:333: error: parse error before '*' token
qtmp3.c: In function `allocate_output':
qtmp3.c:336: error: `codec' undeclared (first use in
this function)
qtmp3.c:336: error: `samples' undeclared (first use in
this function)
qtmp3.c: At top level:
qtmp3.c:360: error: parse error before
"quicktime_mp3_codec_t"
qtmp3.c: In function `write_frames':
qtmp3.c:368: error: `codec' undeclared (first use in
this function)
qtmp3.c:386: error: `file' undeclared (first use in
this function)
qtmp3.c:386: error: `trak' undeclared (first use in
this function)
qtmp3.c:391: error: `track_map' undeclared (first use
in this function)
qtmp3.c: In function `encode':
qtmp3.c:439: error: `codec' undeclared (first use in
this function)
qtmp3.c: In function `set_parameter':
qtmp3.c:529: error: `codec' undeclared (first use in
this function)
qtmp3.c: In function `flush':
qtmp3.c:545: error: `codec' undeclared (first use in
this function)
qtmp3.c: In function `quicktime_init_codec_mp3':
qtmp3.c:564: error: `codec' undeclared (first use in
this function)
gmake: *** [i686/qtmp3.o] Error 1

Discussion