FAQ - v0.24.b12, 30-SEP-2007
Contents
Build and installation
Q1: QNetwatch
compiles flawlessly using my home-brown Qt build, but the linker spews
tons of messages with undefined
references to Qt symbols... and fails. What's up?
If you are really sure that your personal Qt build is okay (please
confirm this with other projects/sources, even small ones; a
useless test program at least known to link correctly against your Qt
library is just fine), the most probable reason is that you've only
created the single-threaded variant of Qt. QNetwatch's default linkage
assumes a threaded Qt library, and thus the linker may just be unable
to find the required library (libqt-mt.so). To fix this, either use
# gmake clean && gmake MT=0
when building QNetwatch, to make it link against the single-threaded Qt
library (Multi-Threading = 0), or reconfigure and
rebuild Qt completely (time-consuming but recommended):
# gmake confclean && ./configure -thread <more options here> && gmake