Code completion support in CVS?

Andrea Aime aaime at
Wed Jan 2 18:58:04 UTC 2002

Alle 16:23, mercoledì 2 gennaio 2002, hai scritto:
> Hi!
> A happy and gideonly new year! ;-)
> > > I downloaded curent Gideon CVS and KDE3.0 CVS in order to
> > > try out code completion, but unfortunately it seems that Kwrite
> > > part doesn't compile... is there any other editor part that supports
> > > code completion? Any plan to fix the KWrite part?
> How does the error look like? Although I'm asking for the problem, I will
> not be able to fix it before monday :-(. I'm at home at the moment :-).

Well, here's how the error looks like:

c++ -O2 -fno-exceptions -fno-check-new -o 
.libs/ .libs/libkwriteeditorpart_la_closure.o 
.libs/kwrite_part.o .libs/kwrite_factory.o .libs/document_impl.o 
.libs/clipboard_iface_impl.o .libs/cursor_iface_impl.o 
.libs/undo_iface_impl.o .libs/edit_iface_impl.o .libs/status_iface_impl.o 
.libs/debug_iface_impl.o .libs/codecompletion_iface_impl.o 
.libs/codecompletion_arghint.o .libs/codecompletion_arghint.moc.o 
 -L/usr/X11R6/lib -L/opt/qt3/lib -L/opt/kde/lib 
/opt/kde/lib/ /opt/kde/lib/ 
/opt/kde/lib/ /opt/kde/lib/ /opt/kde/lib/ 
/opt/kde/lib/ -lutil /opt/kde/lib/ 
/opt/kde/lib/ /opt/kde/lib/ /opt/kde/lib/ 
/opt/kde/lib/ -ldl /opt/kde/lib/
-lqt-mt -lpng -lz /usr/lib/ -lXext -lX11 -lresolv -lSM -lICE 
-lpthread -lstdc++ -lm -lc -lgcc -Wl,--rpath -Wl,/opt/kde/lib -Wl,--rpath 
-Wl,/opt/qt3/lib -Wl,--rpath -Wl,/usr/X11R6/lib
kwrite/.libs/libkdevkwrite.a(kwdoc.o): In function 
`KWriteDoc::addView(KTextEditor::View *)':
kwdoc.o(.text+0x299f): undefined reference to 
`KTextEditor::Document::addView(KTextEditor::View *)'
kwrite/.libs/libkdevkwrite.a(kwdoc.o): In function 
`KWriteDoc::removeView(KTextEditor::View *)':
kwdoc.o(.text+0x2a14): undefined reference to 
`KTextEditor::Document::removeView(KTextEditor::View *)'
undefined reference to `KTextEditor::Document::views(void) const'
undefined reference to `KTextEditor::View::document(void) const'
undefined reference to 
undefined reference to `KTextEditor::View::internalContextMenuEnabled(void) 
collect2: ld returned 1 exit status
make[1]: *** [] Error 1
make[1]: Leaving directory 
make: *** [all-recursive] Error 1

BTW, I'm using a recent cvs checked out on 31/12/2001...
Hope this helps... but see also Roland Krause answer...
Best regards
Andrea Aime

More information about the KDevelop-devel mailing list