[mythtv] Debian sarge + mythtv cvs = lots of undefined referencesto QT-Symbols

Emlyn.Bolton at nokia.com Emlyn.Bolton at nokia.com
Thu Dec 4 13:11:13 EST 2003

Sorry for my previous posting...

I'll go have a coffee now and actually wake up...

-----Original Message-----
From: mythtv-dev-bounces at mythtv.org
[mailto:mythtv-dev-bounces at mythtv.org]On Behalf Of ext Felix Hermann
Sent: Thursday, December 04, 2003 9:35 AM
To: mythtv-dev at mythtv.org
Subject: [mythtv] Debian sarge + mythtv cvs = lots of undefined
referencesto QT-Symbols


I had a look at mythtv ages ago (0.6/0.7) and it looked quite promising. It 
compiled without problems and was quite stable but my machine didn't have 
the performance to make mythtv really usable.

Now I had some money and time to waste so I bought me a PVR-350. On the 
kernel side everything is working fine but I have some problems compiling 
mythtv. Since the 0.12 release is known not to work with Debian sid 
I tried the cvs as of yesterday evening.

Compiling runs well untill make has to put together the programms. It fails 
quite spectacular with a bunch of errors. I'll only post here a best of:

make[2]: Entering directory 
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
-I/usr/share/qt3/mkspecs/default -I. -I../../lib
s -I../../libs/libmyth -I/usr/local/include -I/usr/include/qt3 -o main.o 
g++  -o mythepg main.o   -L/usr/share/qt3/lib -L/usr/X11R6/lib 
yth -L../../libs/libmythtv -L../../libs/libavcodec -L../../libs/libvbitext 
../libs/libavformat -lmythtv -lavformat -lavcodec -lvbitext -lmyth-0.13 
11R6/lib -lXinerama -lXv -lXxf86vm -lfreetype -lmp3lame -lXext -lX11 -lm 
main.o(.text+0x7a): In function `main':
: undefined reference to `QApplication::QApplication[in-charge](int&, 
main.o(.text+0xa3): In function `main':
: undefined reference to `QString::QString[in-charge](char const*)'
main.o(.text+0xe0): In function `main':
: undefined reference to `QString::shared_null'
main.o(.text+0xea): In function `main':
: undefined reference to `QStringData::deleteSelf()'
main.o(.text+0xf3): In function `main':
: undefined reference to `QSqlDatabase::defaultConnection'

<snip lots of symbols not found>

../../libs/libmyth/libmyth-0.13.so: undefined reference to 
../../libs/libmyth/libmyth-0.13.so: undefined reference to 
`QComboBox::setEditText(QString const&)'
collect2: ld returned 1 exit status
make[2]: *** [mythepg] Fehler 1
make[2]: Leaving directory `/home/felix/Development/mythtv/programs/mythepg'
make[1]: *** [sub-mythepg] Fehler 2
make[1]: Leaving directory `/home/felix/Development/mythtv/programs'
make: *** [sub-programs] Fehler 2

Obviously (?) libmyth-0.13.so is not linked properly against QT3. But why?
I hope my build enviroment is set up properly (QTDIR is set!).

Has anybody suceeded compiling mythtv cvs on Debian sid/sarge recently? Any 
advices on what went wrong?


ii  libqt3-dev     3.2.1-6        Qt development files
ii  libqt3-headers 3.2.1-6        Qt3 header files
ii  libqt3c102     3.2.1-6        Qt Library
ii  libqt3c102-mt  3.2.1-6        Qt GUI Library (Threaded runtime version)
ii  libqt3c102-mt- 3.2.1-6        MySQL database driver for Qt3 (Threaded)

ii  gcc-3.3        3.3.2-4        The GNU C compiler
ii  gcc-3.3-base   3.3.2-4        The GNU Compiler Collection (base package)
ii  libgcc1        3.3.2-4        GCC support library

I hope it is okay to post this on the dev mailing-list. If it is a bug (and 
not some stupid mistake of mine) it should be fixed before 0.13 comes out 
because I think there are quite a few Debian users waiting for mythtv.



5 neue Buddies = 50 FreeSMS. http://messenger-mania.msn.de MSN Messenger 
empfehlen und kräftig abräumen!

mythtv-dev mailing list
mythtv-dev at mythtv.org

More information about the mythtv-dev mailing list