Hi all,
I'm getting the following errors and since I'm no C++ expert, I need some
mentoring to figure this out. I know C and PHP but C++ is not usually my
thing.
Here it is:
In file included from qiomanager.cc:23:
qiomanager.h:33:22: error: tqobject.h: No such file or directory
qiomanager.h:34:21: error: tqtimer.h: No such file or directory
qiomanager.h:35:30: error: tqsocketnotifier.h: No such file or directory
qiomanager.cc:26:27: error: tqapplication.h: No such file or directory
qiomanager_p.h:41: error: expected class-name before ‘{’ token
qiomanager_p.h:42: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no
type
qiomanager_p.h:43: error: expected ‘;’ before ‘protected’
qiomanager_p.h:51: error: ‘TQSocketNotifier’ has not been declared
qiomanager_p.h:51: error: expected ‘,’ or ‘...’ before ‘qtype’
qiomanager_p.h:58: error: expected `:' before ‘slots’
qiomanager_p.h:59: error: expected primary-expression before ‘void’
qiomanager_p.h:59: error: ISO C++ forbids declaration of ‘slots’ with no
type
qiomanager_p.h:59: error: expected ‘;’ before ‘void’
qiomanager_p.h:62: error: expected class-name before ‘{’ token
qiomanager_p.h:63: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no
type
qiomanager_p.h:64: error: expected ‘;’ before ‘protected’
qiomanager_p.h:71: error: expected `:' before ‘slots’
qiomanager_p.h:72: error: expected primary-expression before ‘void’
qiomanager_p.h:72: error: ISO C++ forbids declaration of ‘slots’ with no
type
qiomanager_p.h:72: error: expected ‘;’ before ‘void’
qiomanager.cc:69: error: ‘TQSocketNotifier’ has not been declared
qiomanager.cc:69: error: expected ‘,’ or ‘...’ before ‘qtype’
qiomanager.cc: In constructor ‘Arts::QIOWatch::QIOWatch(int, int,
Arts::IONotify*, int)’:
qiomanager.cc:70: error: argument of type ‘bool (Arts::QIOWatch::)()’ does
not match ‘bool’
qiomanager.cc:72: error: ‘qsocketnotify’ was not declared in this scope
qiomanager.cc:72: error: expected type-specifier before ‘TQSocketNotifier’
qiomanager.cc:72: error: expected `;' before ‘TQSocketNotifier’
qiomanager.cc:73: error: expected primary-expression before ‘int’
qiomanager.cc:73: error: ‘activated’ was not declared in this scope
qiomanager.cc:73: error: ‘TQT_SIGNAL’ was not declared in this scope
qiomanager.cc:73: error: expected primary-expression before ‘int’
qiomanager.cc:73: error: ‘notify’ cannot be used as a function
qiomanager.cc:73: error: ‘TQT_SLOT’ was not declared in this scope
qiomanager.cc: At global scope:
qiomanager.cc:69: warning: unused parameter ‘Type’
qiomanager.cc:76: error: no ‘void Arts::QIOWatch::notify(int)’ member
function declared in class ‘Arts::QIOWatch’
qiomanager.cc: In constructor ‘Arts::QTimeWatch::QTimeWatch(int,
Arts::TimeNotify*)’:
qiomanager.cc:87: error: ‘timer’ was not declared in this scope
qiomanager.cc:87: error: expected type-specifier before ‘TQTimer’
qiomanager.cc:87: error: expected `;' before ‘TQTimer’
qiomanager.cc:88: error: ‘timeout’ was not declared in this scope
qiomanager.cc:88: error: ‘TQT_SIGNAL’ was not declared in this scope
qiomanager.cc:88: error: ‘notify’ cannot be used as a function
qiomanager.cc:88: error: ‘TQT_SLOT’ was not declared in this scope
qiomanager.cc: At global scope:
qiomanager.cc:93: error: no ‘void Arts::QTimeWatch::notify()’ member
function declared in class ‘Arts::QTimeWatch’
qiomanager.cc: In member function ‘virtual void
Arts::QIOManager::processOneEvent(bool)’:
qiomanager.cc:159: error: ‘qApp’ was not declared in this scope
qiomanager.cc:161: error: ‘qApp’ was not declared in this scope
qiomanager.cc: In member function ‘virtual void
Arts::QIOManager::watchFD(int, int, Arts::IONotify*)’:
qiomanager.cc:182: error: ‘TQSocketNotifier’ has not been declared
qiomanager.cc:188: error: ‘TQSocketNotifier’ has not been declared
qiomanager.cc:194: error: ‘TQSocketNotifier’ has not been declared
qiomanager_p.moc: At global scope:
qiomanager_p.moc:22: error: no ‘const char* Arts::QIOWatch::className()
const’ member function declared in class ‘Arts::QIOWatch’
qiomanager_p.moc:27: error: ‘QMetaObject* Arts::QIOWatch::metaObj’ is not a
static member of ‘class Arts::QIOWatch’
qiomanager_p.moc:28: error: ‘staticMetaObject’ is not a member of
‘Arts::QIOWatch’
qiomanager_p.moc:31: error: no ‘QString Arts::QIOWatch::tr(const char*,
const char*)’ member function declared in class ‘Arts::QIOWatch’
qiomanager_p.moc:39: error: no ‘QString Arts::QIOWatch::trUtf8(const char*,
const char*)’ member function declared in class ‘Arts::QIOWatch’
qiomanager_p.moc:50: error: no ‘QMetaObject*
Arts::QIOWatch::staticMetaObject()’ member function declared in class
‘Arts::QIOWatch’
qiomanager_p.moc: In member function ‘QMetaObject*
Arts::QIOWatch::staticMetaObject()’:
qiomanager_p.moc:52: error: ‘metaObj’ was not declared in this scope
qiomanager_p.moc:54: error: ‘TQObject’ has not been declared
qiomanager_p.moc:62: error: ‘metaObj’ was not declared in this scope
qiomanager_p.moc: At global scope:
qiomanager_p.moc:75: error: no ‘void* Arts::QIOWatch::qt_cast(const char*)’
member function declared in class ‘Arts::QIOWatch’
qiomanager_p.moc: In member function ‘void* Arts::QIOWatch::qt_cast(const
char*)’:
qiomanager_p.moc:79: error: ‘TQObject’ has not been declared
qiomanager_p.moc: At global scope:
qiomanager_p.moc:82: error: no ‘bool Arts::QIOWatch::qt_invoke(int,
QUObject*)’ member function declared in class ‘Arts::QIOWatch’
qiomanager_p.moc: In member function ‘bool Arts::QIOWatch::qt_invoke(int,
QUObject*)’:
qiomanager_p.moc:87: error: ‘TQObject’ has not been declared
qiomanager_p.moc: At global scope:
qiomanager_p.moc:92: error: no ‘bool Arts::QIOWatch::qt_emit(int,
QUObject*)’ member function declared in class ‘Arts::QIOWatch’
qiomanager_p.moc: In member function ‘bool Arts::QIOWatch::qt_emit(int,
QUObject*)’:
qiomanager_p.moc:94: error: ‘TQObject’ has not been declared
qiomanager_p.moc: At global scope:
qiomanager_p.moc:98: error: no ‘bool Arts::QIOWatch::qt_property(int, int,
QVariant*)’ member function declared in class ‘Arts::QIOWatch’
qiomanager_p.moc: In member function ‘bool Arts::QIOWatch::qt_property(int,
int, QVariant*)’:
qiomanager_p.moc:100: error: ‘TQObject’ has not been declared
qiomanager_p.moc: At global scope:
qiomanager_p.moc:103: error: no ‘bool
Arts::QIOWatch::qt_static_property(QObject*, int, int, QVariant*)’ member
function declared in class ‘Arts::QIOWatch’
qiomanager_p.moc:107: error: no ‘const char* Arts::QTimeWatch::className()
const’ member function declared in class ‘Arts::QTimeWatch’
qiomanager_p.moc:112: error: ‘QMetaObject* Arts::QTimeWatch::metaObj’ is not
a static member of ‘class Arts::QTimeWatch’
qiomanager_p.moc:113: error: ‘staticMetaObject’ is not a member of
‘Arts::QTimeWatch’
qiomanager_p.moc:116: error: no ‘QString Arts::QTimeWatch::tr(const char*,
const char*)’ member function declared in class ‘Arts::QTimeWatch’
qiomanager_p.moc:124: error: no ‘QString Arts::QTimeWatch::trUtf8(const
char*, const char*)’ member function declared in class ‘Arts::QTimeWatch’
qiomanager_p.moc:135: error: no ‘QMetaObject*
Arts::QTimeWatch::staticMetaObject()’ member function declared in class
‘Arts::QTimeWatch’
qiomanager_p.moc: In member function ‘QMetaObject*
Arts::QTimeWatch::staticMetaObject()’:
qiomanager_p.moc:137: error: ‘metaObj’ was not declared in this scope
qiomanager_p.moc:139: error: ‘TQObject’ has not been declared
qiomanager_p.moc:144: error: ‘metaObj’ was not declared in this scope
qiomanager_p.moc: At global scope:
qiomanager_p.moc:157: error: no ‘void* Arts::QTimeWatch::qt_cast(const
char*)’ member function declared in class ‘Arts::QTimeWatch’
qiomanager_p.moc: In member function ‘void* Arts::QTimeWatch::qt_cast(const
char*)’:
qiomanager_p.moc:161: error: ‘TQObject’ has not been declared
qiomanager_p.moc: At global scope:
qiomanager_p.moc:164: error: no ‘bool Arts::QTimeWatch::qt_invoke(int,
QUObject*)’ member function declared in class ‘Arts::QTimeWatch’
qiomanager_p.moc: In member function ‘bool Arts::QTimeWatch::qt_invoke(int,
QUObject*)’:
qiomanager_p.moc:169: error: ‘TQObject’ has not been declared
qiomanager_p.moc: At global scope:
qiomanager_p.moc:174: error: no ‘bool Arts::QTimeWatch::qt_emit(int,
QUObject*)’ member function declared in class ‘Arts::QTimeWatch’
qiomanager_p.moc: In member function ‘bool Arts::QTimeWatch::qt_emit(int,
QUObject*)’:
qiomanager_p.moc:176: error: ‘TQObject’ has not been declared
qiomanager_p.moc: At global scope:
qiomanager_p.moc:180: error: no ‘bool Arts::QTimeWatch::qt_property(int,
int, QVariant*)’ member function declared in class ‘Arts::QTimeWatch’
qiomanager_p.moc: In member function ‘bool
Arts::QTimeWatch::qt_property(int, int, QVariant*)’:
qiomanager_p.moc:182: error: ‘TQObject’ has not been declared
qiomanager_p.moc: At global scope:
qiomanager_p.moc:185: error: no ‘bool
Arts::QTimeWatch::qt_static_property(QObject*, int, int, QVariant*)’ member
function declared in class ‘Arts::QTimeWatch’
make[2]: *** [qiomanager.lo] Error 1
make[2]: Leaving directory
`/home/tmarques/trinity/build/dependencies/arts/qtmcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tmarques/trinity/build/dependencies/arts'
make: *** [all] Error 2
This is in a Gentoo based system where I'm trying to get some ebuilds done
to send to the kde-sunset overlay, where only 3.5.10 only resides now.
Best regards,
Tiago
What is the status of Trinity development? Other than an occasional cmake update in svn, I am seeing no movement anywhere, especially with the bugzilla.
Darrell
Hi all,
Just a quick update on the building of RPMs:
+ Removed Mandriva from the list of build targets. Matthew Dawkins
from Unity can take care of that :)
+ Removed Fedora 12 from the list of build targets. End of Life.
+ Removed openSUSE Factory Snapshot from the list of build targets.
Updates too often and that doesn't help development.
+ Building at standstill after autoconf263: Apparently the project
configuration isn't working very well.
I'm just waiting for the configuration to work again.
That way, I can get the newer autoconf out of the way for this older
but working one.
--
later, Robert Xu
Hello,
First post to the ML.
I get this error trying to build arts 3.5.12 for unity linux/mandriva. From
what I have seen it looks like I maybe missing tqtinterface tqt-moc calling
moc, but I'm not sure how that is done.
libtool: link: g++ -shared -nostdlib
/usr/lib/gcc/i586-manbo-linux-gnu/4.4.3/../../../crti.o
/usr/lib/gcc/i586-manbo-linux-gnu/4.4.3/crtbeginS.o .libs/giomanager.o
-march=i586 -mtune=generic -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1
-Wl,--build-id -pthread -Wl,-rpath
-Wl,/home/unity/src/rpm/BUILD/arts-3.5.12/mcop/.libs -Wl,-rpath
-Wl,/opt/trinity/lib -L/opt/trinity/lib ../mcop/.libs/libmcop.so /usr/lib/
libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lrt
/usr/lib/libglib-2.0.so-L/usr/lib/gcc/i586-manbo-linux-gnu/4.4.3
-L/usr/lib/gcc/i586-manbo-linux-gnu/4.4.3/../../.. -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/i586-manbo-linux-gnu/4.4.3/crtendS.o
/usr/lib/gcc/i586-manbo-linux-gnu/4.4.3/../../../crtn.o -Wl,-soname
-Wl,libgmcop.so.1 -o .libs/libgmcop.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libgmcop.so.1" && ln -s
"libgmcop.so.1.0.0" "libgmcop.so.1")
libtool: link: (cd ".libs" && rm -f "libgmcop.so" && ln -s
"libgmcop.so.1.0.0" "libgmcop.so")
libtool: link: ( cd ".libs" && rm -f "libgmcop.la" && ln -s "../libgmcop.la"
"libgmcop.la" )
make[2]: Leaving directory `/home/unity/src/rpm/BUILD/arts-3.5.12/gmcop'
Making all in qtmcop
make[2]: Entering directory `/home/unity/src/rpm/BUILD/arts-3.5.12/qtmcop'
/usr/lib/qt3/bin/moc ./qiomanager_p.h qiomanager_p.moc
Qt meta object compiler
moc: Too many input files specified
Usage: moc [options] <header-file>
-o file Write output to file rather than stdout
-f[file] Force #include, optional file name
-p path Path prefix for included file
-i Do not generate an #include statement
-k Do not stop on errors
-nw Do not display warnings
-v Display version of moc
make[2]: *** [qiomanager_p.moc] Error 1
make[2]: Leaving directory `/home/unity/src/rpm/BUILD/arts-3.5.12/qtmcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/unity/src/rpm/BUILD/arts-3.5.12'
make: *** [all] Error 2
error: Bad exit status from /home/unity/src/tmp/rpm-tmp.9958 (%build)
Regard,
Matthew Dawkins
Trinity svn has no source files for building qt3, dbus-qt3, etc. Why is building those files unnecessary in Debian/Kubuntu but necessary in Slackware? Or is rebuilding necessary in those systems too but the source files simply are not included in trinity?
Thanks.
Darrell
aLinux http://alinux.tv/ , a KDE3-centric distro indicates that they use KDE
3.5.12 as the main desktop. This unambiguously hints that they use Trnity.
Since aLinux is an RPM-based distro, this fact may make porting to other
RPM-based distributions easier as they provide SRPMs for each package.
Hi all,
I'm very new here and to Trinity so please be gentle, this is my first
attempt :-)
I'm attempting a build for Mandriva 2010.1 and by a long winded-process of
'hit and miss' I've managed to get .configure to run to completion except
for the following warning message regarding 'libtqtinterface-dev' needing
to be installed:
==== Caution wrapped ====
checking if TQt is available... no
configure: WARNING: You are attempting to compile Trinity without the
Trinity Qt Interface installed. Please install libtqtinterface-dev and
try again!
====
Ignoring this message and calling 'make' appears to complete
correctly, however 'make install' returns the following:
failure as follows:
=====Caution may wrap ====
[root@john tqtinterface]# make install
Making install in libltdl
make[1]: Entering directory `/spare/kde-3.5.12/dependencies/tqtinterface/libltdl'
make[2]: Entering directory `/spare/kde-3.5.12/dependencies/tqtinterface/libltdl'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/spare/kde-3.5.12/dependencies/tqtinterface/libltdl'
make[1]: Leaving directory `/spare/kde-3.5.12/dependencies/tqtinterface/libltdl'
Making install in qtinterface
make[1]: Entering directory `/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface'
Making install in .
make[2]: Entering directory `/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface'
make[3]: Entering directory `/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface'
test -z "/usr/local/kde/lib" || /bin/mkdir -p "/usr/local/kde/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p libtqt.la '/usr/local/kde/lib'
libtool: install: /usr/bin/install -c -p .libs/libtqt.so.4.2.0 /usr/local/kde/lib/libtqt.so.4.2.0
/usr/bin/install: cannot stat `.libs/libtqt.so.4.2.0': No such file or directory
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface'
make: *** [install-recursive] Error 1
[root@john tqtinterface]#
I'm somewhat confused by the missing(?) `.libs/libtqt.so.4.2.0' message which is
correct when one looks in the referenced directory. Where does the ".2.0" come
from? What do I do to fix this?
==================
[root@john john]# locate libtqt
/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface/libtqt.la
/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface/.libs/libtqt.la
/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface/.libs/libtqt.lai
/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface/.libs/libtqt.so
/spare/kde-3.5.12/dependencies/tqtinterface/qtinterface/.libs/libtqt.so.4
[root@john john]#
Cheers
John NZ
Hi! I just found that KDE3 does not support IPv6.
knemo shows an interface as not connected if it has only IPv6 protocol.
Kconnections shows only IPv4 connections.
Although SVN provides a direct route to testing patches for the next 3.5.13 release, I want to propose making tarballs available too.
Many people are motivated to test newer versions but do not have the bandwidth, computer horsepower, or inclination to support SVN.
I propose providing directories just like those for downloading the 3.5.12 tarballs. The directories would be explicitly named 3.5.13-testing or something similar.
When 3.5.13 goes live and official, all we should need do is just change the name of the directory.
Darrell