[mythtv-users] compile trouble under Debian after 'apt-get build-dep mythtv'

robert merithewr at myrealbox.com
Wed Sep 29 18:03:01 EDT 2004

Christopher Flynn wrote:

>Just a guess: Do you have qt3 installed and configured properly? If I
>remember correctly there are some environment variables you need to
>set dealing with the path that QT is in. (The mythdocs sould have the
>exact variables.
A good guess, but I did set up the QTDIR variable, and made sure qmake 
is in my path:

# echo $QTDIR
# which qmake

Does anyone know which library (or header file?) these undefined objects 
are supposed to come from?  (e.g. QListBox::eventFilter(QObject*, QEvent*) )

Any hints how I can find out?


>On Tue, 28 Sep 2004 18:18:30 -0400, robert <merithewr at myrealbox.com> wrote:
>>I'm trying to compile the frontend to install on a laptop.  I already
>>have a desktop backend/frontend installation (from debian binaries)
>>working.  I did
>>apt-get source mythtv
>>apt-get build-dep mythtv
>>(which installed a bunch of packages), and then:
>>dpkg-buildpackage -rfakeroot -uc -b
>>from the mythtv-0.16 directory.  Can anyone tell me what I'm missing,
>>given the error messages I've included below?
>>R. Merithew
>>Running debian testing/unstable, kernel 2.6.6-1-686, gcc 3.3.4, using
>>the following /etc/apt/sources.list:
>>deb ftp://ftp-linux.cc.gatech.edu/debian/ testing main
>>deb-src ftp://ftp-linux.cc.gatech.edu/debian/ testing main
>>deb http://dijkstra.csh.rit.edu/~mdz/debian unstable mythtv
>>deb-src http://dijkstra.csh.rit.edu/~mdz/debian unstable mythtv
>>deb ftp://ftp.nerim.net/debian-marillat/ unstable main
>>error messages:
>>make[3]: Entering directory `/scr/tmp/mythtv-0.16/programs/mythepg'
>>g++ -c -pipe -Wall -W -O2 -g -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_DVB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/share/qt3/mkspecs/default -I. -I../../libs -I../../libs/libmyth -I/usr/include -I/usr/local/include -I/usr/include/kde -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/libmyth -L../../libs/libmythtv -L../../libs/libavcodec -L../../libs/libavformat -lmythtv-0.16 -lmythavformat-0.16 -lmythavcodec-0.16 -lmyth-0.16 -lfreetype -lmp3lame -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lartsc -lqt-mt -lXext -lX11 -lm -lpthread
>>../../libs/libmyth/libmyth-0.16.so : undefined reference to `QListBox::eventFilter(QObject*, QEvent*)'
>>../../libs/libmythtv/libmythtv-0.16.so : undefined reference to `non-virtual thunk [nv:-4] to QXmlDefaultHandler::fatalError(QXmlParseException const&)'
>>../../libs/libmyth/libmyth-0.16.so : undefined reference to `QSocket::waitForMore(int) const'
>>../../libs/libmythtv/libmythtv-0.16.so : undefined reference to `QWidget::setAutoMask(bool)'
>>... etc.

More information about the mythtv-users mailing list