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. --
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;
Hi Mike,
This is odd--there were no substantive changes to tdelibs/kio in the past week. Here is the changelog for tdelibs: http://git.trinitydesktop.org/cgit/tdelibs/
Do you have the original working sources? If so there is a way to determine the GIT hash of those sources, narrowing down the number of commits that might have introduced a problem.
As an aside tdelibs from GIT builds just fine on my development systems (Ubuntu Oneiric, derived from Debian Squeeze).
Tim
On 09/01/2012 16:57, Timothy Pearson wrote:
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;
Hi Mike,
This is odd--there were no substantive changes to tdelibs/kio in the past week. Here is the changelog for tdelibs: http://git.trinitydesktop.org/cgit/tdelibs/
Do you have the original working sources? If so there is a way to determine the GIT hash of those sources, narrowing down the number of commits that might have introduced a problem.
As an aside tdelibs from GIT builds just fine on my development systems (Ubuntu Oneiric, derived from Debian Squeeze).
Tim
Hi Tim,
Looks like an error on my part (no surprise there) as I've tried the build with the original working sources that I pulled and also the stable source and the result is the same.
I'm obviously not doing something that I was doing a week or so ago! I'll get digging.
Cheers, Mike.
--
On 10/01/2012 15:17, Mike Howard wrote:
On 09/01/2012 16:57, Timothy Pearson wrote:
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;
Hi Mike,
This is odd--there were no substantive changes to tdelibs/kio in the past week. Here is the changelog for tdelibs: http://git.trinitydesktop.org/cgit/tdelibs/
Do you have the original working sources? If so there is a way to determine the GIT hash of those sources, narrowing down the number of commits that might have introduced a problem.
As an aside tdelibs from GIT builds just fine on my development systems (Ubuntu Oneiric, derived from Debian Squeeze).
Tim
Hi Tim,
Looks like an error on my part (no surprise there) as I've tried the build with the original working sources that I pulled and also the stable source and the result is the same.
I'm obviously not doing something that I was doing a week or so ago! I'll get digging.
Cheers, Mike.
Well I'm now totally stumped on this one. I've reinstalled the OS (wheezy - a number of times), built fro GIT following the wiki (a number of times) but still, building tdelibs fails (despite having built it a week or so ago) with the following;
[ 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/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop -I/tmp/tdelibs/tdecore -I/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/tdecore -o CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o -c /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp In file included from /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp:2285:0: /tmp/tdelibs/dcop/dcopclient.moc:121:47: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:121:57: error: ISO C++ forbids declaration of t0 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:121:6: error: prototype for void DCOPClient::applicationRegistered(const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:745:8: error: candidate is: void DCOPClient::applicationRegistered(const TQCString&) /tmp/tdelibs/dcop/dcopclient.moc:134:44: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:134:54: error: ISO C++ forbids declaration of t0 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:134:6: error: prototype for void DCOPClient::applicationRemoved(const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:754:8: error: candidate is: void DCOPClient::applicationRemoved(const TQCString&) /tmp/tdelibs/dcop/dcopclient.moc:166:42: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:166:52: error: ISO C++ forbids declaration of t1 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:166:62: error: QByteArray does not name a type /tmp/tdelibs/dcop/dcopclient.moc:166:74: error: ISO C++ forbids declaration of t2 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:166:6: error: prototype for void DCOPClient::callBack(int, const int&, const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:794:8: 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:42: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:196:42: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:196:36: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:196:36: error: expected ) before const /tmp/tdelibs/dcop/dcopclient.moc:197:39: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:197:39: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:197:33: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:197:33: error: expected ) before const /tmp/tdelibs/dcop/dcopclient.moc:200:62: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:200:62: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:200:56: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:200:56: 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 hate being beaten but there is nothing above that jumps out at me and I'm sure it's something to do with my configuration but I've gone over it repeatedly!
If anybody with more knowledge than me can see something I'd be eternally grateful.
Cheers, Mike.
--
Well I'm now totally stumped on this one. I've reinstalled the OS (wheezy - a number of times), built fro GIT following the wiki (a number of times) but still, building tdelibs fails (despite having built it a week or so ago) with the following;
[ 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/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop -I/tmp/tdelibs/tdecore -I/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/tdecore -o CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o -c /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp In file included from /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp:2285:0: /tmp/tdelibs/dcop/dcopclient.moc:121:47: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:121:57: error: ISO C++ forbids declaration of t0 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:121:6: error: prototype for void DCOPClient::applicationRegistered(const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:745:8: error: candidate is: void DCOPClient::applicationRegistered(const TQCString&) /tmp/tdelibs/dcop/dcopclient.moc:134:44: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:134:54: error: ISO C++ forbids declaration of t0 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:134:6: error: prototype for void DCOPClient::applicationRemoved(const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:754:8: error: candidate is: void DCOPClient::applicationRemoved(const TQCString&) /tmp/tdelibs/dcop/dcopclient.moc:166:42: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:166:52: error: ISO C++ forbids declaration of t1 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:166:62: error: QByteArray does not name a type /tmp/tdelibs/dcop/dcopclient.moc:166:74: error: ISO C++ forbids declaration of t2 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:166:6: error: prototype for void DCOPClient::callBack(int, const int&, const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:794:8: 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:42: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:196:42: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:196:36: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:196:36: error: expected ) before const /tmp/tdelibs/dcop/dcopclient.moc:197:39: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:197:39: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:197:33: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:197:33: error: expected ) before const /tmp/tdelibs/dcop/dcopclient.moc:200:62: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:200:62: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:200:56: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:200:56: 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 hate being beaten but there is nothing above that jumps out at me and I'm sure it's something to do with my configuration but I've gone over it repeatedly!
If anybody with more knowledge than me can see something I'd be eternally grateful.
I'm no expert and I have not started trying to build from GIT. Tim is starting to merge patches. Further, he has been removing various TQt layer commands/functions, although I won't pretend to know the extent of that. Thus, tdelibs could be broken in GIT. With that said, the calls to QCString and QByteArray look conspicuous. With the TQt layer those should be TQCString and TQByteArray, but Tim would know for sure.
Darrell
On 11/01/2012 16:06, Darrell Anderson wrote:
Well I'm now totally stumped on this one. I've reinstalled the OS (wheezy - a number of times), built fro GIT following the wiki (a number of times) but still, building tdelibs fails (despite having built it a week or so ago) with the following;
[ 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/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop -I/tmp/tdelibs/tdecore -I/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/tdecore -o CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o -c /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp In file included from /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp:2285:0: /tmp/tdelibs/dcop/dcopclient.moc:121:47: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:121:57: error: ISO C++ forbids declaration of t0 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:121:6: error: prototype for void DCOPClient::applicationRegistered(const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:745:8: error: candidate is: void DCOPClient::applicationRegistered(const TQCString&) /tmp/tdelibs/dcop/dcopclient.moc:134:44: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:134:54: error: ISO C++ forbids declaration of t0 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:134:6: error: prototype for void DCOPClient::applicationRemoved(const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:754:8: error: candidate is: void DCOPClient::applicationRemoved(const TQCString&) /tmp/tdelibs/dcop/dcopclient.moc:166:42: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:166:52: error: ISO C++ forbids declaration of t1 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:166:62: error: QByteArray does not name a type /tmp/tdelibs/dcop/dcopclient.moc:166:74: error: ISO C++ forbids declaration of t2 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:166:6: error: prototype for void DCOPClient::callBack(int, const int&, const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:794:8: 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:42: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:196:42: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:196:36: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:196:36: error: expected ) before const /tmp/tdelibs/dcop/dcopclient.moc:197:39: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:197:39: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:197:33: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:197:33: error: expected ) before const /tmp/tdelibs/dcop/dcopclient.moc:200:62: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:200:62: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:200:56: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:200:56: 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 hate being beaten but there is nothing above that jumps out at me and I'm sure it's something to do with my configuration but I've gone over it repeatedly!
If anybody with more knowledge than me can see something I'd be eternally grateful.
I'm no expert and I have not started trying to build from GIT. Tim is starting to merge patches. Further, he has been removing various TQt layer commands/functions, although I won't pretend to know the extent of that. Thus, tdelibs could be broken in GIT. With that said, the calls to QCString and QByteArray look conspicuous. With the TQt layer those should be TQCString and TQByteArray, but Tim would know for sure.
Yes, I have to agree with your suspicions. All the tqt headers 'appear' correct (to a layman) so maybe I'll trawl source and tweak some things. Can't be any worse off than I am now. :)
Cheers.
--
On 11/01/2012 16:06, Darrell Anderson wrote:
Well I'm now totally stumped on this one. I've reinstalled the OS (wheezy - a number of times), built fro GIT following the wiki (a number of times) but still, building tdelibs fails (despite having built it a week or so ago) with the following;
[ 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/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop -I/tmp/tdelibs/tdecore -I/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/tdecore -o CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o -c /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp In file included from /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp:2285:0: /tmp/tdelibs/dcop/dcopclient.moc:121:47: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:121:57: error: ISO C++ forbids declaration of t0 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:121:6: error: prototype for void DCOPClient::applicationRegistered(const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:745:8: error: candidate is: void DCOPClient::applicationRegistered(const TQCString&) /tmp/tdelibs/dcop/dcopclient.moc:134:44: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:134:54: error: ISO C++ forbids declaration of t0 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:134:6: error: prototype for void DCOPClient::applicationRemoved(const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:754:8: error: candidate is: void DCOPClient::applicationRemoved(const TQCString&) /tmp/tdelibs/dcop/dcopclient.moc:166:42: error: QCString does not name a type /tmp/tdelibs/dcop/dcopclient.moc:166:52: error: ISO C++ forbids declaration of t1 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:166:62: error: QByteArray does not name a type /tmp/tdelibs/dcop/dcopclient.moc:166:74: error: ISO C++ forbids declaration of t2 with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:166:6: error: prototype for void DCOPClient::callBack(int, const int&, const int&) does not match any in class DCOPClient /data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:794:8: 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:42: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:196:42: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:196:36: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:196:36: error: expected ) before const /tmp/tdelibs/dcop/dcopclient.moc:197:39: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:197:39: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:197:33: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:197:33: error: expected ) before const /tmp/tdelibs/dcop/dcopclient.moc:200:62: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:200:62: error: ISO C++ forbids declaration of type name with no type [-fpermissive] /tmp/tdelibs/dcop/dcopclient.moc:200:56: error: expected primary-expression before const /tmp/tdelibs/dcop/dcopclient.moc:200:56: 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 hate being beaten but there is nothing above that jumps out at me and I'm sure it's something to do with my configuration but I've gone over it repeatedly!
If anybody with more knowledge than me can see something I'd be eternally grateful.
I'm no expert and I have not started trying to build from GIT. Tim is starting to merge patches. Further, he has been removing various TQt layer commands/functions, although I won't pretend to know the extent of that. Thus, tdelibs could be broken in GIT. With that said, the calls to QCString and QByteArray look conspicuous. With the TQt layer those should be TQCString and TQByteArray, but Tim would know for sure.
Darrell
Well that does appear to be the problem. Not being a developer, I don't know how to fix it though :)
Various .moc files (which I assume are autogenerated) contain calls/references to QCString, QByteArray, QCommonStyle, QApplication etc. Fixing up these in the moc files allows progression to the next erroneous file. I'll look see if I can work out what goes on to create these files ...... but I wouldn't hold your breath :)
Cheers, Mike.
--
Well that does appear to be the problem. Not being a developer, I don't know how to fix it though :)
Various .moc files (which I assume are autogenerated) contain calls/references to QCString, QByteArray, QCommonStyle, QApplication etc. Fixing up these in the moc files allows progression to the next erroneous file. I'll look see if I can work out what goes on to create these files ...... but I wouldn't hold your breath :)
Tim will have to explain what has heppened. I did a quick grep of tdelibs and tdebase and there are quite a few function calls without the "TQ" prefix. I don't know whether this is intentional or accidental. :)
Darrell
Well that does appear to be the problem. Not being a developer, I don't know how to fix it though :)
Various .moc files (which I assume are autogenerated) contain calls/references to QCString, QByteArray, QCommonStyle, QApplication etc. Fixing up these in the moc files allows progression to the next erroneous file. I'll look see if I can work out what goes on to create these files ...... but I wouldn't hold your breath :)
Tim will have to explain what has heppened. I did a quick grep of tdelibs and tdebase and there are quite a few function calls without the "TQ" prefix. I don't know whether this is intentional or accidental. :)
Darrell
Are you using qt3 or tqt3?
*Some* reversion is correct (specifically those nasty tq prefixes on C++ methods, NOT the TQ prefixes on C++ objects), but what you describe looks like a larger problem.
Tim
On 12/01/2012 00:17, Timothy Pearson wrote:
Well that does appear to be the problem. Not being a developer, I don't know how to fix it though :)
Various .moc files (which I assume are autogenerated) contain calls/references to QCString, QByteArray, QCommonStyle, QApplication etc. Fixing up these in the moc files allows progression to the next erroneous file. I'll look see if I can work out what goes on to create these files ...... but I wouldn't hold your breath :)
Tim will have to explain what has heppened. I did a quick grep of tdelibs and tdebase and there are quite a few function calls without the "TQ" prefix. I don't know whether this is intentional or accidental. :)
Darrell
Are you using qt3 or tqt3?
*Some* reversion is correct (specifically those nasty tq prefixes on C++ methods, NOT the TQ prefixes on C++ objects), but what you describe looks like a larger problem.
Tim
Hi Tim,
I'm using tqt3.
Cheers,