Hi, <br>
<br>
I am currently trying to get VLC to work on a little mips32 machine running linux. <br>
I successfully cross-compiled it (with many hacks in between), but when I run it on the mips machine, I get a seg fault:<br>
<br>
# ./vlc --plugin-path=/usr/lib/vlc -vvv -I -rc<br>
VLC media player 0.8.2 Janus<br>
[00000001] main vlc debug: checking builtin modules<br>
[00000001] main vlc debug: checking plugin modules<br>
[00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat<br>
[00000001] main vlc debug: recursively browsing `modules'<br>
[00000001] main vlc debug: recursively browsing `/home/mediadev/Arthur/blackWidow/vlc-configure/usr/local/lib/vlc'<br>
[00000001] main vlc debug: recursively browsing `plugins'<br>
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'<br>
Segmentation fault<br>
<br>
----------------------------------------------------------------------------------------<br>
What I did to compile it:<br>
<br>
OBJECTIVE: I want to disable ALL video and GUI related things. Just want a pure command line mp3 player.<br>
<br>
I first cross compiled all the dependencies that I think I'll need. All
the files I got from the videolan homepage (I don't dare the try newer
ones as I hear some new versions of these libraries might break vlc):<br>
- libmad<br>
- zlib<br>
- libogg<br>
- live media<br>
- libid3tag <br>
- mp3lame<br>
- ffmpeg (./configure --prefix=<my install path> --enable-gpl --enable-pp --enable-mp3lame --cc=mipsel-linux-gcc)<br>
<br>
Then I go ahead and configure vlc:<br>
./configure --host=mipsel-linux
--prefix=/home/mediadev/Arthur/blackWidow/vlc-configure/usr/local
--disable-libmpeg2 --disable-dvdnav --disable-dshow --disable-smb
--disable-libcdio --disable-libcddb --disable-cdda --disable-vcd
--disable-screen --disable-png --disable-xvideo --disable--x11
--disable-cmml --disable-x264 --disable-glx --disable-opengl
--disable-sdl --disable-hd1000v --disable-directx --disable-wingdi
--disable-alsa --disable-waveout --disable-coreaudio --disable-hd1000a
--disable-skins2 --disable-wxwindows --disable-macosx --disable-visual
--disable-daap --disable-joystick --disable-activex
--with-mad=/home/mediadev/Arthur/blackWidow/vlc-dependencies/libmad-configure/
--with-ffmpeg-mp3lame --with-ffmpeg-zlib
--with-ffmpeg-tree=/home/mediadev/Arthur/blackWidow/vlc-dependencies/ffmpeg-20041113/
--with-livedotcom-tree=/home/mediadev/Arthur/blackWidow/vlc-dependencies/live<br>
<br>
After, I edit vlc-config to remove the x11 and freetype from the
plugins part ( I am having trouble compiling with those parts on)<br>
<br>
Then I make and make install. <br>
After copying all the libraries over to the mips32 linux machine, I ran it and I got that segmentation fault. :(<br>
<br>
What might be wrong with this? Any help will be deeply appreciated. Thanks!<br>
<br>
Cheers,<br><span class="sg">
<br>
Arthur<br>
</span>