Skip to Content

compile error SuSE 10.1

2 replies [Last post]
delphi
Offline
Joined: 04/17/2010

Hi all.

Hydrogen compiles OK without FLAC after applying
the TinyXML patch from this thread:

http://www.hydrogen-music.org/forum/index.php?action=show_thread&thread=344&fid=4&page=1

But the compilation bombs when FLAC is turned on. It's a bummer
since the included drumkits need it, and the only sound I get is
the metronome.

uname -a
Linux comet 2.6.16.21-0.25-default #1 SMP Mon Mar 5 21:03:30 EST 2007 i686 athlon i386 GNU/Linux

gcc -v
gcc version 4.1.0 (SUSE Linux)

libc
/lib/libc-2.4.so

flac
flac-1.1.4

hydrogen
hydrogen-0.9.3

make output:

g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -g -w -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I. -Isrc -I/usr/include -I/usr/lib/qt3/include -o src/FLACFile.o src/lib/FLACFile.cpp
src/lib/FLACFile.cpp: In member function ‘void FLACFile_real::load(std::string)’:
src/lib/FLACFile.cpp:167: error: ‘set_filename’ was not declared in this scope
src/lib/FLACFile.cpp:169: error: no matching function for call to ‘FLACFile_real::init()’
/usr/local/include/FLAC++/decoder.h:226: note: candidates are: virtual FLAC__StreamDecoderInitStatus FLAC::Decoder::File::init(FILE*)
/usr/local/include/FLAC++/decoder.h:227: note: virtual FLAC__StreamDecoderInitStatus FLAC::Decoder::File::init(const char*)
/usr/local/include/FLAC++/decoder.h:228: note: virtual FLAC__StreamDecoderInitStatus FLAC::Decoder::File::init(const std::string&)
src/lib/FLACFile.cpp:170: error: ‘FLAC__FILE_DECODER_OK’ was not declared in this scope
src/lib/FLACFile.cpp:174: error: ‘process_until_end_of_file’ was not declared in this scope

aym3ric
Offline
Joined: 04/17/2010
delphi
Offline
Joined: 04/17/2010

You're the man, amyric. That did it. Thanks!