[mythtv-users] Re: problem compiling mythtv-0.15.1 with qte-3.1.2

Emil Friis emil.friis at gmail.com
Sun Jan 2 00:28:13 EST 2005


I am getting the same error as below when trying to compile 0.16 with
qt/e. Qt/e was compiled with the following:

./configure -qt-gif -no-exceptions -disable-opengl -qt-imgfmt-png
-qt-imgfmt-jpeg -qt-imgfmt-mng -thread -qt-sql-mysql -I
/usr/include/mysql

I am on Gentoo system with the following env when compiling:

MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man
HOSTNAME=front1
TERM=xterm
SHELL=/bin/bash
QTDIR=/usr/qt/3-embedded
USER=root
PAGER=/usr/bin/less
CONFIG_PROTECT_MASK=/etc/terminfo
XINITRC=/etc/X11/xinit/xinitrc
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/usr/qt/3-embedded/bin
GLIBC_SSP_CHECKED=1
DISTCC_LOG=
PWD=/root
EDITOR=/bin/nano
QMAKESPEC=qws/linux-x86-g++
DISTCC_VERBOSE=0
DCCC_PATH=/usr/lib/distcc/bin
CXX=g++
SHLVL=1
HOME=/root
LESS=-R
LOGNAME=root
CVS_RSH=ssh
LESSOPEN=|lesspipe.sh %s
INFOPATH=/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info
CC=gcc
CONFIG_PROTECT=/usr/X11R6/lib/X11/xkb
_=/usr/bin/env

Using the mythfrontend-0.16 ebuild with these use flags:

media-tv/mythfrontend-0.16  -X +alsa -arts -cle266 -debug +directfb
-dvb -lcd +lirc +mmx +nls -nvidia -opengl +oss -xv

qmake.conf:
With this line the compile works - 
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS  -DQWS -fno-exceptions -fno-rtti
However when accessing a lot of the menus it segfaults, which is
mentioned in a post.
But when removing -fno-exceptions and -fno-rtti as suggested elsewhere
in the list by Isaac as a solution to the menu problem I get the error
mentioned by Xavier instead.

Can anybody help?

Thanks,

Emil

Any ideas?


On Wed, 25 Aug 2004 16:37:40 +0100, xavier <nikoxan at mixmail.com> wrote:
> 
> Hi, I'm responding to myself to add more information to the problem
> 
> >Following the mail archives, suggestion, I modified the
> >$QTDIR/mkspecs/qws/linux-x86-g++/qmake.conf
> >commenting the no-rtti option
> 
> also disabled the no-exceptions option, but to no avail.
> I'm starting to get desperate about it. If anyone has ever tried this compilation, please
> tell me if you see something wrong in my configuration.
> 
> Thanks again,
> Xavier
> 
> >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*
> ---------------------------------------------------------
> Vuelve la quiniela. Ahora puedes jugar online y hacerte millonario http://sorteos.ya.com
> Ya.com ADSL Router Wi-Fi: Sólo 29,90 €/mes + IVA*. Router + Antivirus y firewall ¡Gratis! http://acceso.ya.com/adsl/256router
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
>


More information about the mythtv-users mailing list