Fwd: error linking

Pupeno pupeno at pupeno.com.ar
Mon Oct 15 00:31:45 BST 2001


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

When I linking my application I get tons of error like this one:

/widgets/libwidgets.a(kxstatusmessagedialogimpl.o): In function
`QArray<char>::~QArray(void)':
/usr/lib/qt2/include/qbutton.h(.text+0x24): undefined reference to
`kxStatusMessageDialog::kxStatusMessageDialog(QWidget *, char const *, bool,
unsigned int)'
./widgets/libwidgets.a(kxstatusmessagedialogimpl.o): In function
`kxStatusMessageDialogImpl::kxStatusMessageDialogImpl(unsigned int, int,
QWidget *, char const *, bool, unsigned int)':
/home/pupeno/src/icq/kxicq/kxicq/widgets/kxstatusmessagedialogimpl.cpp:50:
undefined reference to `kxStatusMessageDialog::kxStatusMessageDialog(QWidget
*, char const *, bool, unsigned int)'

kxStatusMessageDialogImpl is a class, with its .cpp and .h files, but
kxStatusMessageDialog is a .ui file generated with Qt Designer. It seams to
be right, kxstatusmessagedialog.cpp and .h are generated and they have the
declaration and the implementation of kxStatusMessageDialog. All the .ui
files generate the .cpp, .h, .moc.. they are compiled into a librari,
libui.a, and then that library is linked when linking everything. I have
undefined reference in everything related to that library (as if it doesn't
exist), and all the other library that are generated are compiled and linked
without any problem. What could generate this problem.
The complete sources, if you want them, you can get them in
http://www.pupeno.com.ar/kxicq-20011014.tgz
ok, any idea, hint or help will be very apretiated.
Thank you!
Peace and love!
- -- 
Pupeno: pupeno at pupeno.com.ar
http://www.pupeno.com.ar
PS: I'm using KDevelop
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7yiBjWhjnmGRO4vQRAl1+AJ92K+79cZyk9g80JC95OeFrj2r4agCeK/4o
ZcbXappxyAeNh6RUESJWhps=
=CPl4
-----END PGP SIGNATURE-----

-
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