build of kdelibs trunk broken?

Andrew andrew.dorrell at gmail.com
Sat Nov 15 11:43:44 GMT 2008


On Sat, 15 Nov 2008 05:27:22 am Matthew Woehlke wrote:
> Andrew wrote:
> > CMakeFiles/kjs.dir/scope_chain.o: In function
> > `KJS::ScopeChainIterator::operator*() const':
> > /home/kdev/kde/src/KDE/kdelibs/kjs/scope_chain.h:118: undefined
> > reference to `KJS::ScopeChainLink::object() const'
> > collect2: ld returned 1 exit status
> > make[2]: *** [lib/libkjs.so.4.2.0] Error 1
> > make[1]: *** [kjs/CMakeFiles/kjs.dir/all] Error 2
> > make[1]: *** Waiting for unfinished jobs....
> >
...
>
> I added '#include "JSVariableObject.h"' to scope_chain.cpp and had 
no
> problems, so I committed that (as the code was otherwise quite 
clearly
> broken; that was also before I saw this thread). If that's not the
> correct solution, we need to figure out what is.
>
> Andrew: I added it /last/, please svn up and see if you're still having
> issues, if yes then it was probably order-of-includes (and I guess I
> lucked out getting it right).

I did an update today and the build of kdelibs completed successfully.  
Thanks.

However... a recent change has caused the build of kdebase to fail 
(related to new kaphal stuff I am lead to believe from the following):

[ 37%] Building CXX object 
workspace/kwin/lib/CMakeFiles/kdecorations.dir/kcommondecoration.o
/home/kdev/kde/src/KDE/kdebase/workspace/kwin/lib/kcommondecoration.cpp:41:28: 
error: kephal/screens.h: No such file or directory

the file exists so perhaps the path is just missing from the build options:
kdev at acer:~/kde/src/KDE/kdebase$ find . -name screens.h
./workspace/libs/kephal/kephal/screens.h

Regards,
Andrew





More information about the kde-core-devel mailing list