[mythtv] Compiling for DirectFB/Qt-Embedded

Derek Watson magic_cure at hotmail.com
Mon Jan 5 13:25:52 EST 2004


Doh. You were obviously already further on that I was, sorry.

I now receive the same error when compiling :-(


>From: "Derek Watson" <magic_cure at hotmail.com>
>Reply-To: Development of mythtv <mythtv-dev at mythtv.org>
>To: mythtv-dev at mythtv.org
>Subject: Re: [mythtv] Compiling for DirectFB/Qt-Embedded
>Date: Mon, 05 Jan 2004 17:44:55 +0000
>
>Hi Simeon
>
>I've also been trying to get this to compile without much success. Looks 
>like you might have solved my problem being the exclusion of lame + 
>freetype.
>
>To overcome the problem you describe here I went looking at the qt-embedded 
>ebuild under the src_install function in the script (located at 
>/usr/portage/x11-libs/qt-embedded/qt-embedded-3.1.2.ebuild). From this 
>you'll see that the file 
>/usr/portage/x11-libs/qt-embedded/files/47qt-embedded3 is copied into 
>/etc/env-d which in turn updates ld.so.conf when env-update is run. You 
>need to copy this file in and update to reflect the paths to your src dir 
>if you're using that as your qte base and run env-update.
>
>Not sure if you need to ldconfig after this but try that if it still 
>doesn't work. Good luck!
>
>Derek.
>
>
>>From: Simeon Walker <simeon at sbs.bangor.ac.uk>
>>Reply-To: Development of mythtv <mythtv-dev at mythtv.org>
>>To: Development of mythtv <mythtv-dev at mythtv.org>
>>Subject: Re: [mythtv] Compiling for DirectFB/Qt-Embedded
>>Date: Mon, 05 Jan 2004 14:06:53 +0000
>>
>>Hello,
>>
>>Following up my own post...
>>
>>In settings.pro there is:
>>EXTRA_LIBS = `directfb-config --libs`
>>
>>which cancels out the earlier:
>>EXTRA_LIBS = -lfreetype -lmp3lame
>>
>>leading to half of the errors in my previous post, I changed the line to:
>>EXTRA_LIBS += `directfb-config --libs`
>>
>>Now my errors are all of the type:
>>
>>make[2]: Entering directory `/usr/local/src/mythtv/programs/mythepg'
>>g++ -c -pipe `directfb-config --cflags` -Wall -W -O3 -march=pentiumpro 
>>-fomit-frame-pointer -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
>>-DPREFIX=\"/usr/local\" -DMMX -DQWS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
>>-I/usr/local/src/qt-embedded-free-3.2.3/mkspecs/linux-g++ -I. -I../../libs 
>>-I../../libs/libmyth -I../../../../include 
>>-I/usr/local/src/qt-embedded-free-3.2.3/include -o main.o main.cpp
>>g++ -Wl,-rpath,/usr/local/src/qt-embedded-free-3.2.3/lib -o mythepg main.o 
>>   -L/usr/local/src/qt-embedded-free-3.2.3/lib -L/usr/X11R6/lib 
>>-L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavcodec 
>>-L../../libs/libavformat -lmythtv-0.14 -lmythavformat-0.14 
>>-lmythavcodec-0.14 -lmyth-0.14 -lfreetype -lmp3lame `directfb-config 
>>--libs` -lqt-mt -lXext -lX11 -lm -lpthread
>>main.o(.gnu.linkonce.r._ZTI6QGList+0x8): undefined reference to `typeinfo 
>>for QPtrCollection'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QPushButton'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QLibrary'
>>../../libs/libmythtv/libmythtv-0.14.so: undefined reference to `typeinfo 
>>for QGArray'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QComboBox'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QFrame'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QCheckBox'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QSpinBox'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QWidget'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QThread'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QListView'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QListBox'
>>../../libs/libmythtv/libmythtv-0.14.so: undefined reference to `typeinfo 
>>for QListViewItem'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QSlider'
>>../../libs/libmythtv/libmythtv-0.14.so: undefined reference to `typeinfo 
>>for QGDict'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QButtonGroup'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QTextEdit'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QTable'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QLineEdit'
>>../../libs/libmythtv/libmythtv-0.14.so: undefined reference to `typeinfo 
>>for QObject'
>>../../libs/libmythtv/libmythtv-0.14.so: undefined reference to `typeinfo 
>>for QEvent'
>>../../libs/libmyth/libmyth-0.14.so: undefined reference to `typeinfo for 
>>QDialog'
>>collect2: ld returned 1 exit status
>>make[2]: *** [mythepg] Error 1
>>make[2]: Leaving directory `/usr/local/src/mythtv/programs/mythepg'
>>make[1]: *** [sub-mythepg] Error 2
>>make[1]: Leaving directory `/usr/local/src/mythtv/programs'
>>make: *** [sub-programs] Error 2
>>
>>I have also just tried qt-embedded-free-3.2.3, same problem.
>>
>>Regards,
>>Simeon
>>
>>--
>>Simeon Walker,                      email: simeon at sbs.bangor.ac.uk
>>School of Biological Sciences,      phone: +44 (0)1248 383702
>>University of Wales, Bangor,        fax: +44 (0)1248 382569
>>Gwynedd, LL57 2UW, UK.              www: http://biology.bangor.ac.uk/
>>
>>_______________________________________________
>>mythtv-dev mailing list
>>mythtv-dev at mythtv.org
>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>_________________________________________________________________
>Gaming galore at  http://xtramsn.co.nz/gaming !
>
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

_________________________________________________________________
Need more speed?  Get Xtra Jetstream @  
http://www.xtra.co.nz/products/0,,5803,00.html !



More information about the mythtv-dev mailing list