<div dir="ltr">Hi<br>  I am trying to build a video streaming server, and I saw vlc is in one of the package.  However, the <a href="http://vlc.mk" target="_blank">vlc.mk</a> is not complete, and I am having a little bit trouble linking the package to the toolchain...<br>

here is what I added to the <a href="http://vlc.mk" target="_blank">vlc.mk</a><br><br>VLC_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install<br>VLC_CONF_OPT =  --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \<br>                --build=$(GNU_HOST_NAME) --prefix=/usr --sysconfdir=/etc \<br>

                --disable-ffmpeg --disable-libmpeg2 --disable-wxwidgets <br><br>this is just a straight copy from blackbox<br><br>at the very last linking stage for vlc, it failed with something about libc.so.6<br>and I saw the command for linking<br>
-----------------------------------------------------------<br>/bin/sh ./libtool --tag=CC --mode=link /home/torus/src/temp/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-gcc -Os -I/home/torus/src/temp/buildroot/build_i686/staging_dir/usr/include -I/home/torus/src/temp/buildroot/build_i686/staging_dir/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/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a -L/usr/lib -lpthread -ldl -lm -liconv<br>
-----------------------------------------------------------------<br>so I manually link vlc except at close to the end, change -L/usr/lib to -L/home/torus/src/temp/buildroot/build_i686/staging_dir/lib<br><br>and it linked alright...but I have a few question, since vlc still has some problem<br>
if I do<br><br>----------------------------------------------------------------------<br>build_i686/staging_dir/usr/bin/i686-linux-ldd project_build_i686/MySling8/root/usr/bin/i686-linux-vlc<br>---------------------------------------------------------------------<br>
<br>I get <br>----------------------------------<br>checking sub-depends for '/lib/libpthread.so.0'                                 checking sub-depends for 'not found'                                            checking sub-depends for 'not found'                                            checking sub-depends for '/home/torus/src/temp/buildroot/build_i686/staging_dir/usr/lib/libiconv.so.2'                                                          checking sub-depends for 'not found'                                            checking sub-depends for '/lib/libc.so.6'                                               libpthread.so.0 => /lib/libpthread.so.0 (0x00000000)                            libdl.so.0 => not found (0x00000000)<br>
        libm.so.0 => not found (0x00000000)<br>        libiconv.so.2 => /home/torus/src/temp/buildroot/build_i686/staging_dir/usr/lib/libiconv.so.2 (0x00000000)<br>        libc.so.0 => not found (0x00000000)<br>        libc.so.6 => /lib/libc.so.6 (0x00000000)<br>
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)<br>------------------------------------------------------------------<br>why do I still have some libc.so.6 around....<br>and all the modules for vlc was linked with libc.so.6<br>
and I think that's why when I start vlc, it started, then can't find some of the modules, then exits.......<br><br>I think the linker is not detecting everything right...please let me know where to look for. thanks<br>
<br>chen<br><br><br clear="all"><br>-- <br> Any MicroSoft extension file will directly go to trash without any warning and regret.<br>
</div>