Hi All,
Having started from scratch again in my quest to build TDE on wheezy, tdelibs is now failing to compile.
I've built and installed, from Git, as per the wiki (except that avahi-tqt will not build) and tdelibs fails with;
.......... [ 1%] Building CXX object dcop/CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o cd /tmp/tdelibs/dcop && /usr/bin/c++ -DDCOP_shared_EXPORTS -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/tmp/tdelibs/dcop -I/tmp/tdelibs -I/root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop -I/tmp/tdelibs/tdecore -I/root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/tdecore -o CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o -c /root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp In file included from /root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp:2285: /tmp/tdelibs/dcop/dcopclient.moc:121: error: ISO C++ forbids declaration of âQCStringâ with no type /tmp/tdelibs/dcop/dcopclient.moc:121: error: expected â,â or â...â before â&â token /tmp/tdelibs/dcop/dcopclient.moc:121: error: prototype for âvoid DCOPClient::applicationRegistered(int)â does not match any in class âDCOPClientâ /root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:745: error: candidate is: void DCOPClient::applicationRegistered(const TQCString&) /tmp/tdelibs/dcop/dcopclient.moc:134: error: ISO C++ forbids declaration of âQCStringâ with no type /tmp/tdelibs/dcop/dcopclient.moc:134: error: expected â,â or â...â before â&â token /tmp/tdelibs/dcop/dcopclient.moc:134: error: prototype for âvoid DCOPClient::applicationRemoved(int)â does not match any in class âDCOPClientâ /root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:754: error: candidate is: void DCOPClient::applicationRemoved(const TQCString&) /tmp/tdelibs/dcop/dcopclient.moc:166: error: ISO C++ forbids declaration of âQCStringâ with no type /tmp/tdelibs/dcop/dcopclient.moc:166: error: expected â,â or â...â before â&â token /tmp/tdelibs/dcop/dcopclient.moc:166: error: prototype for âvoid DCOPClient::callBack(int, int)â does not match any in class âDCOPClientâ /root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:794: error: candidate is: void DCOPClient::callBack(int, const TQCString&, const TQByteArray&) /tmp/tdelibs/dcop/dcopclient.moc: In member function âvirtual bool DCOPClient::qt_emit(int, TQUObject*)â: /tmp/tdelibs/dcop/dcopclient.moc:196: error: ISO C++ forbids declaration of âtype nameâ with no type /tmp/tdelibs/dcop/dcopclient.moc:196: error: ISO C++ forbids declaration of âtype nameâ with no type /tmp/tdelibs/dcop/dcopclient.moc:196: error: expected primary-expression before âconstâ /tmp/tdelibs/dcop/dcopclient.moc:196: error: expected â)â before âconstâ /tmp/tdelibs/dcop/dcopclient.moc:197: error: ISO C++ forbids declaration of âtype nameâ with no type /tmp/tdelibs/dcop/dcopclient.moc:197: error: ISO C++ forbids declaration of âtype nameâ with no type /tmp/tdelibs/dcop/dcopclient.moc:197: error: expected primary-expression before âconstâ /tmp/tdelibs/dcop/dcopclient.moc:197: error: expected â)â before âconstâ /tmp/tdelibs/dcop/dcopclient.moc:200: error: ISO C++ forbids declaration of âtype nameâ with no type /tmp/tdelibs/dcop/dcopclient.moc:200: error: ISO C++ forbids declaration of âtype nameâ with no type /tmp/tdelibs/dcop/dcopclient.moc:200: error: expected primary-expression before âconstâ /tmp/tdelibs/dcop/dcopclient.moc:200: error: expected â)â before âconstâ make[2]: *** [dcop/CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o] Error 1 make[2]: Leaving directory `/tmp/tdelibs' make[1]: *** [dcop/CMakeFiles/DCOP-shared.dir/all] Error 2 make[1]: Leaving directory `/tmp/tdelibs' make: *** [all] Error 2 .........
I've then mirrored exactly what I've done on wheezy in a squeeze chroot and the results are the same, including the failure of avahi-tqt to build.
As a matter of interest, apart from the 'util' linking issue on wheezy, tdelibs built ok last week.
Any ideas?
Regards, Mike. --