Latest kdevplatform fails to build - Kross linker error

Andreas Pakulat apaku at gmx.de
Thu Dec 17 00:21:54 UTC 2009


On 16.12.09 19:05:18, Nicolas Alvarez wrote:
> Nicolas Alvarez wrote:
> > 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
> 
> The g++ command (broken down for readability):

Fixed in svn, only happens with gold or when telling the linker to not
automatically add needed libs as it sees fit.

Andreas

-- 
A visit to a strange place will bring fresh work.




More information about the KDevelop-devel mailing list