Version: 4.3.75 (using Devel) Compiler: gcc 4.4.1 LDFLAGS=" -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro" OS: Linux Installed from: Compiled sources Linking CXX shared library ../../bin/generator_smoke.so CMakeFiles/generator_smoke.dir/generator_smoke.o: In function `QList<QFileInfo>::operator=(QList<QFileInfo> const&)': /usr/lib/qt4/include/QtCore/qlist.h:410: undefined reference to `ParserOptions::headerList' CMakeFiles/generator_smoke.dir/generator_smoke.o: In function `generate': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/generator_smoke.cpp:213: undefined reference to `ParserOptions::qtMode' CMakeFiles/generator_smoke.dir/writeClasses.o: In function `SmokeClassFiles::generateVirtualMethod(QTextStream&, QString const&, Method const&, QSet<QString>&)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:252: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:264: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:279: undefined reference to `Type::Void' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:295: undefined reference to `Type::Void' CMakeFiles/generator_smoke.dir/writeClasses.o: In function `SmokeClassFiles::generateSetAccessor(QTextStream&, QString const&, Field const&, Type const*, int)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:227: undefined reference to `Type::toString(QString const&) const' CMakeFiles/generator_smoke.dir/writeClasses.o: In function `SmokeClassFiles::generateMethod(QTextStream&, QString const&, QString const&, Method const&, int, QSet<QString>&)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:115: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:145: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:150: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:172: undefined reference to `Type::Void' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:116: undefined reference to `Type::Void' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:117: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:187: undefined reference to `Type::toString(QString const&) const' CMakeFiles/generator_smoke.dir/writeClasses.o: In function `SmokeClassFiles::writeClass(QTextStream&, Class const*, QString const&, QSet<QString>&)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:393: undefined reference to `BasicTypeDeclaration::toString() const' CMakeFiles/generator_smoke.dir/writeClasses.o: In function `QHash<QString, Type>::detach()': /usr/lib/qt4/include/QtCore/qhash.h:299: undefined reference to `types' CMakeFiles/generator_smoke.dir/writeClasses.o: In function `SmokeClassFiles::write(QList<QString> const&)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeClasses.cpp:57: undefined reference to `classes' CMakeFiles/generator_smoke.dir/writeClasses.o: In function `Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:181: undefined reference to `vtable for Member' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:181: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/writeClasses.o: In function `~Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: undefined reference to `vtable for Member' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: undefined reference to `vtable for Member' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/writeClasses.o:/home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: more undefined references to `vtable for Member' follow CMakeFiles/generator_smoke.dir/writeClasses.o: In function `Method': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:269: undefined reference to `vtable for Method' CMakeFiles/generator_smoke.dir/writeClasses.o: In function `~Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/writeClasses.o:(.data.rel.ro._ZTV10EnumMember[vtable for EnumMember]+0x20): undefined reference to `Member::toString(bool, bool) const' CMakeFiles/generator_smoke.dir/writeClasses.o:(.data.rel.ro._ZTI10EnumMember[typeinfo for EnumMember]+0x10): undefined reference to `typeinfo for Member' CMakeFiles/generator_smoke.dir/writeClasses.o:(.data.rel.ro._ZTV5Field[vtable for Field]+0x20): undefined reference to `Member::toString(bool, bool) const' CMakeFiles/generator_smoke.dir/writeClasses.o:(.data.rel.ro._ZTI5Field[typeinfo for Field]+0x10): undefined reference to `typeinfo for Member' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `QHash<QString, Class>::detach()': /usr/lib/qt4/include/QtCore/qhash.h:299: undefined reference to `classes' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `QHash<QString, Class>::constBegin() const': /usr/lib/qt4/include/QtCore/qhash.h:461: undefined reference to `classes' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `SmokeDataFile': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:42: undefined reference to `classes' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `QHash<QString, Class>::detach()': /usr/lib/qt4/include/QtCore/qhash.h:299: undefined reference to `classes' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `QHash<QString, Class>::detach_helper()': /usr/lib/qt4/include/QtCore/qhash.h:582: undefined reference to `classes' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o:/usr/lib/qt4/include/QtCore/qhash.h:584: more undefined references to `classes' follow CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `SmokeDataFile::write()': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:134: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:143: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:146: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:148: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:158: undefined reference to `BasicTypeDeclaration::toString() const' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o:/home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:161: more undefined references to `BasicTypeDeclaration::toString() const' follow CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `QHash<QString, Enum>::constBegin() const': /usr/lib/qt4/include/QtCore/qhash.h:461: undefined reference to `enums' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `SmokeDataFile::write()': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:217: undefined reference to `enums' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:221: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:241: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:288: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:298: undefined reference to `Type::Void' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `Type::name() const': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:402: undefined reference to `BasicTypeDeclaration::toString() const' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `SmokeDataFile::write()': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:399: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:396: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:310: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:332: undefined reference to `BasicTypeDeclaration::toString() const' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `QHash<Typedef const*, QHashDummyValue>::findNode(Typedef const* const&, unsigned int*) const': /usr/lib/qt4/include/QtCore/qhash.h:877: undefined reference to `flagTypes' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `Type::name() const': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:402: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:402: undefined reference to `BasicTypeDeclaration::toString() const' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `QHash<QString, Type>::detach()': /usr/lib/qt4/include/QtCore/qhash.h:299: undefined reference to `types' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `SmokeDataFile::write()': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:539: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:531: undefined reference to `BasicTypeDeclaration::toString() const' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `QHash<QString, Type>::detach()': /usr/lib/qt4/include/QtCore/qhash.h:299: undefined reference to `types' CMakeFiles/generator_smoke.dir/writeSmokeDataFile.o: In function `SmokeDataFile::write()': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:553: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:584: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:586: undefined reference to `typeinfo for Method' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:586: undefined reference to `typeinfo for Member' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:590: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:492: undefined reference to `Type::Void' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:495: undefined reference to `Type::toString(QString const&) const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:502: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:506: undefined reference to `Parameter::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/writeSmokeDataFile.cpp:630: undefined reference to `BasicTypeDeclaration::toString() const' /usr/bin/ld: Dwarf Error: Offset (33865) greater than or equal to .debug_str size (26068). CMakeFiles/generator_smoke.dir/helpers.o: In function `QHash<Typedef const*, QHashDummyValue>::findNode(Typedef const* const&, unsigned int*) const': /usr/lib/qt4/include/QtCore/qset.h:86: undefined reference to `flagTypes' CMakeFiles/generator_smoke.dir/helpers.o: In function `QHash<QString, Class>::detach()': /usr/lib/qt4/include/QtCore/qhash.h:299: undefined reference to `classes' CMakeFiles/generator_smoke.dir/helpers.o: In function `Util::addDestructor(Class*)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:424: undefined reference to `Type::Void' CMakeFiles/generator_smoke.dir/helpers.o: In function `Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:191: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Method': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:272: undefined reference to `vtable for Method' CMakeFiles/generator_smoke.dir/helpers.o: In function `Util::virtualMethodsForClass(Class const*)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:728: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:671: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:714: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:714: undefined reference to `BasicTypeDeclaration::toString() const' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:733: undefined reference to `BasicTypeDeclaration::toString() const' CMakeFiles/generator_smoke.dir/helpers.o:/home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:402: more undefined references to `BasicTypeDeclaration::toString() const' follow CMakeFiles/generator_smoke.dir/helpers.o: In function `Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:181: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Method': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:269: undefined reference to `vtable for Method' CMakeFiles/generator_smoke.dir/helpers.o: In function `Util::addOverloads(Method const&)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:607: undefined reference to `Type::toString(QString const&) const' CMakeFiles/generator_smoke.dir/helpers.o: In function `~Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Type::name() const': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:400: undefined reference to `BasicTypeDeclaration::toString() const' CMakeFiles/generator_smoke.dir/helpers.o: In function `Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:191: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Method': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:272: undefined reference to `vtable for Method' CMakeFiles/generator_smoke.dir/helpers.o: In function `Util::addAccessorMethods(Field const&, QSet<Type*>*)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:563: undefined reference to `Type::Void' CMakeFiles/generator_smoke.dir/helpers.o: In function `Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:191: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Method': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:272: undefined reference to `vtable for Method' CMakeFiles/generator_smoke.dir/helpers.o: In function `~Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: undefined reference to `vtable for Member' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:191: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Method': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:272: undefined reference to `vtable for Method' CMakeFiles/generator_smoke.dir/helpers.o: In function `Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:191: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Method': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:272: undefined reference to `vtable for Method' CMakeFiles/generator_smoke.dir/helpers.o: In function `Util::assignmentString(Type const*, QString const&)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:498: undefined reference to `Type::toString(QString const&) const' CMakeFiles/generator_smoke.dir/helpers.o: In function `QHash<QString, Function>::constBegin() const': /usr/lib/qt4/include/QtCore/qhash.h:461: undefined reference to `functions' CMakeFiles/generator_smoke.dir/helpers.o: In function `Util::preparse(QSet<Type*>*, QSet<Class const*>*, QList<QString> const&)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:103: undefined reference to `functions' CMakeFiles/generator_smoke.dir/helpers.o: In function `Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:191: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Method': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:272: undefined reference to `vtable for Method' CMakeFiles/generator_smoke.dir/helpers.o: In function `QHash<QString, Enum>::detach()': /usr/lib/qt4/include/QtCore/qhash.h:299: undefined reference to `enums' CMakeFiles/generator_smoke.dir/helpers.o: In function `Util::preparse(QSet<Type*>*, QSet<Class const*>*, QList<QString> const&)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/helpers.cpp:224: undefined reference to `EnumMember::toString() const' CMakeFiles/generator_smoke.dir/helpers.o: In function `QHash<QString, Class>::constBegin() const': /usr/lib/qt4/include/QtCore/qhash.h:461: undefined reference to `classes' CMakeFiles/generator_smoke.dir/helpers.o: In function `~Method': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:273: undefined reference to `vtable for Method' CMakeFiles/generator_smoke.dir/helpers.o: In function `~Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: undefined reference to `vtable for Member' /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:181: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Method': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:269: undefined reference to `vtable for Method' CMakeFiles/generator_smoke.dir/helpers.o: In function `~Member': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:192: undefined reference to `vtable for Member' CMakeFiles/generator_smoke.dir/helpers.o: In function `Type::registerType(Type const&)': /home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/generator/generators/smoke/../../type.h:449: undefined reference to `Type::toString(QString const&) const' CMakeFiles/generator_smoke.dir/helpers.o: In function `QHash<QString, Type>::detach()': /usr/lib/qt4/include/QtCore/qhash.h:299: undefined reference to `types' collect2: ld returned 1 exit status Are you sure generator_dump and generator_smoke are shared libraries, rather than modules?
Hm, this works just fine for me as sharead libraries. But you're right, they'd better be compiled as modules. Does this actually make any difference on Linux? And does compilation work for you if you change SHARED to MODULE in the CMakeLists.txt?
Yes, they compiled correctly after changing to module.
SVN commit 1050550 by arnorehn: Change the generators from 'shared library' to 'module'. Fixes a bug reported by Funda Wang. BUG:214828 M +1 -1 dump/CMakeLists.txt M +1 -1 smoke/CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1050550