odd project errors

Dan Field dof at nuclear-dawn.com
Wed Mar 13 16:20:09 GMT 2002


I was hacking away last night on a project of mine and all of a sudden, without me knowingly doing anything wrong I began to get the following errors when building my project just incase It was somthing I had done in my own code I created a new Qt SDI project and compiled it only to find simular errors:

make[3]: Entering directory `/home/dof/testproject/testproject'
/bin/sh ../libtool --mode=link c++  -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new  -o testproject -L/usr/X11R6/lib  testprojectview.o testprojectdoc.o testproject.o main.o -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lresolv -lSM -lICE -lXext -lX11 -lresolv 
c++ -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new -o testproject testprojectview.o testprojectdoc.o testproject.o main.o  -L/usr/X11R6/lib -lqt -lpng -lz -lm /usr/lib/libjpeg.so -lXext -lX11 -lresolv -lSM -lICE -lXext -lX11 -lresolv
testprojectview.o: In function `int __lexicographical_compare_3way<signed char const *, signed char const *>(signed char const *, signed char const *, signed char const *, signed char const *)':
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_algobase.h(.text+0x1e): undefined reference to `TestProjectView::QPaintDevice virtual table'
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_algobase.h(.text+0x25): undefined reference to `TestProjectView virtual table'
testprojectview.o: In function `TestProjectView::~TestProjectView(void)':
/home/dof/testproject/testproject/testprojectview.cpp:27: undefined reference to `TestProjectView::QPaintDevice virtual table'
/home/dof/testproject/testproject/testprojectview.cpp:27: undefined reference to `TestProjectView virtual table'
testprojectdoc.o: In function `int __lexicographical_compare_3way<signed char const *, signed char const *>(signed char const *, signed char const *, signed char const *, signed char const *)':

etc... theres a lot more errors all of a simular nature (undefined references to virtual tables)

Can anyone shed any light on what I may have done wrong ?

Cheers

Dan

-- 
Dan Field - dof at nucear-dawn.com
GPG Public Key - http://www.nuclear-dawn.com/files/dan_field.asc
WWW - http://www.nuclear-dawn.com/

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list