Mailing List Archive

trying to recompile into debug mode--common.c problem
I was trying to recompile for debugging options...I make distclean and then tried to recompile...got this:

common.c:23: parse error before `*'
common.c:26: parse error before `)'
common.c:48: parse error before `*'
common.c: In function `get_bit_count':
common.c:53: `s' undeclared (first use in this function)
common.c:53: (Each undeclared identifier is reported only once
common.c:53: for each function it appears in.)
common.c:55: warning: control reaches end of non-void function
common.c: At top level:
common.c:57: parse error before `*'
common.c: In function `align_put_bits':
common.c:62: warning: implicit declaration of function `put_bits'
common.c:62: `s' undeclared (first use in this function)
common.c: At top level:
common.c:67: parse error before `*'
common.c: In function `flush_put_bits':
common.c:72: `s' undeclared (first use in this function)
common.c: At top level:
common.c:86: parse error before `*'
common.c: In function `jflush_put_bits':
common.c:89: `s' undeclared (first use in this function)
common.c: At top level:
common.c:111: parse error before `*'
common.c: In function `put_string':
common.c:113: `s' undeclared (first use in this function)
common.c:114: `pbc' undeclared (first use in this function)
common.c: At top level:
common.c:122: parse error before `*'
common.c: In function `init_get_bits':
common.c:125: `s' undeclared (first use in this function)
common.c:125: `buffer' undeclared (first use in this function)
common.c:126: `buffer_size' undeclared (first use in this function)
common.c:141: warning: implicit declaration of function `OPEN_READER'
common.c:141: `re' undeclared (first use in this function)
common.c:142: parse error before `UPDATE_CACHE'
common.c: At top level:
common.c:151: parse error before `*'
common.c: In function `align_get_bits':
common.c:153: warning: implicit declaration of function `get_bits_count'
common.c:153: `s' undeclared (first use in this function)
common.c:154: warning: implicit declaration of function `skip_bits'
common.c: At top level:
common.c:157: parse error before `*'
common.c: In function `check_marker':
common.c:159: warning: implicit declaration of function `get_bits1'
common.c:159: `s' undeclared (first use in this function)
common.c:160: warning: implicit declaration of function `printf'
common.c:160: `msg' undeclared (first use in this function)
common.c: At top level:
common.c:186: parse error before `*'
common.c: In function `alloc_table':
common.c:189: `vlc' undeclared (first use in this function)
common.c:190: `size' undeclared (first use in this function)
common.c:193: warning: implicit declaration of function `realloc'
common.c:194: `VLC_TYPE' undeclared (first use in this function)
common.c: At top level:
common.c:201: parse error before `*'
common.c: In function `build_table':
common.c:209: `VLC_TYPE' used prior to declaration
common.c:209: warning: implicit declaration of function `VLC_TYPE'
common.c:209: `table' undeclared (first use in this function)
common.c:209: subscripted value is neither array nor pointer
common.c:211: `table_nb_bits' undeclared (first use in this function)
common.c:212: `vlc' undeclared (first use in this function)
common.c:227: `nb_codes' undeclared (first use in this function)
common.c:228: `bits' undeclared (first use in this function)
common.c:228: `bits_wrap' undeclared (first use in this function)
common.c:228: `bits_size' undeclared (first use in this function)
common.c:228: warning: unreachable code at beginning of switch statement
common.c:229: `codes' undeclared (first use in this function)
common.c:229: `codes_wrap' undeclared (first use in this function)
common.c:229: `codes_size' undeclared (first use in this function)
common.c:229: warning: unreachable code at beginning of switch statement
common.c:237: `n_prefix' undeclared (first use in this function)
common.c:238: `code_prefix' undeclared (first use in this function)
common.c:249: warning: implicit declaration of function `fprintf'
common.c:249: `stderr' undeclared (first use in this function)
common.c: At top level:
common.c:318: parse error before `*'
common.c: In function `init_vlc':
common.c:322: `vlc' undeclared (first use in this function)
common.c:322: `nb_bits' undeclared (first use in this function)
common.c:323: `NULL' undeclared (first use in this function)
common.c:330: `nb_codes' undeclared (first use in this function)
common.c:331: `bits' undeclared (first use in this function)
common.c:331: `bits_wrap' undeclared (first use in this function)
common.c:331: `bits_size' undeclared (first use in this function)
common.c:332: `codes' undeclared (first use in this function)
common.c:332: `codes_wrap' undeclared (first use in this function)
common.c:332: `codes_size' undeclared (first use in this function)
common.c: At top level:
common.c:341: parse error before `*'
common.c: In function `free_vlc':
common.c:343: `vlc' undeclared (first use in this function)
make[1]: *** [common.o] Error 1
make[1]: Leaving directory `/usr/src/mythtv-0.5/libavcodec'
make: *** [sub-libavcodec] Error 2

any thing I can do?

thanks,

Chris
Re: trying to recompile into debug mode--common.c problem [ In reply to ]
On Thursday 05 September 2002 11:13 pm, Chris Kleeschulte wrote:
> I was trying to recompile for debugging options...I make distclean and then
> tried to recompile...got this:
<snip>
> any thing I can do?

I'm pretty sure that this is fixed in current CVS. I seem to remember a
problem like that from awhile ago..

Isaac