[streaming] Reg:cross compilation against arm

lcimmier lc at actech-innovation.com
Mon Oct 15 14:43:35 CEST 2007


Hi,
The problem looks like your cross compiling vlc, and try to link it with
a non cross compiled library...
So, you will have to cross compile the fribidi library, and then link
vlc with it. (If fribidi is really useful in your project, else, just
disable it, in your configure)

> Hi All,
>            I am compiling Vlc for ARM.
> for doing configure of vlc source code i have put
> 
> ./configure --target=arm-926ejs-linux --host=arm-926ejs-linux 
> --with-kernel-source=/home/benjamin/imx27_linuxkernel 
> CC=/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/bin/arm-926ejs-linux-gcc 
> --disable-sdl --enable-png --disable-wxwidgets --disable-skins2 
> --disable-mad --disable-hal --disable-gtk --disable-gnomevfs 
> --disable-libmpeg2 --disable-growl --enable-live555 --disable-dvdnav 
> --disable-libcdio --disable-libcddb --disable-cdda --disable-vcd 
> --disable-screen --disable-dts --disable-vorbis --disable-speex 
> --disable-x11 --disable-xvideo --disable-glx --disable-xinerama 
> --disable-hd1000v --disable-hd1000a --disable-upnp --disable-httpd 
> --disable-vlm --disable-visual --disable-bonjour --disable-ffmpeg
> 
> 
> 
> configure happens successfully.........
> 
> but while doing make it is showing some error:
> .....................
> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
> 
> /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: 
> skipping incompatible /usr/lib/libfribidi.so when searching for -lfribidi
> /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: 
> skipping incompatible /usr/lib/libfribidi.a when searching for -lfribidi
> /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: 
> cannot find -lfribidi
> collect2: ld returned 1 exit status
> make[4]: *** [libfreetype_plugin.so] Error 1
> make[4]: Leaving directory 
> `/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c/modules/misc'
> make[3]: *** [all-modules] Error 1
> make[3]: Leaving directory 
> `/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c/modules/misc'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c/modules'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/Desktop/vlcstream/vlc-arm/vlc-0.8.6c'
> make: *** [all] Error 2
> 
> 
> 
> please help me to rectify that issue.....
> Thanks in advance
> Alok
> _______________________________________________
> streaming mailing list
> streaming at videolan.org
> http://mailman.videolan.org/listinfo/streaming




More information about the streaming mailing list