[Buildroot] vlc stream server.

Chien-Yu Chen torus0 at gmail.com
Sat Jul 26 18:58:00 UTC 2008

  I am trying to build a video streaming server, and I saw vlc is in one of
the package.  However, the vlc.mk is not complete, and I am having a little
bit trouble linking the package to the toolchain...
here is what I added to the vlc.mk

                --build=$(GNU_HOST_NAME) --prefix=/usr --sysconfdir=/etc \
                --disable-ffmpeg --disable-libmpeg2 --disable-wxwidgets

this is just a straight copy from blackbox

at the very last linking stage for vlc, it failed with something about
and I saw the command for linking
/bin/sh ./libtool --tag=CC --mode=link
-Os -I/home/torus/src/temp/buildroot/build_i686/staging_dir/usr/include
--sysroot=/home/torus/src/temp/buildroot/build_i686/staging_dir/ -isysroot
/home/torus/src/temp/buildroot/build_i686/staging_dir -mtune=pentium4
-march=pentium4 -Wsign-compare -Wall -pipe -o vlc vlc-vlc.o src/libvlc.a
./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a
-L/usr/lib -lpthread -ldl -lm -liconv
so I manually link vlc except at close to the end, change -L/usr/lib to

and it linked alright...but I have a few question, since vlc still has some
if I do


I get
checking sub-depends for
'/lib/libpthread.so.0'                                 checking sub-depends
for 'not found'                                            checking
sub-depends for 'not found'
checking sub-depends for
checking sub-depends for 'not
found'                                            checking sub-depends for
libpthread.so.0 => /lib/libpthread.so.0
(0x00000000)                            libdl.so.0 => not found (0x00000000)
        libm.so.0 => not found (0x00000000)
        libiconv.so.2 =>
        libc.so.0 => not found (0x00000000)
        libc.so.6 => /lib/libc.so.6 (0x00000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
why do I still have some libc.so.6 around....
and all the modules for vlc was linked with libc.so.6
and I think that's why when I start vlc, it started, then can't find some of
the modules, then exits.......

I think the linker is not detecting everything right...please let me know
where to look for. thanks


Any MicroSoft extension file will directly go to trash without any warning
and regret.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/buildroot/attachments/20080726/78702cdb/attachment-0002.htm 

More information about the buildroot mailing list