[mythtv-users] Mipsel Cross Compile problem videoout_directfb.o

Theo Cushion blaz7777 at hotmail.com
Tue Aug 23 12:37:52 UTC 2005


Hi
I've been trying to cross compile mythtv for MIPSEL. I've been doing it with 
QT/E so I don't need to bother with X and have also set it basicly on an 
i386 machine just to test my procedures. However for the last few days 
during the cross compile of the mythtv package I've been getting this error:

distcc mipsel-linux-gnu-g++ -c -pipe -D__MIPSEL__ -DQWS 
-I/usr/local/include/directfb -D_REENTRANT -O3 -Wall -Wno-switch -O2 
-I/rootfs/usr/local/include -I/rootfs/usr/include 
-I/packages/linux-2.6.11.6/include -I/rootfs/usr/include/mysql 
-I/rootfs/usr/qtembed/include/ -I/rootfs/usr/local/include/directfb 
-I/rootfs/usr/include/lame -fomit-frame-pointer `freetype-config --cflags` 
-D_REENTRANT -DPIC -fPIC  -DUSING_DVB -DUSING_DVB_EIT -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/rootfs/usr/local/myth0.18.1/\" 
-DUSING_DIRECTFB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-I/packages/mythtv-0.18.1/linux-mips-g++ -I. 
-I/rootfs/usr/local/myth0.18.1//include -I../../../linux-2.6.11.6/include 
-I../.. -I../libmyth -I.. -Idvbdev -Impeg -I../libavcodec -I../libmythmpeg2 
-I/usr/qtembed/include -o videoout_directfb.o videoout_directfb.cpp
videoout_directfb.cpp:188: error: syntax error before `;' token
videoout_directfb.cpp:206: error: 'BufferMap' is used as a type, but is not
   defined as a type.
videoout_directfb.cpp: In member function `virtual bool
   VideoOutputDirectfb::Init(int, int, float, long unsigned int, int, int, 
int,
   int, long unsigned int)':
videoout_directfb.cpp:315: warning: unused variable 
`DFBDisplayLayerDescription
   ldesc'
videoout_directfb.cpp: In member function `virtual void
   VideoOutputDirectfb::PrepareFrame(VideoFrame*, FrameScanType)':
videoout_directfb.cpp:506: error: 'struct DirectfbData' has no member named 
'
   buffers'
videoout_directfb.cpp: In member function `bool
   VideoOutputDirectfb::CreateDirectfbBuffers(DFBSurfaceDescription)':
videoout_directfb.cpp:699: error: 'struct DirectfbData' has no member named 
'
   buffers'
videoout_directfb.cpp: In member function `void
   VideoOutputDirectfb::DeleteDirectfbBuffers()':
videoout_directfb.cpp:725: error: `BufferMap' undeclared (first use this
   function)
videoout_directfb.cpp:725: error: (Each undeclared identifier is reported 
only
   once for each function it appears in.)
videoout_directfb.cpp:725: error: parse error before `::' token
videoout_directfb.cpp:726: error: `iter' undeclared (first use this 
function)
videoout_directfb.cpp:726: error: 'struct DirectfbData' has no member named 
'
   buffers'
videoout_directfb.cpp:726: error: 'struct DirectfbData' has no member named 
'
   buffers'
videoout_directfb.cpp:733: error: 'struct DirectfbData' has no member named 
'
   buffers'
videoout_directfb.cpp: In function `DFBEnumerationResult 
LayerCallback(unsigned
   int, DFBDisplayLayerDescription, void*)':
videoout_directfb.cpp:782: warning: unused variable 
`IDirectFBSurface*surface'
distcc[7142] ERROR: compile videoout_directfb.cpp on localhost failed
make[3]: *** [videoout_directfb.o] Error 1

I've been configuring it with these options:

--prefix=/rootfs/usr/local/myth0.18.1/ --disable-mmx --disable-altivec 
--cpu=mips \
                --enable-directfb --enable-dvb --enable-dvb-eit \
                --disable-ivtv --disable-joystick-menu --disable-lirc \
                --dvb-path=$(linux_BUILDDIR)/include --disable-x11 
--disable-xrandr \
                --disable-xv --disable-xvmc-vld --enable-memalign-hack

I compiled QT/E with support for RTTI and exceptions and checked that 
they've definately been removed from the qmake.conf.

I'm totaly out of ideas, any help would be massively appreciated. I think 
i'm going to have to put my c++ hat on though.

Thanks
Theo

_________________________________________________________________
Winks & nudges are here - download MSN Messenger 7.0 today! 
http://messenger.msn.co.uk



More information about the mythtv-users mailing list