DCOP compile errors

Andras Mantia amantia at kde.org
Mon Sep 6 12:48:35 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

 I'm trying to build kdelibs HEAD from scratch (emty builddir after make 
cvs-clean) using am_edit and have various problems:

1. dcopserver.moc and dcopclient.moc is not found. They are not 
generated and if I comment the inclusion of them this works fine. 
Strange for me as DCOPClient and DCOPServer is a Q_OBJECT derivate 
class... There is no .moc or .moc.cpp file generated!

2. This is the current problem that I'm trying to find the solution:

/bin/sh ../../libtool --silent --mode=link g++  -Wnon-virtual-dtor 
- -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
- -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith 
- -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute 
- -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE 
- -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION 
- -L/usr/X11R6/lib -L/usr/lib/qt-copy-3.3/lib -L/opt/kde-cvs/lib   -o 
dcop  dcop.o -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE 
- -lpthread ../libDCOP.la
../.libs/libDCOP.so: undefined reference to 
`DCOPClient::attachFailed(QString const&)'
../.libs/libDCOP.so: undefined reference to 
`DCOPClient::applicationRegistered(QCString const&)'
../.libs/libDCOP.so: undefined reference to `vtable for DCOPClient'
../.libs/libDCOP.so: undefined reference to `DCOPClient::callBack(int, 
QCString const&, QMemArray<char> const&)'
../.libs/libDCOP.so: undefined reference to 
`DCOPClient::applicationRemoved(QCString const&)'
../.libs/libDCOP.so: undefined reference to 
`DCOPClient::blockUserInput(bool)'
collect2: ld returned 1 exit status
make[4]: *** [dcop] Error 1
make[4]: Leaving directory 
`/usr/local/data/development/build/kde-head/kdelibs/dcop/client'


Andras



- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBPE6YTQdfac6L/08RAn+ZAKC+r0sEi1ofE9ubGb+ibDd+IoKuUQCeK79c
MiK1JjnmpO/hGMPF3XTSy6c=
=Qbal
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list