Linker error compiling kdelibs cvs

David Faure david at mandrakesoft.com
Wed Oct 23 11:02:18 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> `KHTMLInfoDlg::KHTMLInfoDlg(QWidget *, char const *, bool, unsigned int)'
> .libs/htmlpageinfo.o: In function `virtual function thunk (delta:-40) for
> KHTMLInfoDlg::~KHTMLInfoDlg(void)':
> .libs/htmlpageinfo.o(.gnu.linkonce.t.__thunk_40__._12KHTMLInfoDlg+0x14):
> undefined reference to `KHTMLInfoDlg::~KHTMLInfoDlg(void)'
> .libs/htmlpageinfo.o(.gnu.linkonce.d.__vt_12KHTMLInfoDlg+0x20): undefined
> reference to `KHTMLInfoDlg::~KHTMLInfoDlg(void)'
> .libs/htmlpageinfo.o(.gnu.linkonce.d.__vt_12KHTMLInfoDlg+0x1c4): undefined
> reference to `KHTMLInfoDlg::languageChange(void)'
> collect2: ld returned 1 exit status
> make[1]: *** [libkhtml.la.closure] Error 1
> make[1]: Leaving directory `/kdevel/kde/bin/kdelibs/khtml'
> make: *** [all-recursive] Error 1

Could be several things.
* Old htmlpageinfo.cc/.h (not your case though, if you compiled from scratch)
* Wrong uic being used (check the command used to recreate htmlpageinfo.cc)
* Undefined symbol makes uic not work (I had to "make install" in kdecore so
that uic wouldn't load a lib with undef symbols) (here again, check what happens
when uic runs, and whether it shows any "undef symbol").

Bug seems to be that we don't abort compilation when uic fails.

- --
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9tnOr72KcVAmwbhARAjshAJ9lp8q7kB8eReJXLSCulAesMVY67wCgs+Q6
wh5odlqG84rJ/jBuqKieBi4=
=PH8x
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list