[mythtv-users] Unable to compile mythplugin - flacdecoder.h:38: error: ISO C++ forbids declarat
New uSER
hottafiah at hotmail.com
Tue Jan 9 03:44:46 UTC 2007
Hi all,
I am hoping someone can help me with my most recent install of myth on my
debian box. As a prereq, I've downloaded the FLAC source and
compiled/installed without issues. However, when i try to compile my
mythplugins i receive a number of flac error message (see below). I'm not
sure what information to provide so please feel free to ask.
*******uname -a************
Linux MythDeb 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686 GNU/Linux
*****flac -v********
flac 1.1.3
****dpkg --get-selections "*flac*"
flac purge
libflac++-dev purge
libflac++5 purge
libflac-dev install
libflac7 purge
liboggflac3 install
(note that i've uninstalled the packaged version of flac as it didnt work
either.)
*********make******************
ccache g++ -c -pipe -march=pentiumpro -I/usr/include/kde/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -O3 -Wall
-Wno-switch -fomit-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr/local\"
-DMMX -Di386 -DUSING_FREEBOX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT
-I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include
-I/usr/kde/3.3/include -I/usr/local/include -I/usr/include/cdda
-I/usr/include/qt3 -I/usr/X11R6/include -o flacdecoder.o flacdecoder.cpp
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
flacdecoder.cpp:70: error: expected ',' or '...' before '*' token
flacdecoder.cpp:70: error: ISO C++ forbids declaration of
'FLAC__SeekableStreamDecoder' with no type
flacdecoder.cpp: In function 'FLAC__bool flaceof(int)':
flacdecoder.cpp:72: error: 'decoder' was not declared in this scope
flacdecoder.cpp:74: error: 'client_data' was not declared in this scope
flacdecoder.cpp: At global scope:
flacdecoder.cpp:70: warning: unused parameter 'FLAC__SeekableStreamDecoder'
flacdecoder.cpp:79: error: expected ',' or '...' before '*' token
flacdecoder.cpp:79: error: ISO C++ forbids declaration of
'FLAC__SeekableStreamDecoder' with no type
flacdecoder.cpp: In function 'FLAC__StreamDecoderWriteStatus
flacwrite(int)':
flacdecoder.cpp:81: error: 'decoder' was not declared in this scope
flacdecoder.cpp:83: error: 'client_data' was not declared in this scope
flacdecoder.cpp:85: error: 'frame' was not declared in this scope
flacdecoder.cpp:85: error: 'buffer' was not declared in this scope
flacdecoder.cpp: At global scope:
flacdecoder.cpp:79: warning: unused parameter 'FLAC__SeekableStreamDecoder'
flacdecoder.cpp:135: error: expected ',' or '...' before '*' token
flacdecoder.cpp:135: error: ISO C++ forbids declaration of
'FLAC__SeekableStreamDecoder' with no type
flacdecoder.cpp: In function 'void flacmetadata(int)':
flacdecoder.cpp:137: error: 'decoder' was not declared in this scope
flacdecoder.cpp:139: error: 'client_data' was not declared in this scope
flacdecoder.cpp:141: error: 'metadata' was not declared in this scope
flacdecoder.cpp: At global scope:
flacdecoder.cpp:135: warning: unused parameter 'FLAC__SeekableStreamDecoder'
flacdecoder.cpp:159: error: expected ',' or '...' before '*' token
flacdecoder.cpp:159: error: ISO C++ forbids declaration of
'FLAC__SeekableStreamDecoder' with no type
flacdecoder.cpp: In function 'void flacerror(int)':
flacdecoder.cpp:161: error: 'decoder' was not declared in this scope
flacdecoder.cpp:163: error: 'FLAC__FileDecoder' was not declared in this
scope
flacdecoder.cpp:163: error: 'file_decoder' was not declared in this scope
flacdecoder.cpp:163: error: expected primary-expression before ')' token
flacdecoder.cpp:163: error: expected `;' before 'client_data'
flacdecoder.cpp:166: error: 'status' was not declared in this scope
flacdecoder.cpp: At global scope:
flacdecoder.cpp:159: warning: unused parameter 'FLAC__SeekableStreamDecoder'
flacdecoder.cpp: In constructor 'FlacDecoder::FlacDecoder(const QString&,
DecoderFactory*, QIODevice*, AudioOutput*)':
flacdecoder.cpp:191: error: 'decoder' was not declared in this scope
flacdecoder.cpp: In member function 'virtual bool
FlacDecoder::initialize()':
flacdecoder.cpp:265: error: 'decoder' was not declared in this scope
flacdecoder.cpp:265: error: 'FLAC__seekable_stream_decoder_new' was not
declared in this scope
flacdecoder.cpp:266: error: 'FLAC__seekable_stream_decoder_set_md5_checking'
was not declared in this scope
flacdecoder.cpp:267: error: 'flacread' was not declared in this scope
flacdecoder.cpp:267: error:
'FLAC__seekable_stream_decoder_set_read_callback' was not declared in this
scope
flacdecoder.cpp:268: error: 'flacseek' was not declared in this scope
flacdecoder.cpp:268: error:
'FLAC__seekable_stream_decoder_set_seek_callback' was not declared in this
scope
flacdecoder.cpp:269: error: 'flactell' was not declared in this scope
flacdecoder.cpp:269: error:
'FLAC__seekable_stream_decoder_set_tell_callback' was not declared in this
scope
flacdecoder.cpp:270: error: 'flaclength' was not declared in this scope
flacdecoder.cpp:270: error:
'FLAC__seekable_stream_decoder_set_length_callback' was not declared in this
scope
flacdecoder.cpp:271: error: 'FLAC__seekable_stream_decoder_set_eof_callback'
was not declared in this scope
flacdecoder.cpp:272: error:
'FLAC__seekable_stream_decoder_set_write_callback' was not declared in this
scope
flacdecoder.cpp:273: error:
'FLAC__seekable_stream_decoder_set_metadata_callback' was not declared in
this scope
flacdecoder.cpp:274: error:
'FLAC__seekable_stream_decoder_set_error_callback' was not declared in this
scope
flacdecoder.cpp:275: error: 'FLAC__seekable_stream_decoder_set_client_data'
was not declared in this scope
flacdecoder.cpp:284: error: 'FLAC__seekable_stream_decoder_init' was not
declared in this scope
flacdecoder.cpp:285: error:
'FLAC__seekable_stream_decoder_process_until_end_of_metadata' was not
declared in this scope
flacdecoder.cpp: In member function 'void FlacDecoder::deinit()':
flacdecoder.cpp:298: error: 'decoder' was not declared in this scope
flacdecoder.cpp:298: error: 'FLAC__seekable_stream_decoder_finish' was not
declared in this scope
flacdecoder.cpp:299: error: 'FLAC__seekable_stream_decoder_delete' was not
declared in this scope
flacdecoder.cpp: In member function 'virtual void FlacDecoder::run()':
flacdecoder.cpp:333: error: 'FLAC__SeekableStreamDecoderState' was not
declared in this scope
flacdecoder.cpp:333: error: expected `;' before 'decoderstate'
flacdecoder.cpp:343: error: 'decoder' was not declared in this scope
flacdecoder.cpp:343: error: 'FLAC__seekable_stream_decoder_seek_absolute'
was not declared in this scope
flacdecoder.cpp:347: error: 'decoder' was not declared in this scope
flacdecoder.cpp:347: error: 'FLAC__seekable_stream_decoder_process_single'
was not declared in this scope
flacdecoder.cpp:348: error: 'decoderstate' was not declared in this scope
flacdecoder.cpp:348: error: 'FLAC__seekable_stream_decoder_get_state' was
not declared in this scope
make[2]: *** [flacdecoder.o] Error 1
make[2]: Leaving directory `/home/foo/mythplugins-0.20a/mythmusic/mythmusic'
make[1]: *** [sub-mythmusic] Error 2
make[1]: Leaving directory `/home/foo/mythplugins-0.20a/mythmusic'
make: *** [sub-mythmusic] Error 2
MythDeb:/home/foo/mythplugins-0.20a#
More information about the mythtv-users
mailing list