[Kde-perl] Compile problem with Suse8.1
Michael Traxler
kde-perl@mail.kde.org
Fri, 6 Dec 2002 16:11:46 +0100 (MET)
Hi,
I encountered the following problem on two different Suse8.1 installation
(one from scratch, one update), when trying to compile from CVS:
(./configure --disable-GL --enable-smoke)
In the last step of linking the smoke library the following error occurs:
g++ -O2 -fno-exceptions -fno-check-new -o libsmokeqt.la.closure .......
.libs/x_QFilePreview.o -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib
-lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread
.libs/x_QGbkCodec.o: In function `.L10':
.libs/x_QGbkCodec.o(.text+0x88): undefined reference to `QGbkCodec::mimeName() const'
.libs/x_QGbkCodec.o: In function `x_QGbkCodec::mimeName() const':
.libs/x_QGbkCodec.o(.gnu.linkonce.t._ZNK11x_QGbkCodec8mimeNameEv+0x55): undefined reference to `QGbkCodec::mimeName() const'
collect2: ld returned 1 exit status
make: *** [libsmokeqt.la.closure] Fehler 1
michaelt@linux:~/software/PerlQt-3/smoke/qt>
The only way I found to still get it linked, was to remove the mimeName()
call in the x_QGbkCodec.cpp. But this will crash, as soon as I use this
class, wherever this would be....
Thanks,
Michael
------------------------------------------------------------------------------
Whenever you dream you're holding the key it opens the door to let you be free
RJD
-------------------------------------
I have not failed. I have just
found 10,000 ways that don't work.
- Thomas Edison
-------------------------------------