Need help compiling MythTV with uClibc

Stephan Raue stephan.raue at gmx.net
Tue Jan 22 11:14:43 UTC 2008


Hi,

I have a problem to build MythTV with uClibc since a change in http://svn.mythtv.org/trac/browser/trunk/mythtv/libs/libmythtv/channelbase.cpp in SVN 15435 or 15437. I can compile MythTV SVN 15261 and compile 15504 brings the follow error:

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:72: 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:71: 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 

The MythTV developers wont fix this, while "MythTV does not support uClibc". I have a set of Patches to build MythTV with uClibc and i think to make a very slim distro with MythTV,uClibc, qt-e, directfb is a great Project. Can anyone help me to find the error. 

Many thanks

Stephan

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail



More information about the uClibc mailing list