Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

myth tv compilation error

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


vu3mmg at gmail

Sep 5, 2007, 5:17 AM

Post #1 of 6 (433 views)
Permalink
myth tv compilation error

HI,

could you pls let me know how to resolve this compilation error .

regards
Mahesh

witch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -DMMX -Di386
-DUSING_FREEBOX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
-DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -DUSE_JOYSTICK_MENU -DUSE_ARTS
-DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/usr/lib/qt-3.1/mkspecs/default
-I. -I/usr/local/include -I/usr/X11R6/include -I../libmythsamplerate
-I../libmythsoundtouch -I../.. -I.. -I/usr/lib/qt-3.1/include -o uitypes.o
uitypes.cpp
uitypes.cpp: In member function `void
UIRichTextType::SetBackground(QPixmap*)':
uitypes.cpp:2071: `copyBlt' undeclared (first use this function)
uitypes.cpp:2071: (Each undeclared identifier is reported only once for each

function it appears in.)
uitypes.cpp: In member function `bool
UIManagedTreeListType::incSearchNext()':
uitypes.cpp:3709: no matching function for call to `QString::startsWith(
QString&, bool) const'
/usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
QString::startsWith(const QString&) const
uitypes.cpp:3739: no matching function for call to `QString::startsWith(
QString&, bool) const'
/usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
QString::startsWith(const QString&) const
make[2]: *** [uitypes.o] Error 1
make[2]: Leaving directory `/home/mgcp/mahesh/mythtv-0.20.2/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory `/home/mgcp/mahesh/mythtv-0.20.2/libs'
make: *** [sub-libs] Error 2


hendrixski at storsint

Sep 5, 2007, 6:48 AM

Post #2 of 6 (403 views)
Permalink
Re: myth tv compilation error [In reply to]

Mahesh,

If you modified the code... then you called the startsWith() method with
the wrong parameters.

If you haven't made any code changes, then are you sure you have Qt3
installed and configured properly? I'm just taking a quick guess here,
but if the compiler can't find basic Qt classes like QString... yeah.
If it worked before then, has your export path to Qt changed lately?
try env | grep QT, that should show you where it's currently set to,
then compare that to an instruction manual.

And you didn't install Qt4 by any chance?

Just my thoughts. Good Luck.


Mahesh Govind wrote:
> UIManagedTreeListType::incSearchNext()':
> uitypes.cpp:3709: no matching function for call to `QString::startsWith(
> QString&, bool) const'
> /usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
> QString::startsWith(const QString&) const
> uitypes.cpp:3739: no matching function for call to `QString::startsWith(
> QString&, bool) const'
> /usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
> QString::startsWith(const QString&) const

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stuart at tase

Sep 5, 2007, 7:07 AM

Post #3 of 6 (406 views)
Permalink
Re: myth tv compilation error [In reply to]

On Wednesday 05 September 2007 13:17:37 Mahesh Govind wrote:
> HI,
>
> could you pls let me know how to resolve this compilation error .
>
<snip>
> function it appears in.)
> uitypes.cpp: In member function `bool
> UIManagedTreeListType::incSearchNext()':
> uitypes.cpp:3709: no matching function for call to `QString::startsWith(
> QString&, bool) const'
> /usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
> QString::startsWith(const QString&) const
> uitypes.cpp:3739: no matching function for call to `QString::startsWith(
> QString&, bool) const'
> /usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
> QString::startsWith(const QString&) const

I've not verified it, so at the moment it's just a guess, but it looks like a
difference between QT 3.1 and 3.3. You might try upgrading to 3.3
--
Stuart Morgan
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


janne-mythtv at grunau

Sep 5, 2007, 7:41 AM

Post #4 of 6 (405 views)
Permalink
Re: myth tv compilation error [In reply to]

