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

Felix Hermann Hoßfeld enemybuster at hotmail.com
Thu Dec 4 12:34:55 EST 2003


Hi!

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 
(http://www.gossamer-threads.com/perl/mailarc/gforum.cgi?post=88919;search_string=Debian%20bleh;guest=1706712&t=search_engine#88919) 
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 
`/home/felix/Development/mythtv/programs/mythepg'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
-D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" 
-DMMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-I/usr/share/qt3/mkspecs/default -I. -I../../lib
s -I../../libs/libmyth -I/usr/local/include -I/usr/include/qt3 -o main.o 
main.cpp
g++  -o mythepg main.o   -L/usr/share/qt3/lib -L/usr/X11R6/lib 
-L../../libs/libm
yth -L../../libs/libmythtv -L../../libs/libavcodec -L../../libs/libvbitext 
-L../
../libs/libavformat -lmythtv -lavformat -lavcodec -lvbitext -lmyth-0.13 
-L/usr/X
11R6/lib -lXinerama -lXv -lXxf86vm -lfreetype -lmp3lame -lXext -lX11 -lm 
-lpthre
ad
main.o(.text+0x7a): In function `main':
: undefined reference to `QApplication::QApplication[in-charge](int&, 
char**)'
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 
`QComboBox::setAutoCompletion(bool)'
../../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?

BTW:

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.

Cheers

Felix

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



More information about the mythtv-dev mailing list