[mythtv] 'undefined reference' during make

Tim Carter tim at frontierdigital.com
Tue Jan 21 17:07:58 EST 2003


Although I am an experienced developer, I am a newbie to Linux 
development.  So please be kind and don't assume I know what I'm doing...

I'm trying build v0.7 on a RH 7.3 system.  I (believe I) have all the 
prereqs installed but I receive the following whilst doing a 'make':

.
.
.
g++  -o mythdialog main.o    -L/usr/lib/qt3/lib  -L/usr/X11R6/lib 
-lmyth-0.7 -L/usr/local/lib -L../../libs/libmyth -lqt-mt -lpthread 
-lXext -lX11 -lm
main.o: In function `main':
main.o(.text+0x24): undefined reference to 
`QApplication::QApplication[in-charge](int&, char**)'
main.o(.text+0x41): undefined reference to `QApplication::~QApplication 
[in-charge]()'
.
.
.
../../libs/libmyth/libmyth-0.7.so: undefined reference to 
`QCursor::~QCursor [in-charge]()'
../../libs/libmyth/libmyth-0.7.so: undefined reference to 
`QStringList::split(QString const&, QString const&, bool)'
../../libs/libmyth/libmyth-0.7.so: undefined reference to 
`QPainter::~QPainter [in-charge]()'
.
.
.

The qt libs exist at /usr/lib/qt3 and are pointed to by QTDIR.  I've 
check the /etc/ld.so.conf for this directory and ran ldconfig.

Thoughts?

Thanks in advance!

T.



More information about the mythtv-dev mailing list