Compiling kdevelop - undefined reference to .... problems

Ralf Habacker ralf.habacker at freenet.de
Mon Apr 5 17:11:36 CEST 2004


On Monday 05 April 2004 16:59, Sean Kelly wrote:
> Hi,
>
> I am trying to compile kdevelop 3.0.2.  I have followed the instructions on
> the compiling page (http://kde-cygwin.sourceforge.net/kde3/compiling.php)
> and all was going well until:
>
> Making all in qextmdi
> make[3]: Entering directory `/tmp/kdevelop-3.0.2/lib/qextmdi'
>
> At this point I started getting "undefined reference to" error messages,
> the first one being:
>
> .libs/kmdichildarea.o(.text+0x41):kmdichildarea.cpp: undefined reference to
> `QFrame::QFrame[not-in-charge](QWidget*, char const*, unsigned)'
>
> Until now I had simply been running "make" but remembering the compile
> page, I restarted compilation using:
>
> make LIBS="-lkdecore -ldcop -lqt-mt -lXext -lX11 -lICE -lSM"
>
> which died in the same directory (/tmp/kdevelop-3.0.2/lib/qextmdi) but
> getting a little further to failing on:
>
> .libs/kmdimainfrm.o(.text+0xe6e):kmdimainfrm.cpp: undefined reference to
> `KMainWindow::menuBar()'

try 
make LIBS="-lkdeui -lkdecore -ldcop -lqt-mt -lXext -lX11 -lICE -lSM"

The class is defined in the kdeui library. 
Ralf 



More information about the kde-cygwin mailing list