[mythtv-users] Problem compiling MythTV

Joseph A. Caputo jcaputo1 at comcast.net
Tue Oct 7 11:47:17 EDT 2003


On Tuesday 07 October 2003 11:44 am, Gareth Williams wrote:
> Hello all, 
> 
> My name's Gareth, and I'm new to this list. MythTV looks really good, and 
I've 
> heard good things about it, so naturally I want to try it. However, I'm 
> having a little trouble getting it to compile. I've R all the FM's I can 
> find, and I've googled around and only found one other person who had this 
> problem, and no answer. So I'm hoping someone here may be able to help me, 
or 
> at least point me in the right direction :)
> 
> It looks like it has problems linking against some qt library. I have MythTV 
> 0.11. QT is version 3.1.2. Relevant error messages are included below.
> 
> Cheers,
> Gareth
> 
> -----
> make[1]: Entering directory `/home/gareth/src/video/mythtv-0.11/programs'
> cd mythepg && make -f Makefile
> make[2]: Entering directory 
> `/home/gareth/src/video/mythtv-0.11/programs/mythepg'
> g++  -o mythepg main.o    -Wl,-rpath,/usr/local/qt/lib -L/usr/local/qt/lib 
> -L/usr/X11R6/lib -L../../libs/libmyth -L../../libs/libmythtv 
> -L../../libs/libavcodec -L../../libs/libvbitext -L../../libs/libavformat 
> -lmythtv -lavformat -lavcodec -lvbitext -lmyth-0.11 -L/usr/X11R6/lib 
> -lXinerama -lXv -lX11 -lXext -lXxf86vm -lfreetype -lmp3lame -lqt-mt -lXext 
> -lX11 -lm -lpthread
> main.o(.text+0x7a): In function `main':
> : undefined reference to `QApplication::QApplication[in-charge](int&, 
char**)'
> main.o(.text+0xa2): In function `main':
> : undefined reference to `QString::QString[in-charge](char const*)'
> main.o(.text+0xd5): In function `main':
> : undefined reference to `QString::shared_null'
> main.o(.text+0xdf): In function `main':
> : undefined reference to `QStringData::deleteSelf()'
> main.o(.text+0xe8): In function `main':
> : undefined reference to `QSqlDatabase::defaultConnection'
> main.o(.text+0xf1): In function `main':
> : undefined reference to `QString::QString[in-charge](char const*)'
> 
> .... <cut several hundred lines> ...
> 
> ../../libs/libmyth/libmyth-0.11.so: undefined reference to 
> `QTable::showColumn(int)'
> ../../libs/libmyth/libmyth-0.11.so: undefined reference to 
> `QTable::removeColumns(QMemArray<int> const&)'
> ../../libs/libmyth/libmyth-0.11.so: undefined reference to 
> `QGListIterator::~QGListIterator [not-in-charge]()'
> ../../libs/libmyth/libmyth-0.11.so: undefined reference to 
> `QComboBox::setAutoCompletion(bool)'
> ../../libs/libmyth/libmyth-0.11.so: undefined reference to 
> `QComboBox::setEditText(QString const&)'
> collect2: ld returned 1 exit status
> make[2]: *** [mythepg] Error 1
> make[2]: Leaving directory 
> `/home/gareth/src/video/mythtv-0.11/programs/mythepg'
> make[1]: *** [sub-mythepg] Error 2
> make[1]: Leaving directory `/home/gareth/src/video/mythtv-0.11/programs'
> make: *** [sub-programs] Error 2
> ~/src/video/mythtv-0.11$
> -----


What's your distro?  '/usr/local/qt' is an unusual location to have a 
distro-supplied Qt; did you compile it yourself?  Is it possible you have 
more than one Qt installation hanging around?  Is /usr/local/qt a symbolic 
link, and if so, what does it point to?  Also, one of the distro's has a 
broken Qt installation (SuSE, IIRC).

-JAC



More information about the mythtv-users mailing list