[mythtv-users] trunk compile error

Roger Depreeuw rogdepre at skynet.be
Thu Feb 8 16:49:07 UTC 2007

Hi all,
tried to compile the trunk version and got a compile error in the
mythmusic part. Looks like a gcc issue, but does someone know to correct
it without having to use another gcc version.i'm not an experienced
programmer so maybe it is just an easy patch.
My system is on FC5
gcc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)

This is the error

flacdecoder.h:38: error: ISO C++ forbids declaration of
‘FLAC__SeekableStreamDecoder’ with no type
flacdecoder.h:38: error: expected ‘;’ before ‘*’ token
flacdecoder.cpp:20: error: ‘FLAC__SeekableStreamDecoderReadStatus’ does
not name a type
flacdecoder.cpp:36: error: ‘FLAC__SeekableStreamDecoderSeekStatus’ does
not name a type
flacdecoder.cpp:49: error: ‘FLAC__SeekableStreamDecoderTellStatus’ does
not name a type
flacdecoder.cpp:60: error: ‘FLAC__SeekableStreamDecoderLengthStatus’
does not name a type

and this is flacdecoder.h line 38

    FLAC__SeekableStreamDecoder *decoder;

thanks in advance

More information about the mythtv-users mailing list