[mythtv] trying to recompile into debug mode--common.c problem

Chris Kleeschulte mythtv-dev@snowman.net
Thu, 5 Sep 2002 20:13:34 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_02D3_01C25518.B68F35D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_02D3_01C25518.B68F35D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>I was trying to recompile for =
debugging=20
options...I make distclean and then tried to recompile...got =
this:</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>common.c:23: parse error before=20
`*'<BR>common.c:26: parse error before `)'<BR>common.c:48: parse error =
before=20
`*'<BR>common.c: In function `get_bit_count':<BR>common.c:53: `s' =
undeclared=20
(first use in this function)<BR>common.c:53: (Each undeclared identifier =
is=20
reported only once<BR>common.c:53: for each function it appears=20
in.)<BR>common.c:55: warning: control reaches end of non-void=20
function<BR>common.c: At top level:<BR>common.c:57: parse error before=20
`*'<BR>common.c: In function `align_put_bits':<BR>common.c:62: warning: =
implicit=20
declaration of function `put_bits'<BR>common.c:62: `s' undeclared (first =
use in=20
this function)<BR>common.c: At top level:<BR>common.c:67: parse error =
before=20
`*'<BR>common.c: In function `flush_put_bits':<BR>common.c:72: `s' =
undeclared=20
(first use in this function)<BR>common.c: At top level:<BR>common.c:86: =
parse=20
error before `*'<BR>common.c: In function =
`jflush_put_bits':<BR></FONT><FONT=20
face=3DVerdana size=3D2>common.c:89: `s' undeclared (first use in this=20
function)<BR>common.c: At top level:<BR>common.c:111: parse error before =

`*'<BR>common.c: In function `put_string':<BR>common.c:113: `s' =
undeclared=20
(first use in this function)<BR>common.c:114: `pbc' undeclared (first =
use in=20
this function)<BR>common.c: At top level:<BR>common.c:122: parse error =
before=20
`*'<BR>common.c: In function `init_get_bits':<BR>common.c:125: `s' =
undeclared=20
(first use in this function)<BR>common.c:125: `buffer' undeclared (first =
use in=20
this function)<BR>common.c:126: `buffer_size' undeclared (first use in =
this=20
function)<BR>common.c:141: warning: implicit declaration of function=20
`OPEN_READER'<BR>common.c:141: `re' undeclared (first use in this=20
function)<BR>common.c:142: parse error before =
`UPDATE_CACHE'<BR>common.c: At top=20
level:<BR>common.c:151: parse error before `*'<BR>common.c: In function=20
`align_get_bits':<BR>common.c:153: warning: implicit declaration of =
function=20
`get_bits_count'<BR>common.c:153: `s' undeclared (first use in this=20
function)<BR>common.c:154: warning: implicit declaration of function=20
`skip_bits'<BR>common.c: At top level:<BR>common.c:157: parse error =
before=20
`*'<BR>common.c: In function `check_marker':<BR>common.c:159: warning: =
implicit=20
declaration of function `get_bits1'<BR>common.c:159: `s' undeclared =
(first use=20
in this function)<BR>common.c:160: warning: implicit declaration of =
function=20
`printf'<BR>common.c:160: `msg' undeclared (first use in this=20
function)<BR>common.c: At top level:<BR>common.c:186: parse error before =

`*'<BR>common.c: In function `alloc_table':<BR>common.c:189: `vlc' =
undeclared=20
(first use in this function)<BR>common.c:190: `size' undeclared (first =
use in=20
this function)<BR>common.c:193: warning: implicit declaration of =
function=20
`realloc'<BR>common.c:194: `VLC_TYPE' undeclared (first use in this=20
function)<BR>common.c: At top level:<BR>common.c:201: parse error before =

`*'<BR>common.c: In function `build_table':<BR>common.c:209: `VLC_TYPE' =
used=20
prior to declaration<BR>common.c:209: warning: implicit declaration of =
function=20
`VLC_TYPE'<BR>common.c:209: `table' undeclared (first use in this=20
function)<BR>common.c:209: subscripted value is neither array nor=20
pointer<BR>common.c:211: `table_nb_bits' undeclared (first use in this=20
function)<BR>common.c:212: `vlc' undeclared (first use in this=20
function)<BR>common.c:227: `nb_codes' undeclared (first use in this=20
function)<BR>common.c:228: `bits' undeclared (first use in this=20
function)<BR>common.c:228: `bits_wrap' undeclared (first use in this=20
function)<BR>common.c:228: `bits_size' undeclared (first use in this=20
function)<BR>common.c:228: warning: unreachable code at beginning of =
switch=20
statement<BR>common.c:229: `codes' undeclared (first use in this=20
function)<BR>common.c:229: `codes_wrap' undeclared (first use in this=20
function)<BR>common.c:229: `codes_size' undeclared (first use in this=20
function)<BR>common.c:229: warning: unreachable code at beginning of =
switch=20
statement<BR>common.c:237: `n_prefix' undeclared (first use in this=20
function)<BR>common.c:238: `code_prefix' undeclared (first use in this=20
function)<BR>common.c:249: warning: implicit declaration of function=20
`fprintf'<BR>common.c:249: `stderr' undeclared (first use in this=20
function)<BR>common.c: At top level:<BR>common.c:318: parse error before =

`*'<BR>common.c: In function `init_vlc':<BR>common.c:322: `vlc' =
undeclared=20
(first use in this function)<BR>common.c:322: `nb_bits' undeclared =
(first use in=20
this function)<BR>common.c:323: `NULL' undeclared (first use in this=20
function)<BR>common.c:330: `nb_codes' undeclared (first use in this=20
function)<BR>common.c:331: `bits' undeclared (first use in this=20
function)<BR>common.c:331: `bits_wrap' undeclared (first use in this=20
function)<BR>common.c:331: `bits_size' undeclared (first use in this=20
function)<BR>common.c:332: `codes' undeclared (first use in this=20
function)<BR>common.c:332: `codes_wrap' undeclared (first use in this=20
function)<BR>common.c:332: `codes_size' undeclared (first use in this=20
function)<BR>common.c: At top level:<BR>common.c:341: parse error before =

`*'<BR>common.c: In function `free_vlc':<BR>common.c:343: `vlc' =
undeclared=20
(first use in this function)<BR>make[1]: *** [common.o] Error =
1<BR>make[1]:=20
Leaving directory `/usr/src/mythtv-0.5/libavcodec'<BR>make: *** =
[sub-libavcodec]=20
Error 2</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>any thing I can do?</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>thanks,</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>Chris</FONT></DIV></BODY></HTML>

------=_NextPart_000_02D3_01C25518.B68F35D0--