compiling vlc for Strongarm and Qtopia?

Christian Kohl s355784 at student.uq.edu.au
Fri Jul 19 09:51:38 CEST 2002


Hi,
I am currently trying to compile vlc for an IPAQ3870 running
Familiar linux and Qtopia.

Here is what I am trying to do or have been told would be the best 
steps to do it:


> 1) get a cross-compiler from http://www.arm.linux.org
> 2) cross compile SDL-1.2.5 for StrongArm and Qtopia (Qt-embedded)
> 3) cross compile mad (libmad) for StrongArm
> 4) cross compile vlc for StrongArm and Qtopia (Qt-embedded)

I really haven't had any experience with cross-compiling, so at this 
stage 
I have hit a brick wall until I figure out how to do it.

Done 2) now ! (found a howto in the downloaded source)

for 3) I compiled mad but when I did make install it installed it in 
the correct directory 
but not as a .so file but only as a .la and .a . I thought it had to 
be .so file??

for 4) When I tried to compile vlc, I am sort of stuck because I am 
not sure what configure options to use.
The ones I am currently using are as follows:

CC=arm-linux-gcc ./configure --disable-dvd --enable-release --
prefix=/opt/Qtopia/ --disable-gtk --enable-fb --enable-sdl --disable-
xvideo --disable-plugins --disable-dvd --disable-dvdread --disable-
dummy --disable-x11 --enable-mad --with-mad=/opt/Qtopia/ arm-linux

I have tested in the qvfb but it then opened the video output not in 
the buffer but in normal window.
Once I put the enable-sdl option in it broke the make process

gcc -Wall -Winline  -DSYS_LINUX -finline-limit-30000 -pipe -
D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -
DLOCALEDIR="/opt/Qtopia//share/locale" -
DDATA_PATH="/opt/Qtopia//share/vlc" -
DPLUGIN_PATH="/opt/Qtopia//lib/vlc" -Iinclude -Iextras -D_REENTRANT -
D_THREAD_SAFE -D_GNU_SOURCE -DHAVE_RELEASE -D__VLC__ -O3 -ffast-
math -funroll-loops -fomit-frame-pointer -o vlc src/vlc.o  
lib/libvlc.a plugins/idct.a plugins/idctclassic.a plugins/motion.a 
plugins/imdct.a plugins/downmix.a plugins/mpeg_adec.a 
plugins/ac3_adec.a plugins/mpeg_vdec.a plugins/dummy.a 
plugins/null.a plugins/rc.a plugins/logger.a plugins/mpeg_es.a 
plugins/mpeg_audio.a plugins/mpeg_ps.a plugins/mpeg_ts.a 
plugins/file.a plugins/udp.a plugins/http.a plugins/ipv4.a 
plugins/memcpy.a plugins/lpcm_adec.a plugins/ac3_spdif.a 
plugins/spudec.a plugins/filter_deinterlace.a 
plugins/filter_invert.a plugins/filter_wall.a 
plugins/filter_transform.a plugins/filter_distort.a 
plugins/filter_clone.a plugins/filter_crop.a plugins/fx_scope.a 
plugins/chroma_i420_rgb.a plugins/chroma_i420_yuy2.a 
plugins/chroma_i422_yuy2.a plugins/chroma_i420_ymga.a plugins/vcd.a 
plugins/avi.a plugins/mad.a plugins/sdl.a plugins/fb.a 
plugins/dsp.a  -Wall -ldl -
lpthread                                           
/opt/Qtopia//lib/libSDL.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [vlc] Error 1

Any suggestions?


Cheers

Christian Kohl

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



More information about the vlc-devel mailing list