Only works on second time

David Faure faure at kde.org
Fri Apr 14 18:21:55 CEST 2006


Hi,

I got this error while compiling kdelibs4_snapshot:

Scanning dependencies of target kcm_phonon
Building CXX object phonon/kcm/CMakeFiles/kcm_phonon.dir/main.o
In file included from /devel/kde/src/4/kdelibs4_snapshot/phonon/kcm/main.cpp:26:
/devel/kde/src/4/kdelibs4_snapshot/phonon/kcm/outputdevicechoice2.h:23:36: ui_outputdevicechoice2.h: No such file or directory
make[2]: *** [phonon/kcm/CMakeFiles/kcm_phonon.dir/main.o] Error 1
make[1]: *** [phonon/kcm/CMakeFiles/kcm_phonon.dir/all] Error 2
make: *** [all] Error 2
makeobj[0]: Leaving directory `/devel/kde/build/4/kdelibs4_snapshot'

But doing make again fixed it:

-obelix- dfaure 18:08 /devel/kde/build/4/kdelibs4_snapshot>cd phonon/kcm
-obelix- dfaure 18:15 /devel/kde/build/4/kdelibs4_snapshot/phonon/kcm>make
makeobj[0]: Entering directory `/devel/kde/build/4/kdelibs4_snapshot/phonon/kcm'
Scanning dependencies of target kcm_phonon
Generating ui_outputdevicechoice2.h
Building CXX object phonon/kcm/CMakeFiles/kcm_phonon.dir/main.o
Building CXX object phonon/kcm/CMakeFiles/kcm_phonon.dir/outputdevicechoice2.o
Linking CXX shared module ../../lib/kcm_phonon.so
makeobj[0]: Leaving directory `/devel/kde/build/4/kdelibs4_snapshot/phonon/kcm'

Any idea why the dependency would be noticed only on the 2nd run?

David.


More information about the Kde-buildsystem mailing list