Kdev 1.4 and ld error

Ralf Nolden nolden at kde.org
Tue Apr 3 10:29:22 UTC 2001

"Fabien R." wrote:
> Hi all,
> I have the following error when building a test program:
> g++ -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W
> -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor
> -fno-builtin -o test3 ktest.o main.o  -L/usr/lib
> -L/usr/local/qt/qt-2.2.3/lib
> -L/usr/local/kde21/lib /usr/local/kde21/lib/libkdeui.so
> -L/home8/kde2d/qt-copy/lib -L/usr/local/mysql/lib -L/usr/local/lib
> /usr/local/kde21/lib/libkdecore.so /usr/local/kde21/lib/libkdefakes.so
> /usr/local/kde21/lib/libDCOP.so -lqt -lpng -lz -lm -ljpeg6b -lXext -lX11
> -lSM
> -lICE -ldnet_stub -Wl,-rpath
> -Wl,/usr/local/kde21/lib:/usr/local/qt/qt-2.2.3/lib:/usr/lib
> /usr/bin/ld:
> Unresolved:
> KTest::QPaintDevice virtual table
> KTest virtual table
> KApplication::KApplication(bool, bool)
> KApplication::~KApplication(void)
> collect2: ld returned 1 exit status
> make[2]: Leaving directory `/usr/users/sky/kdev/test3/test3'

Are you sure there aren't any qt libs lying around on your system that
the linker wants to access which are incompatible ? I heard that many
times and that's most ofthe the cause. In case of QPaintDevice, I'd
suggest first giving it another go to see if moc worked correctly.

Finally, even I have to admit that being myself was the best thing
that ever could have happened to me. - Le Grand Charmeur

Ralf Nolden

The KDevelop Project

nolden at kde.org
rnolden at kdevelop.org

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