Version: (using KDE KDE 3.1.94) Installed from: Compiled From Sources Compiler: gcc 3.2.3 OS: Solaris I get this compile error on Solaris 2.6: if /bin/ksh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/opt/qt/include -I/gorbag/exta/cad/externals/SOLARIS/include -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT mixer.lo -MD -MP -MF ".deps/mixer.Tpo" \ -c -o mixer.lo `test -f 'mixer.cpp' || echo './'`mixer.cpp; \ then mv -f ".deps/mixer.Tpo" ".deps/mixer.Plo"; \ else rm -f ".deps/mixer.Tpo"; exit 1; \ fi In file included from kmix-platforms.cpp:63, from mixer.cpp:30: mixer_sun.cpp: In member function `virtual int Mixer_SUN::openMixer()': mixer_sun.cpp:195: no matching function for call to `MixDevice::setRecordSource (bool, bool)' gmake[1]: *** [mixer.lo] Error 1 gmake[1]: Leaving directory `/tmp/kdemultimedia-3.1.94/kmix' It appears that MixDevice::setRecordSource is being called with an argument list of (bool,bool), when it expects (int,bool)
Created attachment 3750 [details] patch for kdemultimedia/kmix/mixer_sun.cpp I'm not sure if the patch is correct, but at least kmix compiles for me and doesn't crash... ;-)
Subject: kdemultimedia/kmix CVS commit by coolo: patch by Torsten Kasch CCMAIL: 70509-done@bugs.kde.org M +1 -1 mixer_sun.cpp 1.20 --- kdemultimedia/kmix/mixer_sun.cpp #1.19:1.20 @@ -193,5 +193,5 @@ int Mixer_SUN::openMixer() MixDevice* md = new MixDevice( idx, vol, false, true, QString(MixerDevNames[idx]), MixerChannelTypes[idx]); - md->setRecordSource( isRecsrcHW( idx ), true ); + md->setRecSource( isRecsrcHW( idx ) ); m_mixDevices.append( md ); }