[mythtv-users] problems compiling mythtv-0.15.1 with qte-3.1.2
xavier
nikoxan at mixmail.com
Fri Aug 20 06:38:11 EDT 2004
Hi people,
I'm in trouble compiling compiling mythtv-0.15.1 with qte-3.1.2. The qte library was
compiled with thread support and with the mysql driver plugin. All the examples work fine
in the linux console.
There is also a qt/x11 version 3.1.2 in my Mandrake 9.2 that is used as a system library
by kde and other apps. I've been compiling mythtv with the qt/x11 until the present with
any difficulty. As I am not planning to remove qt/x11 from my system, I changed some
environment variables to avoid using the qt/x11 lib, qmake and mkspecs instead of qte ones.
echo $QTDIR
/home/xavi/newlibs/qt-embedded-free-3.1.2
echo $LD_LIBRARY_PATH
/home/xavi/newlibs/qt-embedded-free-3.1.2/lib
echo $PATH
/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/xavi/bin:/home/xavi/newlibs/qt-embedded-free-3.1.2/bin
also added to /etc/ld.so.conf the value /home/xavi/newlibs/qt-embedded-free-3.1.2/lib
Following the mail archives, suggestion, I modified the
$QTDIR/mkspecs/qws/linux-x86-g++/qmake.conf
commenting the no-rtti option
On the mythtv root
make clean distclean
//just to verify
which qmake
/home/xavi/newlibs/qt-embedded-free-3.1.2/bin/qmake
which moc
/home/xavi/newlibs/qt-embedded-free-3.1.2/bin/moc
which uic
/home/xavi/newlibs/qt-embedded-free-3.1.2/bin/uic
on the settings.pro, disable all x11- xv video stuff. I got my own experimental
Video-output that writes frames into disk as image files, won't need directfb or any
other library to write video frames directly to the framebuffer, only want to test the GUI
with qt-e.
qmake -platform qws/linux-x86-g++ mythtv.pro
make
and, finally, when linking the libmythtv-libmyth libs with libqte-mt on the first program, got
main.o(.gnu.linkonce.r._ZTI6QGList+0x8): undefined reference to `typeinfo for QPtrCollection'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QPushButton'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QLibrary'
./../libs/libmythtv/libmythtv-0.15.so: undefined reference to `typeinfo for QGArray'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QComboBox'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QScrollView'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QFrame'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QCheckBox'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QSpinBox'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QWidget'
./../libs/libmythtv/libmythtv-0.15.so: undefined reference to `typeinfo for
QXmlDefaultHandler'
./../libs/libmythtv/libmythtv-0.15.so: undefined reference to `typeinfo for QThread'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QListView'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QListBox'
./../libs/libmythtv/libmythtv-0.15.so: undefined reference to `typeinfo for QListViewItem'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QServerSocket'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QSlider'
./../libs/libmythtv/libmythtv-0.15.so: undefined reference to `typeinfo for QGDict'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QButtonGroup'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QTextEdit'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QTable'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QLineEdit'
./../libs/libmythtv/libmythtv-0.15.so: undefined reference to `typeinfo for QObject'
./../libs/libmythtv/libmythtv-0.15.so: undefined reference to `typeinfo for QEvent'
./../libs/libmyth/libmyth-0.15.so: undefined reference to `typeinfo for QDialog'
collect2: ld returned 1 exit status
What's wrong? Is ld not getting the libqte-mt.so?
Thanks for your time and help
xavier
my $QTDIR/lib is
drwxr-xr-x 2 xavi xavi 8192 feb 24 2003 fonts/
-rw-r--r-- 1 xavi xavi 6813520 ago 19 22:56 libdesigner.a
-rw-r--r-- 1 xavi xavi 783 ago 19 21:30 libdesigner.prl
-rw-r--r-- 1 xavi xavi 408948 ago 19 22:56 libeditor.a
-rw-r--r-- 1 xavi xavi 643 ago 19 21:30 libeditor.prl
-rw-r--r-- 1 xavi xavi 20584 ago 19 22:46 libqassistantclient.a
-rw-r--r-- 1 xavi xavi 654 ago 19 21:30 libqassistantclient.prl
-rw-r--r-- 1 xavi xavi 655 ago 19 21:30 libqnp.prl
-rw-r--r-- 1 xavi xavi 572 ago 19 21:30 libqte-mt.prl
lrwxrwxrwx 1 xavi xavi 18 ago 19 21:43 libqte-mt.so -> libqte-mt.so.3.1.2*
lrwxrwxrwx 1 xavi xavi 18 ago 19 21:43 libqte-mt.so.3 -> libqte-mt.so.3.1.2*
lrwxrwxrwx 1 xavi xavi 18 ago 19 21:43 libqte-mt.so.3.1 ->
libqte-mt.so.3.1.2*
-rwxr-xr-x 1 xavi xavi 8212576 ago 19 21:43 libqte-mt.so.3.1.2*
-rw-r--r-- 1 xavi xavi 544 ago 19 12:50 libqte.prl
-rw-r--r-- 1 xavi xavi 506 ago 19 21:30 libqui.prl
lrwxrwxrwx 1 xavi xavi 15 ago 19 22:47 libqui.so -> libqui.so.1.0.0*
lrwxrwxrwx 1 xavi xavi 15 ago 19 22:47 libqui.so.1 -> libqui.so.1.0.0*
lrwxrwxrwx 1 xavi xavi 15 ago 19 22:47 libqui.so.1.0 -> libqui.so.1.0.0*
-rwxr-xr-x 1 xavi xavi 233043 ago 19 22:47 libqui.so.1.0.0*
---------------------------------------------------------
Ahora en tu móvil puedes llevar la foto que tú quieras: http://logos.ya.com/SLogo?M=phototomovil
Ya.com ADSL Router Wi-Fi: Sólo 29,90 €/mes + IVA*. Router + Antivirus y firewall ˇGratis! http://acceso.ya.com/adsl/256router
More information about the mythtv-users
mailing list