compiling vlc for Strongarm and Qtopia?

Christian Kohl s355784 at student.uq.edu.au
Sun Jul 21 09:25:44 CEST 2002


I am still having trouble with compiling vlc for the IPAQ,
I am not sure if I use the correct options, the ones I am using are 
as below:

NM=arm-linux-nm LD=arm-linux-ld CXX=arm-linux-g++ RANLIB=arm-linux-
ranlib AR=arm-linux-ar CC=arm-linux-gcc ./configure --disable-dvd --
enable-release --prefix=/opt/Qtopia/ --disable-gtk --enable-fb --
enable-sdl --with-sdl=/opt/Qtopia/ --disable-xvideo --disable-
plugins --
disable-dvd --disable-dvdread --disable-x11 --enable-mad --with-
mad=/opt/Qtopia/ arm-linux

One problem that occurred straight up is with libmad. The mad.h 
header could not be found as seen in the error output below
although the "configure" is looking in the correct directories and 
the files mad.h exists in -I/opt/Qtopia/include and the libmad.a 
files
exists in -L/opt/Qtopia/lib. I couldn't figure out was is wrong with 
this yet, so I compiled vlc without mad support.
To try and rectify this problem, I tried two things, one: compiled 
mad as a shared library and secondly as a static, neither brought 
success.
The options used for the configure of mad were:

NM=arm-linux-nm LD=arm-linux-ld CXX=arm-linux-g++ RANLIB=arm-linux-
ranlib AR=arm-linux-ar CC=arm-linux-gcc ./configure --
prefix=/opt/Qtopia (--enable-static or --enable-shared) arm-linux


Output of vlc ./configure with mad support enabled:

checking if $CC groks SSE inline assembly... no
checking if $CC groks AltiVec inline assembly... no
checking if $CC groks AltiVec C extensions... no
checking if linker needs -framework vecLib... no
checking for dvbpsi/dr.h... no
checking for inet_pton... no
checking for inet_pton in -lresolv... no
-I/opt/Qtopia/include
-L/opt/Qtopia/lib
checking for mad.h... no
configure: error: Cannot find development headers for libmad...

The compilation wtihout mad seemed to succeed without error and now 
I wanted to
transfer the required files to the ipaq to test but did not know 
which files and where 
those files had to go. The two things I tried are below and neither 
worked. Does anyone
know what files I need to copy to the IPAQ and where to?

1. Only copied the vlc binary to /bin directory, gave following 
output on the ipaq:

# vlc
VideoLAN Client - version 0.5.0-cvs Natalya - (c) 1996-2002 VideoLAN
[00:000017] main: found and locked memcpy module `memcpy'
remote control interface initialized, `h' for help
[00:00000d] main: found and locked interface module `rc'
remote control interface initialized, `h' for help
[00:00000d] main: found and locked interface module `rc'
a /tmp/jwsalmon_240x192.mpg
[00:00002f] main: playlist item `/tmp/jwsalmon_240x192.mpg'
[00:000013] main: found and locked access module `file'
[00:00000a] main: found and locked decoder module `mpeg_vdec'
[00:00002f] main error: no suitable decoder module for type 0x4
[00:000011] main: found and locked demux module `mpeg_ps'
[00:000005] main: found and locked motion module `motion'
[00:000004] main: found and locked iDCT module `idctclassic'
pos: 2 s / 30 s
pos: 2 s / 30 s
X11 connection rejected because of wrong authentication.
X connection to familiar:10.0 broken (explicit kill or server 
shutdown).


2. copied vlc binary to /bin, and libSDL libraries to /lib and vlc
(all the .o files for vlc) folder to /lib/vlc
and output on IPAQ was

# vlc
VideoLAN Client - version 0.5.0-cvs Natalya - (c) 1996-2002 VideoLAN
[00:000017] main: found and locked memcpy module `memcpy'
remote control interface initialized, `h' for help
[00:00000d] main: found and locked interface module `rc'
remote control interface initialized, `h' for help
[00:00000d] main: found and locked interface module `rc'

a /tmp/jwsalmon_240x192.mpg
[00:000030] main: playlist item `/tmp/jwsalmon_240x192.mpg'
[00:000013] main: found and locked access module `file'
[00:00000a] main: found and locked decoder module `mpeg_vdec'
[00:000005] main: found and locked motion module `motion'
[00:000004] main: found and locked iDCT module `idctclassic'
[00:000030] main error: no suitable decoder module for type 0x4
[00:000011] main: found and locked demux module `mpeg_ps'
[00:000033] sdl error: cannot initialize SDL (No available video 
device)
[00:000033] fb error: cannot get terminal mode (Invalid argument)
[00:000033] main error: no suitable vout module
[00:000031] mpeg_vdec error: cannot open vout, aborting
pos: 2 s / 30 s
...
pos: 30 s / 30 s
[00:000030] main: EOF reached
[00:000004] main: unlocking module `idctclassic'
[00:000005] main: unlocking module `motion'
[00:00000a] main: unlocking module `mpeg_vdec'
[00:000011] main: unlocking module `mpeg_ps'
[00:000030] main: closing `/:///tmp/jwsalmon_240x192.mpg'
[00:000013] main: unlocking module `file'


I hope someone can shed light onto my troubles. Thanks.

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