Compiling kdevelop - undefined reference to .... problems
Sean Kelly
lists at shortestpath.org
Mon Apr 5 16:59:33 CEST 2004
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()'
I assume this means I'm missing some libs in my make/compilation
statement. I tried adding -lqui (found at the same level as libqt-mt) but
this did not help.
Any advice? Am I missing some libs?
Thanks,
--
Sean Kelly <lists at shortestpath.org>
More information about the kde-cygwin
mailing list