g++ -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -I../../../include -I../../../../DVB/include player-mp3.c player-mp3.c:88: syntax error before `;' player-mp3.c:89: syntax error before `;' player-mp3.c:90: syntax error before `;' player-mp3.c:91: syntax error before `[' player-mp3.c:94: parse error before `*' player-mp3.c:95: ANSI C++ forbids declaration `mad_fixed_t' with no type player-mp3.c:95: parse error before `*' player-mp3.c: In method `bool cResample::SetInputRate(unsigned int, unsigned int)': player-mp3.c:104: `ratio' undeclared (first use this function) player-mp3.c:104: (Each undeclared identifier is reported only once player-mp3.c:104: for each function it appears in.) player-mp3.c:104: implicit declaration of function `int mad_f_tofixed(...)' player-mp3.c:105: `step' undeclared (first use this function) player-mp3.c:105: `last' undeclared (first use this function) player-mp3.c:107: ANSI C++ forbids declaration `mad_fixed_t' with no type player-mp3.c:107: parse error before `=' player-mp3.c:108: `oldratio' undeclared (first use this function) player-mp3.c:109: implicit declaration of function `int mad_f_todouble(...)' player-mp3.c:113: `MAD_F_ONE' undeclared (first use this function) player-mp3.c:107: warning: unused variable `int mad_fixed_t' player-mp3.c:114: warning: control reaches end of non-void function `cResample::SetInputRate(unsigned int, unsigned int)' player-mp3.c: At top level: player-mp3.c:116: parse error before `*' player-mp3.c: In method `unsigned int cResample::ResampleBlock(...)': player-mp3.c:124: `nsam' undeclared (first use this function) player-mp3.c:124: `resampled' undeclared (first use this function) player-mp3.c:125: ANSI C++ forbids declaration `mad_fixed_t' with no type player-mp3.c:125: uninitialized const `mad_fixed_t' player-mp3.c:125: parse error before `*' player-mp3.c:126: ANSI C++ forbids declaration `mad_fixed_t' with no type player-mp3.c:126: redeclaration of `const int mad_fixed_t' player-mp3.c:125: `const int mad_fixed_t' previously declared here player-mp3.c:126: uninitialized const `mad_fixed_t' player-mp3.c:126: parse error before `*' player-mp3.c:129: implicit declaration of function `int mad_f_fracpart(...)' player-mp3.c:132: `old' undeclared (first use this function) player-mp3.c:132: implicit declaration of function `int mad_f_mul(...)' player-mp3.c:140: `end' undeclared (first use this function) player-mp3.c:140: implicit declaration of function `int mad_f_intpart(...)' player-mp3.c:153: implicit declaration of function `int mad_f_fromint(...)' player-mp3.c:155: `begin' undeclared (first use this function) player-mp3.c:126: warning: unused variable `const int mad_fixed_t' player-mp3.c:156: warning: control reaches end of non-void function `cResample::ResampleBlock(...)' player-mp3.c: At top level: player-mp3.c:192: syntax error before `;' player-mp3.c: In method `void cLevel::Init()': player-mp3.c:217: `peak' undeclared (first use this function) player-mp3.c: In method `void cLevel::GetPower(mad_pcm *)': player-mp3.c:222: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:224: `mad_fixed_t' undeclared (first use this function) player-mp3.c:224: `data' undeclared (first use this function) player-mp3.c:224: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:225: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:230: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c: In method `double cLevel::GetPeak()': player-mp3.c:268: warning: control reaches end of non-void function `cLevel::GetPeak()' player-mp3.c: At top level: player-mp3.c:274: syntax error before `;' player-mp3.c:276: syntax error before `;' player-mp3.c:281: syntax error before `;' player-mp3.c:285: syntax error before `*' player-mp3.c:287: ANSI C++ forbids declaration `mad_fixed_t' with no type player-mp3.c:287: `mad_fixed_t' declared as an `inline' field player-mp3.c:287: parse error before `(' player-mp3.c:289: ANSI C++ forbids declaration `mad_fixed_t' with no type player-mp3.c:289: `mad_fixed_t' declared as an `inline' field player-mp3.c:289: declaration of `int cNormalize::mad_fixed_t' player-mp3.c:287: conflicts with previous declaration `int cNormalize::mad_fixed_t' player-mp3.c:289: parse error before `(' player-mp3.c:289: duplicate member `cNormalize::mad_fixed_t' player-mp3.c: In method `cNormalize::cNormalize()': player-mp3.c:302: `limlvl' undeclared (first use this function) player-mp3.c:306: `mad_fixed_t' undeclared (first use this function) player-mp3.c:306: parse error before `=' player-mp3.c:307: `tablestart' undeclared (first use this function) player-mp3.c:307: `start' undeclared (first use this function) player-mp3.c:308: `MAD_F_FRACBITS' undeclared (first use this function) player-mp3.c:308: `cNormalize::mad_fixed_t' cannot be used as a function player-mp3.c:308: `cNormalize::mad_fixed_t' cannot be used as a function player-mp3.c:309: `table' undeclared (first use this function) player-mp3.c:309: parse error before `[' player-mp3.c:311: `cNormalize::mad_fixed_t' cannot be used as a function player-mp3.c:313: implicit declaration of function `int Limiter(...)' player-mp3.c:314: `cNormalize::mad_fixed_t' cannot be used as a function player-mp3.c:323: parse error before `=' player-mp3.c:324: parse error before `=' player-mp3.c:324: `x' undeclared (first use this function) player-mp3.c:325: parse error before `=' player-mp3.c:326: `diff' undeclared (first use this function) player-mp3.c:326: `maxdiff' undeclared (first use this function) player-mp3.c: In method `void cNormalize::Init(double, double)': player-mp3.c:358: `gain' undeclared (first use this function) player-mp3.c: At top level: player-mp3.c:382: syntax error before `::' player-mp3.c:398: syntax error before `++' player-mp3.c:400: ANSI C++ forbids declaration `x' with no type player-mp3.c:400: `int x' used prior to declaration player-mp3.c:400: `d_limlvl' was not declared in this scope player-mp3.c:400: `one_limlvl' was not declared in this scope player-mp3.c:400: `one_limlvl' was not declared in this scope player-mp3.c:400: `d_limlvl' was not declared in this scope player-mp3.c:401: parse error before `}' player-mp3.c:406: syntax error before `::' player-mp3.c:415: syntax error before `++' player-mp3.c:419: syntax error before `=' player-mp3.c:420: ANSI C++ forbids declaration `x' with no type player-mp3.c:420: redefinition of `int x' player-mp3.c:400: `int x' previously defined here player-mp3.c:421: parse error before `if' player-mp3.c:423: ANSI C++ forbids declaration `x' with no type player-mp3.c:423: redefinition of `int x' player-mp3.c:420: `int x' previously defined here player-mp3.c:423: `ptr' was not declared in this scope player-mp3.c:424: syntax error before `=' player-mp3.c:427: syntax error before `+=' player-mp3.c: In method `void cNormalize::AddGain(mad_pcm *)': player-mp3.c:443: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:444: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:446: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:449: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:450: `mad_fixed_t' undeclared (first use this function) player-mp3.c:450: parse error before `=' player-mp3.c:451: `s' undeclared (first use this function) player-mp3.c:456: implicit declaration of function `int FastLimiter(...)' player-mp3.c:469: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:470: parse error before `=' player-mp3.c: At top level: player-mp3.c:493: enumerator value for `MIN' not integer constant player-mp3.c:493: enumerator value for `MAX' not integer constant player-mp3.c:497: syntax error before `;' player-mp3.c:498: syntax error before `;' player-mp3.c:502: syntax error before `[' player-mp3.c:503: syntax error before `;' player-mp3.c:506: ANSI C++ forbids declaration `mad_fixed_t' with no type player-mp3.c:506: `mad_fixed_t' declared as an `inline' field player-mp3.c:506: parse error before `(' player-mp3.c:508: invalid use of member `cScale::mad_fixed_t' player-mp3.c:508: parse error before `)' player-mp3.c:509: invalid use of member `cScale::mad_fixed_t' player-mp3.c:509: parse error before `,' player-mp3.c:513: parse error before `*' player-mp3.c: In method `void cScale::Init()': player-mp3.c:519: `peak_clipping' undeclared (first use this function) player-mp3.c:519: `peak_sample' undeclared (first use this function) player-mp3.c: At top level: player-mp3.c:534: syntax error before `::' player-mp3.c:550: ANSI C++ forbids declaration `sample' with no type player-mp3.c:550: `MAX' was not declared in this scope player-mp3.c:551: parse error before `}' player-mp3.c:552: ANSI C++ forbids declaration `peak_sample' with no type player-mp3.c:552: `int peak_sample' used prior to declaration player-mp3.c:553: parse error before `}' player-mp3.c:559: ANSI C++ forbids declaration `sample' with no type player-mp3.c:559: redefinition of `int sample' player-mp3.c:550: `int sample' previously defined here player-mp3.c:559: `MIN' was not declared in this scope player-mp3.c:560: parse error before `}' player-mp3.c:561: ANSI C++ forbids declaration `peak_sample' with no type player-mp3.c:561: redefinition of `int peak_sample' player-mp3.c:552: `int peak_sample' previously defined here player-mp3.c:561: multiple initializations given for `peak_sample' player-mp3.c:562: parse error before `}' player-mp3.c:569: parse error before `)' player-mp3.c: In method `long int cScale::LinearRound(...)': player-mp3.c:574: implicit declaration of function `int Clip(...)' player-mp3.c:577: warning: control reaches end of non-void function `cScale::LinearRound(...)' player-mp3.c: At top level: player-mp3.c:586: parse error before `,' player-mp3.c: In method `long int cScale::LinearDither(...)': player-mp3.c:589: parse error before `->' player-mp3.c:593: `mad_fixed_t' undeclared (first use this function) player-mp3.c:595: ANSI C++ forbids declaration `mad_fixed_t' with no type player-mp3.c:595: uninitialized const `mad_fixed_t' player-mp3.c:595: parse error before `=' player-mp3.c:597: ANSI C++ forbids declaration `mad_fixed_t' with no type player-mp3.c:597: redeclaration of `const int mad_fixed_t' player-mp3.c:595: `const int mad_fixed_t' previously declared here player-mp3.c:597: uninitialized const `mad_fixed_t' player-mp3.c:597: parse error before `=' player-mp3.c:598: `output' undeclared (first use this function) player-mp3.c:598: `mask' undeclared (first use this function) player-mp3.c:598: parse error before `->' player-mp3.c:599: parse error before `->' player-mp3.c:606: parse error before `->' player-mp3.c:597: warning: unused variable `const int mad_fixed_t' player-mp3.c:609: warning: control reaches end of non-void function `cScale::LinearDither(...)' player-mp3.c: At top level: player-mp3.c:615: parse error before `*' player-mp3.c: In method `unsigned int cScale::ScaleBlock(...)': player-mp3.c:617: `size' undeclared (first use this function) player-mp3.c:618: `nsamples' undeclared (first use this function) player-mp3.c:620: `mode' undeclared (first use this function) player-mp3.c:623: `left' undeclared (first use this function) player-mp3.c:625: `right' undeclared (first use this function) player-mp3.c:655: warning: control reaches end of non-void function `cScale::ScaleBlock(...)' player-mp3.c: At top level: player-mp3.c:1155: parse error before `*' player-mp3.c:1208: parse error before `*' player-mp3.c:1247: parse error before `*' player-mp3.c: In method `class cFrame * cOutputDvb::MakeFrame(...)': player-mp3.c:1271: `sr' undeclared (first use this function) player-mp3.c:1282: `Samples' undeclared (first use this function) player-mp3.c:1282: `Data' undeclared (first use this function) player-mp3.c:1287: no matching function for call to `cFrame::cFrame (unsigned char *&, unsigned int, eFrameType, char * (&)(const char *, int) throw ())' ../../../include/vdr/ringbuffer.h:105: candidates are: cFrame::cFrame(const uchar *, int, eFrameType = ftUnknown, int = -1) ../../../include/vdr/ringbuffer.h:114: cFrame::cFrame(const cFrame &) player-mp3.c: In method `void cMP3Player::Action()': player-mp3.c:1520: ANSI C++ forbids declaration `mad_fixed_t' with no type player-mp3.c:1520: uninitialized const `mad_fixed_t' player-mp3.c:1520: parse error before `*' player-mp3.c:1691: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1692: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1693: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1697: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1698: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1699: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1699: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1701: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1702: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1703: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1705: no matching function for call to `cResample::Resampled ()' player-mp3.c:1707: invalid use of undefined type `struct mad_pcm' decoder-core.h:36: forward declaration of `struct mad_pcm' player-mp3.c:1709: no matching function for call to `cResample::Resampled ()' player-mp3.c:1520: warning: unused variable `const int mad_fixed_t' make: *** [player-mp3.o] Error 1