[bt-devel] Unresolved references
Joachim Ansorg
bt-devel@crosswire.org
Sat, 5 Feb 2000 18:50:48 +0000
Hi!
Try a "perl am_edit" and then "make". If this doesn't help remove all
Makefile.am with "find . -name Makefile.am | xargs rm -f" and then a "cvs -z3
update -Pd". I know this is a brute method, but I havn't found another way
(KDevelop corrupts sometimes the Makefile.am).
--Joachim
> I'm getting unresolved refrences in the BT 0.3 code. Any suggestions?
> I have added cnoteseditor.[h,cpp] to my project file.
>
> bin/sh ../libtool --silent --mode=link g++ -O0 -g1 -Wall -o bibletime
> -L/opt/kde2/lib -L/usr/lib/qt2/lib -L/usr/X11R6/lib -L/usr/local/lib -rpath
> /opt/kde2/lib -rpath /usr/lib/qt2/lib -rpath /usr/X11R6/lib cnoteseditor.o
> cbackend.o bibletime_init.o bibletime_slots.o kstartuplogo.o bibletime.o main.o
> ./tipofday/libtipofday.a ./frontend/libfrontend.a
> ../frontend/groupmanager/libgroupmanager.a ./frontend/presenters/libpresenters.a
> ../frontend/optionsdialog/liboptionsdialog.a ./backend/libbackend.a
> ../backend/sword/libsword.a ./backend/sword/filter/libfilter.a -lkimgio -lkhtml
> --lkdeui -lkdecore -lqt -lXext -lX11 -lsword cnoteseditor.o: In function
> `QShared::deref(void)':
> /home/thomas/src/KDE/bibletime-2/bibletime/cnoteseditor.cpp(.text+0x22):
> undefined reference to `CNotesEditor::QPaintDevice virtual table'
> /home/thomas/src/KDE/bibletime-2/bibletime/cnoteseditor.cpp(.text+0x29):
> undefined reference to `CNotesEditor virtual table' cnoteseditor.o: In function
> `CNotesEditor::~CNotesEditor(void)':
> /home/thomas/src/KDE/bibletime-2/bibletime/cnoteseditor.cpp(.text+0x16d):
> undefined reference to `CNotesEditor::QPaintDevice virtual table'
> /home/thomas/src/KDE/bibletime-2/bibletime/cnoteseditor.cpp(.text+0x174):
> undefined reference to `CNotesEditor virtual table' cbackend.o: In function
> `QList<CModuleInfo>::~QList(void)':
> /home/thomas/src/KDE/bibletime-2/bibletime/cbackend.cpp(.text+0x1f): undefined
> reference to `CBackEnd virtual table'
> /home/thomas/src/KDE/bibletime-2/bibletime/cbackend.cpp(.text+0x11d): undefined
> reference to `CModuleSearch::CModuleSearch(void)' cbackend.o: In function
> `CBackEnd::~CBackEnd(void)':
> /home/thomas/src/KDE/bibletime-2/bibletime/cbackend.cpp(.text+0x22a): undefined
> reference to `CBackEnd virtual table'
--
BibleTime - the bible study program for KDE
http://www.bibletime.de/
info@bibletime.de