problem compiling KDevelop KDE_2_0_BRANCH with kde3

Stephan Johach lucardus at onlinehome.de
Sat Jun 15 10:44:02 UTC 2002


Hi!

I'm having problem compiling kdevelop KDE_2_0_BRANCH
with qt-copy and KDE_3_BRANCH installed.

I have a qt2 installed and KDE 2.2.2.

QTDIR and KDEDIR are set correctly. I followed exactly the
hints on www.kdevelop.org.

First I have to call ./configure with --enable-mt otherwise qt 3 is
not found.

after calling ./configure --enable-mt --prefix=$KDEDIR it works
but linking fails with the output below.

Don't get irritated by the path /test/KDE2/cvsroot/qt-copy. It's qt-copy from 
QT 3.0.x. Seems to me libkfile is only available under kde 2. Any hints
how to fix this? I already did a fresh checkout and use the ./kde-common/admin
from KDE_3_0_BRANCH cvs.

make[3]: Entering directory `/test/KDE2/cvsroot/kdevelop/kdevelop'
/bin/sh ../libtool --mode=link --tag=CXX g++  -O2 -mcpu=k6 -march=k6 
-fno-exceptions -fno-check-new -ftemplate-depth-99    -o kdevelop 
-L/usr/X11R6/lib -L/test/KDE2/cvsroot/qt-copy/lib -L/opt/kde3/lib  -R 
/opt/kde3/lib -R /test/KDE2/cvsroot/qt-copy/lib -R /usr/X11R6/lib 
ccompletionopts.o simpleparser.o kdevregexp.o cprjconfchange.o cprjcompopts.o 
cprjaddopts.o cppcodecompletion.o codecompletion_arghint.o ccompconf.o 
ctoolclass.o kdevsession.o clibpropdlgimpl.o ckonsolewidget.o docviewman.o 
ckdevelop.o ckdevelop_classview.o ckdevelop_noslot.o cprjoptionsdlg.o 
ckappwizard.o ckdevelop_init.o main.o kstartuplogo.o kdevlistview.o 
grepdialog.o doctreeview.o dbgtoolbar.o dbgpsdlg.o ctreeview.o ctreehandler.o 
ctoolsconfigdlg.o crealfileview.o cproject.o coutputwidget.o cnewfiledlg.o 
cnewclassdlg.o cmakemanualdlgdata.o cmakemanualdlg.o clogfileview.o 
ckdevsetupdlg.o ckdevelop_whatsthis.o ckdevelop_project.o cclasstreehandler.o 
ckdevaccel.o cgrouppropertiesdlg.o cgeneratenewfile.o cfinddoctextdlg.o 
cfilepropdlg.o cexecuteargdlg.o ceditwidget.o cdoctreepropdlg.o cdocbrowser.o 
ccvaddfolderdlg.o cclonefunctiondlg.o cclassview.o wzconnectdlgimpl.o 
cclasstooltreeview.o cclasstooldlg.o caddnewtranslationdlg.o 
caddexistingfiledlg.o caddclassmethoddlg.o caddclassattributedlg.o 
ccompletionoptsdlg.o cprjcompoptsdlg.o cprjaddoptsdlg.o ccompconfdlg.o 
clibpropdlg.o wzconnectdlg.o cprjcompopts.moc.o ckonsolewidget.moc.o 
ccompletionopts.moc.o wzconnectdlgimpl.moc.o cprjaddopts.moc.o 
ccompconf.moc.o codecompletion_arghint.moc.o clibpropdlgimpl.moc.o 
ckdevelop.moc.o kdevelop_meta_unload.o  ./vc/libkdevelopvc.la 
./kwrite/libkdevelopkwrite.la ./gfxview/libkdevelopgfxview.la 
./dbg/libkdevelopdbg.la ./classwizard/libclasswizard.a 
./kpp/libkdevelopkpp.la ./classparser/libclassparser.a ./ctags/libctags.a 
./setup/libkdevelopsetup.la ./widgets/qextmdi/src/libkdevelopqextmdi.la -lfl 
-lkfile -lkhtml -lkdeui -lkdecore -lqt-mt -lpng -lz -lm -ljpeg -lXext -lX11  
-lSM -lICE
g++ -O2 -mcpu=k6 -march=k6 -fno-exceptions -fno-check-new -ftemplate-depth-99 
-o .libs/kdevelop ccompletionopts.o simpleparser.o kdevregexp.o 
cprjconfchange.o cprjcompopts.o cprjaddopts.o cppcodecompletion.o 
codecompletion_arghint.o ccompconf.o ctoolclass.o kdevsession.o 
clibpropdlgimpl.o ckonsolewidget.o docviewman.o ckdevelop.o 
ckdevelop_classview.o ckdevelop_noslot.o cprjoptionsdlg.o ckappwizard.o 
ckdevelop_init.o main.o kstartuplogo.o kdevlistview.o grepdialog.o 
doctreeview.o dbgtoolbar.o dbgpsdlg.o ctreeview.o ctreehandler.o 
ctoolsconfigdlg.o crealfileview.o cproject.o coutputwidget.o cnewfiledlg.o 
cnewclassdlg.o cmakemanualdlgdata.o cmakemanualdlg.o clogfileview.o 
ckdevsetupdlg.o ckdevelop_whatsthis.o ckdevelop_project.o cclasstreehandler.o 
ckdevaccel.o cgrouppropertiesdlg.o cgeneratenewfile.o cfinddoctextdlg.o 
cfilepropdlg.o cexecuteargdlg.o ceditwidget.o cdoctreepropdlg.o cdocbrowser.o 
ccvaddfolderdlg.o cclonefunctiondlg.o cclassview.o wzconnectdlgimpl.o 
cclasstooltreeview.o cclasstooldlg.o caddnewtranslationdlg.o 
caddexistingfiledlg.o caddclassmethoddlg.o caddclassattributedlg.o 
ccompletionoptsdlg.o cprjcompoptsdlg.o cprjaddoptsdlg.o ccompconfdlg.o 
clibpropdlg.o wzconnectdlg.o cprjcompopts.moc.o ckonsolewidget.moc.o 
ccompletionopts.moc.o wzconnectdlgimpl.moc.o cprjaddopts.moc.o 
ccompconf.moc.o codecompletion_arghint.moc.o clibpropdlgimpl.moc.o 
ckdevelop.moc.o kdevelop_meta_unload.o  -L/usr/X11R6/lib 
-L/test/KDE2/cvsroot/qt-copy/lib -L/opt/kde3/lib ./vc/.libs/libkdevelopvc.so 
-L/usr/lib/gcc-lib/i486-suse-linux/2.95.2 -L/usr/i486-suse-linux/lib 
./kwrite/.libs/libkdevelopkwrite.so ./gfxview/.libs/libkdevelopgfxview.so 
./dbg/.libs/libkdevelopdbg.so ./classwizard/libclasswizard.a 
./kpp/.libs/libkdevelopkpp.so ./classparser/libclassparser.a 
./ctags/libctags.a ./setup/.libs/libkdevelopsetup.so 
./widgets/qextmdi/src/.libs/libkdevelopqextmdi.so -L. -lfl -lkfile 
/opt/kde3/lib/libkhtml.so /opt/kde3/lib/libkjava.so 
/opt/kde3/lib/libkdeprint.so /opt/kde3/lib/libkparts.so 
/opt/kde3/lib/libkio.so /opt/kde3/lib/libkdesu.so -lutil 
/opt/kde3/lib/libkdeui.so /opt/kde3/lib/libkdefx.so -lXrender 
/opt/kde3/lib/libkdecore.so /opt/kde3/lib/libDCOP.so -lpthread -ldl -lstdc++ 
-lc -lgcc -lqt-mt -lpng -lz -lm /usr/lib/libjpeg.so -lXext -lX11 -lSM -lICE 
-Wl,--rpath -Wl,/opt/kde3/lib -Wl,--rpath -Wl,/test/KDE2/cvsroot/qt-copy/lib 
-Wl,--rpath -Wl,/usr/X11R6/lib
/usr/i486-suse-linux/bin/ld: cannot find -lkfile
collect2: ld returned 1 exit status
make[3]: *** [kdevelop] Error 1
make[3]: Leaving directory `/test/KDE2/cvsroot/kdevelop/kdevelop'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/test/KDE2/cvsroot/kdevelop/kdevelop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/test/KDE2/cvsroot/kdevelop'
make: *** [all] Error 2
hunsum at wormsalt:/test/KDE2/cvsroot/kdevelop >










More information about the KDevelop-devel mailing list