[mythtv] [mythtv-commits] Ticket #4507: Problem building channelbase.cpp SVN 15504

Stephan Raue stephan.raue at gmx.net
Wed Jan 23 22:40:49 UTC 2008


Thanks for the help.

with this patch i become:

ccache 
/home/stephan/OpenELEC/build.i386/toolchain/bin/i386-pc-linux-uclibc-g++ 
-c -Os -Wall -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -s 
-fomit-frame-pointer -DQWS -march=pentiumpro -fomit-frame-pointer -Wall 
-Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor 
-D__STDC_CONSTANT_MACROS 
-I/home/stephan/OpenELEC/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include/directfb 
-D_REENTRANT 
-I/home/stephan/OpenELEC/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include/freetype2 
-I/home/stephan/OpenELEC/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include 
-D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" 
-D_LARGEFILE_SOURCE -DUSING_H264TOOLS -DUSING_DIRECTFB -DUSING_FRONTEND 
-DUSING_V4L -DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV 
-DUSING_DVB -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
-DQT_SHARED 
-I/home/stephan/OpenELEC/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/share/mkspecs/qws/linux-x86-g++ 
-I. -I../../../toolchain/i386-pc-linux-uclibc/sysroot/usr/include 
-I../../../toolchain/i386-pc-linux-uclibc/sysroot/usr/include -I../.. 
-I.. -I. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 
-Idvbdev -Impeg -Iiptv 
-I../libmythlivemedia/BasicUsageEnvironment/include 
-I../libmythlivemedia/groupsock/include 
-I../libmythlivemedia/liveMedia/include 
-I../libmythlivemedia/UsageEnvironment/include 
-I/home/stephan/OpenELEC/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include 
-o channelbase.o channelbase.cpp
/home/stephan/OpenELEC/build.i386/toolchain/lib/gcc/i386-pc-linux-uclibc/4.2.2/../../../../i386-pc-linux-uclibc/include/c++/4.2.2/bits/stl_iterator_base_types.h: 
In instantiation of 'std::iterator_traits<QValueListIterator<QString> >':
/home/stephan/OpenELEC/build.i386/toolchain/lib/gcc/i386-pc-linux-uclibc/4.2.2/../../../../i386-pc-linux-uclibc/include/c++/4.2.2/bits/stl_algo.h:327:   
instantiated from '_InputIterator std::find(_InputIterator, 
_InputIterator, const _Tp&) [with _InputIterator = 
QValueListIterator<QString>, _Tp = QString]'
channelbase.cpp:70:   instantiated from here
/home/stephan/OpenELEC/build.i386/toolchain/lib/gcc/i386-pc-linux-uclibc/4.2.2/../../../../i386-pc-linux-uclibc/include/c++/4.2.2/bits/stl_iterator_base_types.h:129: 
error: no type named 'iterator_category' in 'class 
QValueListIterator<QString>'
/home/stephan/OpenELEC/build.i386/toolchain/lib/gcc/i386-pc-linux-uclibc/4.2.2/../../../../i386-pc-linux-uclibc/include/c++/4.2.2/bits/stl_algo.h: 
In function '_InputIterator std::find(_InputIterator, _InputIterator, 
const _Tp&) [with _InputIterator = QValueListIterator<QString>, _Tp = 
QString]':
channelbase.cpp:70:   instantiated from here
/home/stephan/OpenELEC/build.i386/toolchain/lib/gcc/i386-pc-linux-uclibc/4.2.2/../../../../i386-pc-linux-uclibc/include/c++/4.2.2/bits/stl_algo.h:327: 
error: no matching function for call to 
'__iterator_category(QValueListIterator<QString>&)'
make[3]: *** [channelbase.o] Error 1
make[3]: Leaving directory 
`/home/stephan/OpenELEC/build.i386/mythtv/libs/libmythtv'
make[2]: *** [sub-libmythtv] Error 2
make[2]: Leaving directory `/home/stephan/OpenELEC/build.i386/mythtv/libs'
make[1]: *** [sub-libs] Error 2
make[1]: Leaving directory `/home/stephan/OpenELEC/build.i386/mythtv'
make: *** [iso] Fehler 2

can anyone help me?
Stephan

Daniel Kristjansson schrieb:
> On Tue, 2008-01-22 at 16:03 +0100, Stephan Raue wrote:
>   
>> from uClibc Mailinglist:
>>
>> "This error looks like nothing to do with uClibc. It looks like some
>> unholy C++ template problem involving Qt and STL around line 71-72 or
>> channelbase.cpp. Study the error messages and all will become clear."
>>
>> Can anyone fix this, im not a programmer
>>     
>
> Try the attached patch..
>
> -- Daniel
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list