Weird kdemultimedia compile behavior

Jeff Mitchell kde-dev at emailgoeshere.com
Tue Dec 11 13:22:57 GMT 2007


I've seen this on two machines now...compiling kdemultimedia initially errors 
out with:

[ 58%] Building CXX object 
kioslave/audiocd/CMakeFiles/kio_audiocd.dir/audiocd.o
/usr/bin/c++   -Dkio_audiocd_EXPORTS   -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fvisibility=hidden -g3 -fno-inline -fPIC -I/home/kde4user/build/KDE/kdemultimedia/kioslave/audiocd -I/home/kde4user/src/KDE/kdemultimedia/kioslave/audiocd -I/home/kde4user/src/KDE/kdemultimedia -I/home/kde4user/build/KDE/kdemultimedia -I/home/kde4user/src/KDE/kdemultimedia/libkcddb -I/home/kde4user/build/KDE/kdemultimedia/libkcddb -I/home/kde4user/src/KDE/kdemultimedia/libkcompactdisc -I/home/kde4user/build/KDE/kdemultimedia/libkcompactdisc -I/home/kde4user/qt-copy/include -I/home/kde4user/qt-copy/include/Qt -I/home/kde4user/qt-copy/mkspecs/default -I/home/kde4user/qt-copy/include/QtCore -I/home/kde4user/qt-copy/include/QtGui -I/home/kde4user/qt-copy/include/Qt3Support -I/home/kde4user/qt-copy/include/QtAssistant -I/home/kde4user/qt-copy/include/QtDesigner -I/home/kde4user/qt-copy/include/QtNetwork -I/home/kde4user/qt-copy/include/QtOpenGL -I/home/kde4user/qt-copy/include/QtSql -I/home/kde4user/qt-copy/include/QtXml -I/home/kde4user/qt-copy/include/QtSvg -I/home/kde4user/qt-copy/include/QtScript -I/home/kde4user/qt-copy/include/QtUiTools -I/home/kde4user/qt-copy/include/QtTest -I/home/kde4user/qt-copy/include/QtDBus -I/home/kde4user/kde/include -I/home/kde4user/kde/include/KDE   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DHAVE_CONFIG_H=1 -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -o 
kioslave/audiocd/CMakeFiles/kio_audiocd.dir/audiocd.o -c /home/kde4user/src/KDE/kdemultimedia/kioslave/audiocd/audiocd.cpp
/home/kde4user/src/KDE/kdemultimedia/kioslave/audiocd/audiocd.cpp: In member 
function ‘cdrom_drive* AudioCD::AudioCDProtocol::initRequest(const KUrl&)’:
/home/kde4user/src/KDE/kdemultimedia/kioslave/audiocd/audiocd.cpp:223: 
error: ‘struct cdrom_drive’ has no member named ‘dev’
/home/kde4user/src/KDE/kdemultimedia/kioslave/audiocd/audiocd.cpp:234: 
error: ‘struct cdrom_drive’ has no member named ‘dev’
/home/kde4user/src/KDE/kdemultimedia/kioslave/audiocd/audiocd.cpp:236: 
error: ‘struct cdrom_drive’ has no member named ‘dev’
/home/kde4user/src/KDE/kdemultimedia/kioslave/audiocd/audiocd.cpp:245: 
error: ‘struct cdrom_drive’ has no member named ‘dev’
/home/kde4user/src/KDE/kdemultimedia/kioslave/audiocd/audiocd.cpp:246: 
error: ‘struct cdrom_drive’ has no member named ‘dev’
make[2]: *** [kioslave/audiocd/CMakeFiles/kio_audiocd.dir/audiocd.o] Error 1
make[2]: Leaving directory `/home/kde4user/build/KDE/kdemultimedia'
make[1]: *** [kioslave/audiocd/CMakeFiles/kio_audiocd.dir/all] Error 2
make[1]: Leaving directory `/home/kde4user/build/KDE/kdemultimedia'
make: *** [all] Error 2

But upon running make again (using the cmakekde bash function), the compile 
finishes just fine.

Is this expected for some reason?

--Jeff


More information about the kde-core-devel mailing list