making kdepim from KDE 3.1.4

Ralf Habacker ralf.habacker at
Sun Jan 9 13:30:28 CET 2005

On Sunday 09 January 2005 12:52, Thorsten Staerk wrote:
> Hello List
> I am making kdepim from KDE 3.1.4. Within kdepim/kalarmd, I get the
> following error:
> /bin/bash ../libtool --silent --mode=link --tag=CXX g++  -fdata-sections
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
> -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new
> -Wl,--enable-runtime-pseudo-reloc  -o -rpath /opt/kde3/lib
> -L/usr/X11R6/lib -L/opt/qt/3.2/lib -L/opt/kde3/lib  -R /opt/kde3/lib
> -R /opt/qt/3.2/lib -R /usr/X11R6/lib dummy.lo alarmdaemoniface_stub.lo
> alarmguiiface_stub.lo -lkdecore
> Creating library file: .libs/libkalarmd.dll.a
> .libs/alarmdaemoniface_stub.o(.text+0x41):alarmdaemoniface_stub.cpp:
> undefined reference to `DCOPStub::DCOPStub[not-in-charge](QCString const&,
> QCString const&)'
> .libs/alarmdaemoniface_stub.o(.text+0xa8):alarmdaemoniface_stub.cpp:
> undefined reference to `DCOPStub::DCOPStub[not-in-charge](DCOPClient*,
> QCString const&, QCString const&)'
> .libs/alarmdaemoniface_stub.o(.text+0xe5):alarmdaemoniface_stub.cpp:
> undefined reference to `DCOPStub::dcopClient()'
> .libs/alarmdaemoniface_stub.o(.text+0x101):alarmdaemoniface_stub.cpp:
> undefined reference to `DCOPStub::setStatus(DCOPStub::Status)'
> .libs/alarmdaemoniface_stub.o(.text+0x117):alarmdaemoniface_stub.cpp:
> undefined reference to `QGArray::QGArray[not-in-charge]()'
> ...
> Obviously, -ldcop and -lqt-mt is missing. When adding these parameters (to
> Makefile), it works. Any idea how I could avoid adding these libs manually
> every time ?
There are three ways. 
1. apply the changes to admin/ and admin/, call 
Makefile.cvs and reconfigure. This is the most time consuming way. 

2. Add definitions to the configure line 
  $ LDFLAGS="-ldcop -L/opt/kde3/lib -lqt-mt -L/opt/qt/3.2/lib 
" ./configure ... 
and reconfigure. 
2. to save time you can documentate the required configure settings and add 
the definitions directly to config.status, which goes much faster. If you 
call then make, all Makefiles will recreated with the requested settings. 


More information about the kde-cygwin mailing list