[streaming] Reg:Cross compilation error for Arm

alok Yadav alokkumar.yadav at gdatech.co.in
Fri Oct 12 08:31:43 CEST 2007


Hi,
       I am trying to crosscompile vlc package  for ARM 
platform......for  configure..i put
./configure --target=arm-926ejs-linux --host=arm-926ejs-linux 
--with-kernel-source=/home/benjamin/imx27_linuxk
ernel 
CC=/opt/imx27/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/bin/arm-926ejs-linux-gc
c  --enable-pth --enable-live555 --enable-realrtsp --disable-mad 
--disable-ffmpeg --disable-libmpeg2

and it successfully configured.....


but in doing make
 it is giving error
the error is........


export MACOSX_DEPLOYMENT_TARGET=
make  all-recursive
make[1]: Entering directory `/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c'
Making all in intl
make[2]: Entering directory 
`/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c/intl'
Making all in loader
make[2]: Entering directory 
`/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c/loader'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c/loader'
Making all in src
make[2]: Entering directory `/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c/src'
srcdir=.. builddir=.. ../toolbox --update-version
make  all-recursive
make[3]: Entering directory `/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c/src'
make[4]: Entering directory `/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c/src'
if 
/opt/imx27/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/bin/arm-926ejs-linux-gcc 
-DHAVE_CONFIG_H -I. -I. -I..   -DSYS_LINUX -I../include 
`top_builddir=".." ../vlc-config --cflags vlc pic` -Wsign-compare -Wall  
-pipe -MT libvlc_a-libvlc.o -MD -MP -MF ".deps/libvlc_a-libvlc.Tpo" \
  -c -o libvlc_a-libvlc.o `test -f 'libvlc.c' || echo './'`libvlc.c; \
then mv -f ".deps/libvlc_a-libvlc.Tpo" ".deps/libvlc_a-libvlc.Po"; \
else rm -f ".deps/libvlc_a-libvlc.Tpo"; exit 1; \
fi
libvlc.c:65:27: error: hal/libhal.h: No such file or directory
libvlc.c: In function 'InitDeviceValues':
libvlc.c:2572: error: 'LibHalContext' undeclared (first use in this 
function)
libvlc.c:2572: error: (Each undeclared identifier is reported only once
libvlc.c:2572: error: for each function it appears in.)
libvlc.c:2572: error: 'ctx' undeclared (first use in this function)
libvlc.c:2576: error: 'dbus_bool_t' undeclared (first use in this function)
libvlc.c:2576: error: expected ';' before 'b_dvd'
libvlc.c:2577: error: 'DBusConnection' undeclared (first use in this 
function)
libvlc.c:2577: error: 'p_connection' undeclared (first use in this function)
libvlc.c:2578: error: 'DBusError' undeclared (first use in this function)
libvlc.c:2578: error: expected ';' before 'error'
libvlc.c:2593: warning: implicit declaration of function 'hal_initialize'
libvlc.c:2593: error: 'FALSE' undeclared (first use in this function)
libvlc.c:2599: warning: implicit declaration of function 
'hal_get_all_devices'
libvlc.c:2599: warning: assignment makes pointer from integer without a cast
libvlc.c:2608: warning: implicit declaration of function 
'hal_device_property_exists'
libvlc.c:2620: error: 'b_dvd' undeclared (first use in this function)



plz help me to resolve that problem.......
Thanks in advance.
Alok



More information about the streaming mailing list