[vlc] Cross-Compiling Problem for PowerPC

Chris Belay chris at design-cycle.com
Wed Jul 21 19:51:13 CEST 2004


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
dvb.c: In function `ioctl_SECControl':
dvb.c:55: error: storage size of `scmd' isn't known
dvb.c:56: error: storage size of `scmds' isn't known
dvb.c:69: error: `SEC_TONE_OFF' undeclared (first use in this function)
dvb.c:69: error: (Each undeclared identifier is reported only once
dvb.c:69: error: for each function it appears in.)
dvb.c:69: error: `SEC_TONE_ON' undeclared (first use in this function)
dvb.c:73: error: `SEC_VOLTAGE_18' undeclared (first use in this function)
dvb.c:73: error: `SEC_VOLTAGE_13' undeclared (first use in this function)
dvb.c:84: error: `SEC_MINI_NONE' undeclared (first use in this function)
dvb.c:90: error: `SEC_SEND_SEQUENCE' undeclared (first use in this function)
dvb.c:55: warning: unused variable `scmd'
dvb.c:56: warning: unused variable `scmds'
dvb.c: In function `ioctl_SetQPSKFrontend':
dvb.c:109: error: `FrontendParameters' undeclared (first use in this function)
dvb.c:109: error: parse error before "fep"
dvb.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'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/tmp/vlc-0.7.2/modules/access/satellite'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/vlc-0.7.2/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/vlc-0.7.2/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/vlc-0.7.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/vlc-0.7.2'
make: *** [all] Error 2

Any idea what would be causing this?  I have also receieved one other error using a slightly different command line, but that was last night and now I can't replicate it.  If you have any suggestions that can get this thing compiled that would be great, thanks in advance.

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list