[mythtv] Failing compiling dvb support (and a little error patch)

Leandro Dardini ldardini at tiscali.it
Sat May 17 11:10:06 EDT 2003

As wronly mentioned, I compile mythtv without dvb support, so this morning I
start again updating setting.pro, uncommenting dvb stuff and starting
compiling again.

Unfortunately compilation went wrong with the usual error:

gcc -c -pipe -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -w -O3 -I.
-I/usr/share/qt/include -I/usr/share/qt/mkspecs/linux-g++ -I/usr/local/src/l
inuxdvb-cvs/DVB/include -o dvbdev.o dvbdev.c
dvbdev.c: In function `ts_to_ps':
dvbdev.c:167: parse error before `app_buf'
dvbdev.c:168: `app_buf' undeclared (first use in this function)
dvbdev.c:168: (Each undeclared identifier is reported only once
dvbdev.c:168: for each function it appears in.)
make: *** [dvbdev.o] Error 1

Recalling an old thread, I change compiler, using gcc 3.0.4, but compilation
stop at mythepg with a lots of this

g++  -o mythepg
main.o   -L/usr/share/qt/lib -L/usr/X11R6/lib -L../../libs/libmyth -L../../l
ibs/libmythtv -L../../libs/libavcodec -L../../libs/libvbitext -L../../libs/l
ibavformat -lmythtv -lavformat -lavcodec -lvbitext -lmyth-0.9 -L/usr/X11R6/l
ib -lXinerama -lXv -lX11 -lXext -lmp3lame -lqt-mt -lpthread -lXext -lX11 -lm
main.o: In function `main':
main.o(.text+0x81): undefined reference to
`QApplication::QApplication[in-charge](int&, char**)'
main.o(.text+0xa6): undefined reference to `QString::QString[in-charge](char
main.o(.text+0xd4): undefined reference to `QString::shared_null'
main.o(.text+0xe3): undefined reference to `QStringData::deleteSelf()'
main.o(.text+0x101): undefined reference to
main.o(.text+0x111): undefined reference to
`QString::QString[in-charge](char const*)'
main.o(.text+0x124): undefined reference to
`QString::QString[in-charge](char const*)'
main.o(.text+0x12d): undefined reference to
`QSqlDatabase::addDatabase(QString const&, QString const&)'
main.o(.text+0x147): undefined reference to `QString::shared_null'

Maybe library compiled with 2.9x are incompatible with 3.0. I am using
debian stable and qt is 3.0.3. What compiler are you using?


A little little patch to mythtv/libs/libdvbdev... INCLUDEPATH is not read
from settings.pro

Index: libdvbdev.pro
RCS file: /var/lib/mythcvs/mythtv/libs/libdvbdev/libdvbdev.pro,v
retrieving revision 1.1
diff -u -d -r1.1 libdvbdev.pro
--- libdvbdev.pro       14 May 2003 02:43:28 -0000      1.1
+++ libdvbdev.pro       17 May 2003 08:04:39 -0000
@@ -5,7 +5,7 @@
 include ( ../../settings.pro )
 include ( ../../config.mak )

+INCLUDEPATH += ../../


More information about the mythtv-dev mailing list