[mythtv] Compiling for DirectFB/Qt-Embedded

Simeon Walker simeon at sbs.bangor.ac.uk
Mon Jan 5 09:06:53 EST 2004


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/



More information about the mythtv-dev mailing list