[mythtv-users] Error compiling 0.19, please help

Chaz Hickman chaz at chazandcath.co.uk
Tue Feb 14 09:37:10 UTC 2006


I'm trying to compile 0.19 on a system that is happily running (and  
previously compiled) 0.18.1.

Part way through the compile of mythtv, I get the following:


g++ -c -pipe -march=pentiumpro -Wall -W -O3 -Wall -Wno-switch -fomit- 
frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -DUSING_DBOX2 - 
D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" - 
DUSING_OSS -DUSE_ALSA -DUSE_JOYSTICK_MENU -DUSE_LIRC -DQT_NO_DEBUG - 
DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/local/ 
include -I/usr/X11R6/include -I../libmythsamplerate -I../ 
libmythsoundtouch -I../.. -I/usr/share/qt3/include -o uitypes.o  
uitypes.cpp
uitypes.cpp: In member function `void UIRichTextType::SetBackground 
(QPixmap*)':
uitypes.cpp:2103: error: `copyBlt' undeclared (first use this function)
uitypes.cpp:2103: error: (Each undeclared identifier is reported only  
once for
    each function it appears in.)
uitypes.cpp: In member function `bool  
UIManagedTreeListType::incSearchNext()':
uitypes.cpp:3734: error: no matching function for call to  
`QString::startsWith(
    QString&, bool) const'
/usr/share/qt3/include/qstring.h:640: error: candidates are: bool
    QString::startsWith(const QString&) const
uitypes.cpp:3764: error: no matching function for call to  
`QString::startsWith(
    QString&, bool) const'
/usr/share/qt3/include/qstring.h:640: error: candidates are: bool
    QString::startsWith(const QString&) const
make[2]: *** [uitypes.o] Error 1
make[2]: Leaving directory `/myth/home/mythtv/0.19/mythtv-0.19/libs/ 
libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory `/myth/home/mythtv/0.19/mythtv-0.19/libs'
make: *** [sub-libs] Error 2


To my untrained eye, there seem to be two things going on here - the  
reference to an undeclared copyBlt, and the call to  
QString::startsWith. I'm running version 3.1 of the QT libraries  
which is all I believe is required. I cn see that the code in  
uitypes.cpp is different from that in the older 0.18, so I'm assuming  
I'm missing a new dependency?

Does anyone have any bright ideas as to where I'm going wrong?

Thanks,
Chaz



More information about the mythtv-users mailing list