On Wednesday 05 September 2007 16:07:17 Stuart Morgan wrote:
> On Wednesday 05 September 2007 13:17:37 Mahesh Govind wrote:
> > HI,
> >
> > could you pls let me know how to resolve this compilation error .
>
> <snip>
>
> > function it appears in.)
> > uitypes.cpp: In member function `bool
> > UIManagedTreeListType::incSearchNext()':
> > uitypes.cpp:3709: no matching function for call to
> > `QString::startsWith( QString&, bool) const'
> > /usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
> > QString::startsWith(const QString&) const
> > uitypes.cpp:3739: no matching function for call to
> > `QString::startsWith( QString&, bool) const'
> > /usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
> > QString::startsWith(const QString&) const
>
> I've not verified it, so at the moment it's just a guess, but it
> looks like a difference between QT 3.1 and 3.3. You might try
> upgrading to 3.3

both issues are differences between Qt 3.1 and 3.2.
I bumped the needed versions as noted in the docs (Qt 3.3 for trunk and
Qt 3.2 for 0.20-fixes), but I don't know if Qt 3.2 is enough to compile
0.20-fixes.

Janne
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


sboyce at blueyonder

Sep 5, 2007, 7:02 PM

Post #5 of 6 (385 views)
Permalink
Re: myth tv compilation error [In reply to]

hendrixski[at]storsint.com wrote:
> Mahesh,
>
> If you modified the code... then you called the startsWith() method with
> the wrong parameters.
>
> If you haven't made any code changes, then are you sure you have Qt3
> installed and configured properly? I'm just taking a quick guess here,
> but if the compiler can't find basic Qt classes like QString... yeah.
> If it worked before then, has your export path to Qt changed lately?
> try env | grep QT, that should show you where it's currently set to,
> then compare that to an instruction manual.
>
> And you didn't install Qt4 by any chance?
>
> Just my thoughts. Good Luck.
>
>
> Mahesh Govind wrote:
>> UIManagedTreeListType::incSearchNext()':
>> uitypes.cpp:3709: no matching function for call to `QString::startsWith(
>> QString&, bool) const'
>> /usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
>> QString::startsWith(const QString&) const
>> uitypes.cpp:3739: no matching function for call to `QString::startsWith(
>> QString&, bool) const'
>> /usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
>> QString::startsWith(const QString&) const
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>

If it's not the version of qt3, then check what /usr/bin/qmake is not
from qt4. With qt3 and qt4 installed, I've had to "mv /usr/bin/qmake
/usr/bin/qmake4", "ln -s /usr/lib/qt3/bin/qmake /usr/bin/", "make
distclean", the re-run configure.
Regards
Sid.

--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


vu3mmg at gmail

Sep 6, 2007, 8:14 AM

Post #6 of 6 (380 views)
Permalink
Re: myth tv compilation error [In reply to]

Thanks a lot ....

I was using the original tar ball ,I havent tried the modified code .

I will try again with all the suggestions .
with regards
Mahesh

73's
VU3MMG




On 9/6/07, Sid Boyce <sboyce[at]blueyonder.co.uk> wrote:
>
> hendrixski[at]storsint.com wrote:
> > Mahesh,
> >
> > If you modified the code... then you called the startsWith() method with
> > the wrong parameters.
> >
> > If you haven't made any code changes, then are you sure you have Qt3
> > installed and configured properly? I'm just taking a quick guess here,
> > but if the compiler can't find basic Qt classes like QString... yeah.
> > If it worked before then, has your export path to Qt changed lately?
> > try env | grep QT, that should show you where it's currently set to,
> > then compare that to an instruction manual.
> >
> > And you didn't install Qt4 by any chance?
> >
> > Just my thoughts. Good Luck.
> >
> >
> > Mahesh Govind wrote:
> >> UIManagedTreeListType::incSearchNext()':
> >> uitypes.cpp:3709: no matching function for call to
> `QString::startsWith(
> >> QString&, bool) const'
> >> /usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
> >> QString::startsWith(const QString&) const
> >> uitypes.cpp:3739: no matching function for call to
> `QString::startsWith(
> >> QString&, bool) const'
> >> /usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
> >> QString::startsWith(const QString&) const
> >
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev[at]mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >
> >
>
> If it's not the version of qt3, then check what /usr/bin/qmake is not
> from qt4. With qt3 and qt4 installed, I've had to "mv /usr/bin/qmake
> /usr/bin/qmake4", "ln -s /usr/lib/qt3/bin/qmake /usr/bin/", "make
> distclean", the re-run configure.
> Regards
> Sid.
>
> --
> Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
> Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
> Specialist, Cricket Coach
> Microsoft Windows Free Zone - Linux used for all Computing Tasks
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.