Yritän epätoivoisesti asentaa MythMusic:ia mutta FLAC-enkooderin kanssa tulee ongelmia:
Kaikki pre-requt asennettu mythplugins-0.20a/mythmusic/README:n mukaisesti, mutta
käännösvaiheessa flacdecoder hirttää kiinni:
root@petkoti:/usr/src/mythplugins-0.20a# !583
./configure --disable-all --enable-mythmusic --enable-fftw --enable-aac --enable-sdl --enable-flac --enable-opengl
Configuration settings:
MythArchive plugin will not be built
MythBrowser plugin will not be built
MythControls plugin will not be built
MythFlix plugin will not be built
MythDVD plugin will not be built
MythGallery plugin will not be built
MythGame plugin will not be built
MythMusic plugin will be built
MythNews plugin will not be built
MythPhone plugin will not be built
MythVideo plugin will not be built
MythWeather plugin will not be built
OpenGL support will be included in MythMusic
FFTW v.3 support will be included in MythMusic
SDL support will be included in MythMusic
AAC support will be included in MythMusic
root@petkoti:/usr/src/mythplugins-0.20a# qmake mythplugins.pro
root@petkoti:/usr/src/mythplugins-0.20a# make
cd mythmusic && make -f Makefile
make[1]: Entering directory `/usr/src/mythplugins-0.20a/mythmusic'
cd mythmusic && make -f Makefile
make[2]: Entering directory `/usr/src/mythplugins-0.20a/mythmusic/mythmusic'
qmake -o Makefile mythmusic.pro
make[2]: Leaving directory `/usr/src/mythplugins-0.20a/mythmusic/mythmusic'
make[2]: Entering directory `/usr/src/mythplugins-0.20a/mythmusic/mythmusic'
ccache g++ -c -pipe -march=pentium4 -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../../../../local/include -I../../../../include/FLAC -I/usr/kde/3.3/include -I../../../../local/include -I../../../../include -I/usr/include/cdda -I../../../../include/qt3 -I/usr/X11R6/include -o aacdecoder.o aacdecoder.cpp
aacdecoder.cpp: In member function ‘bool aacDecoder::initializeMP4()’:
aacdecoder.cpp:305: warning: dereferencing type-punned pointer will break strict-aliasing rules
ccache g++ -c -pipe -march=pentium4 -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../../../../local/include -I../../../../include/FLAC -I/usr/kde/3.3/include -I../../../../local/include -I../../../../include -I/usr/include/cdda -I../../../../include/qt3 -I/usr/X11R6/include -o cddecoder.o cddecoder.cpp
ccache g++ -c -pipe -march=pentium4 -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../../../../local/include -I../../../../include/FLAC -I/usr/kde/3.3/include -I../../../../local/include -I../../../../include -I/usr/include/cdda -I../../../../include/qt3 -I/usr/X11R6/include -o cdrip.o cdrip.cpp
ccache g++ -c -pipe -march=pentium4 -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../../../../local/include -I../../../../include/FLAC -I/usr/kde/3.3/include -I../../../../local/include -I../../../../include -I/usr/include/cdda -I../../../../include/qt3 -I/usr/X11R6/include -o decoder.o decoder.cpp
ccache g++ -c -pipe -march=pentium4 -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../../../../local/include -I../../../../include/FLAC -I/usr/kde/3.3/include -I../../../../local/include -I../../../../include -I/usr/include/cdda -I../../../../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 `/usr/src/mythplugins-0.20a/mythmusic/mythmusic'
make[1]: *** [sub-mythmusic] Error 2
make[1]: Leaving directory `/usr/src/mythplugins-0.20a/mythmusic'
make: *** [sub-mythmusic] Error 2
Olisiko kellään apuja?
- Pet