Latest kdevplatform fails to build - Kross linker error

Nicolas Alvarez nicolas.alvarez at gmail.com
Wed Dec 16 21:55:31 UTC 2009


Building the latest SVN version of kdevplatform:

nicolas at tahu:~/src/kdevplatform$ svnversion                                                                                              
1063066M                                                                                                                                 
nicolas at tahu:~/src/kdevplatform$ cd build
nicolas at tahu:~/src/kdevplatform/build$ make
[...]
[ 59%] Built target duchaintokross_automoc
Linking CXX executable duchaintokross
/usr/bin/ld: CMakeFiles/duchaintokross.dir/duchainextractor.o: in function 
KrossImpl::valueToVariant(QString const&, QString 
const&):/home/nicolas/src/kdevplatform/shell/kross/xmltokross/krossimpl.h:137: 
error: undefined reference to 'Kross::Manager::self()'
/usr/bin/ld: CMakeFiles/duchaintokross.dir/duchainextractor.o: in function 
KrossImpl::valueToVariant(QString const&, QString 
const&):/home/nicolas/src/kdevplatform/shell/kross/xmltokross/krossimpl.h:137: 
error: undefined reference to 'Kross::Manager::metaTypeHandler(QByteArray 
const&) const'
collect2: ld returned 1 exit status
make[2]: *** [shell/kross/xmltokross/duchaintokross] Error 1
make[1]: *** [shell/kross/xmltokross/CMakeFiles/duchaintokross.dir/all] 
Error 2
make: *** [all] Error 2

Using gcc 4.3.4 on Debian testing, all KDE dev packages from Debian repos 
(kdelibs 4.3.2).

-- 
Nicolas

I read mailing lists through Gmane. Please don't Cc me on replies; it makes 
me get one message on my newsreader and another on email.





More information about the KDevelop-devel mailing list