Version: (using KDE KDE 3.3.0) Installed from: Compiled From Sources Compiler: gcc 2.95.3 OS: Linux Compilation fails as follows: make libakode_xiph_decoder_la_OBJECTS="flac_decoder.lo speex_decoder.lo vorbis_decoder.lo xiph_decoder.lo" all-am make[1]: Entering directory `/home/david/src/kdemultimedia-3.3.0/akode/plugins/xiph_decoder' source='vorbis_decoder.cpp' object='vorbis_decoder.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \ /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../akode/lib -I/opt/kde3.3/include -I/usr/lib/qt3.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O3 -march=i686 -mcpu=i686 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o vorbis_decoder.lo vorbis_decoder.cpp vorbis_decoder.cpp: In method `bool aKode::VorbisDecoderPlugin::canDecode(aKode::File *)': vorbis_decoder.cpp:62: implicit declaration of function `int aKode::ov_test_callbacks(...)' make[1]: *** [vorbis_decoder.lo] Error 1 make[1]: Leaving directory `/home/david/src/kdemultimedia-3.3.0/akode/plugins/xiph_decoder' make: *** [no-final] Error 2
What version of libvorbis do you have installed?
SuSE version 1.0beta4-91. It's probably a bit old, but if that's the problem, shouldn't the build check for a sufficiently up-to-date version?
Yes, it should. I just have to find out where exactly the line seperates. Probably at libvorbis 1.0.
CVS commit by carewolf: Improve libvorbis test: ov_open is also present in older version of libvorbis, ov_test_callbacks is not CCMAIL:90214-done@bugs.kde.org M +1 -1 configure.in.in 1.17 --- kdemultimedia/akode/configure.in.in #1.16:1.17 @@ -56,5 +56,5 @@ if test x$ogg_vorbis = xyes; then dnl we need the ogg_vorbis_lib because otherwise we override LIBS ! - KDE_CHECK_LIB(vorbisfile,ov_open,ogg_vorbis_lib=yes, + KDE_CHECK_LIB(vorbisfile,ov_test_callbacks,ogg_vorbis_lib=yes, ogg_vorbis=no,[-lvorbisfile -lvorbis -logg])