[vlc] Re: Cross-Compiling Problem for PowerPC

Jean-Paul Saman jean-paul.saman at planet.nl
Mon Jul 26 21:14:32 CEST 2004


Chris Belay wrote:

>Thanks for the info.  I did a 'make clean' re-configured with --disable-satellite and tried to do another 'make' and ended up with this error:
>
>vb.c:124: error: `fep' undeclared (first use in this function)
>dvb.c:128: error: `FEC_AUTO' undeclared (first use in this function)
>dvb.c:131: error: `FE_SET_FRONTEND' undeclared (first use in this function)
>dvb.c: In function `check_qpsk':
>dvb.c:153: error: `FrontendEvent' undeclared (first use in this function)
>dvb.c:153: error: parse error before "event"
>dvb.c:162: error: `FE_GET_EVENT' undeclared (first use in this function)
>dvb.c:162: error: `event' undeclared (first use in this function)
>dvb.c:162: error: `EBUFFEROVERFLOW' undeclared (first use in this function)
>dvb.c:169: error: `FE_UNEXPECTED_EV' undeclared (first use in this function)
>dvb.c:171: error: `FE_FAILURE_EV' undeclared (first use in this function)
>dvb.c:173: error: `FE_COMPLETION_EV' undeclared (first use in this function)
>dvb.c: In function `ioctl_SetDMXFilter':
>dvb.c:198: error: storage size of `s_filter_params' isn't known
>dvb.c:211: error: `DMX_IN_FRONTEND' undeclared (first use in this function)
>dvb.c:212: error: `DMX_OUT_TS_TAP' undeclared (first use in this function)
>dvb.c:230: error: `DMX_PES_OTHER' undeclared (first use in this function)
>dvb.c:233: error: `DMX_IMMEDIATE_START' undeclared (first use in this function)
>dvb.c:236: error: `DMX_SET_PES_FILTER' undeclared (first use in this function)
>dvb.c:198: warning: unused variable `s_filter_params'
>dvb.c: In function `ioctl_UnsetDMXFilter':
>dvb.c:249: error: `DMX_STOP' undeclared (first use in this function)
>dvb.c: In function `ioctl_SetBufferSize':
>dvb.c:260: error: `DMX_SET_BUFFER_SIZE' undeclared (first use in this function)
>make[6]: *** [libsatellite_a-dvb.o] Error 1
>make[6]: Leaving directory `/tmp/vlc-0.7.2/modules/access/satellite'
>
>
>---------- Original Message ----------------------------------
>From: Christophe Massiot <massiot at via.ecp.fr>
>Reply-To: vlc at videolan.org
>Date:  Thu, 22 Jul 2004 00:51:19 +0200
>
>  
>
>>À (At) 13:51 -0400 21/07/04, Chris Belay écrivait (wrote) :
>>    
>>
>>>Hey,
>>>
>>>I'm trying to cross compile VLC for a PowerPC processor.  I refered 
>>>to the following article:
>>>
>>>http://www.via.ecp.fr/via/ml/vlc-devel/200311/msg00086.html
>>>
>>>I used this configuration line:
>>>
>>>CXXCPP=powerpc-tuxbox-linux-gnu-cpp CC=powerpc-tuxbox-linux-gnu-gcc 
>>>CPPFLAGS="-mpowerpc -mcpu=823 -msoft-float -mmultiple -mstring -I! 
>>>-I/nfs/tuxbox-cvs/driver/include" ./configure 
>>>--prefix=/nfs/dbox2/cdkroot --disable-dvd --disable-ffmpeg 
>>>--disable-mad --disable-libmpeg2 --enable-satellite 
>>>--with-dvbpsi-tree=/tmp/libdvbpsi3-0.1.4 --disable-plugins 
>>>--host="i686-linux-gnu" --target="powerpc-tuxbox-linux-gnu" 
>>>--disable-gtk --disable-x11 --disable-sdl
>>>
>>>and when I do a 'make' I get this error:
>>>
>>>then mv -f ".deps/libsatellite_a-dvb.Tpo" ".deps/libsatellite_a-dvb.Po"; \
>>>else rm -f ".deps/libsatellite_a-dvb.Tpo"; exit 1; \
>>>fi
>>>dvb.c:41:21: ost/sec.h: No such file or directory
>>>dvb.c:42:21: ost/dmx.h: No such file or directory
>>>dvb.c:43:26: ost/frontend.h: No such file or directory
>>>      
>>>
>>You're missing the dvb headers, if you don't have a dvb card do not 
>>    
>>
Provide a (from configure) "--with-dvb=PATH       path to a dvb- and 
v4l2-enabled kernel tree" option. This must point to the directory where 
you installed the dvb headers for v4l2 devices (either this is a kernel 
with the latest dvb drivers or this is the latest DVB driver from 
http://www.metzlerbros.org/dvb/index.html). Oh yeah do a: make distclean 
first. It always works better in these situations.

>>configure with --enable-satellite.
>>    
>>


-- 

Many greetings,
Jean-Paul Saman

Consultant
--------------------------------------------------------------
VLC iPAQ maintainer                    http://www.videolan.org
RedHat Certified Engineer         RHCE number: 807202745005548
--------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20040726/feb0a117/attachment.sig>


More information about the vlc mailing list