[vlc-devel] Build 0.9 undefined symbol
yh
jupiter.hce at gmail.com
Tue Aug 26 00:53:54 CEST 2008
On 2008-08-24 14:04+0200, Antoine Cellerier wrote:
>On Sun, Aug 24, 2008, yh wrote:
>> I downloaded and built the latest ffmpeg from ffmpeg svn source tree. Is it
>> the problem? Where is the distro's ffmpeg, could you please point me
>> an url?
>
>Latest ffmpeg should work fine (at least it does here). Here are my
>build scripts in case you want to compare with yours:
>http://people.videolan.org/~dionoea/config/
Thanks Antoine for your configurations. My one is similar to yours. I have to
set --disable-demuxer=v4l --disable-demuxer=v4l2, otherwise the ffmpeg
could not be compiled. Are you able to compile the current ffmpeg
without those set? I don't have your sed command and ldflags. I added it
to mine's, but the sed command had an error "could not find *.pc".
But I still got the underfined symbols. Please correct me if my following
FFMPEG build.sh and VLC build.sh have any wrong set up. I am running
on Acer Aspire 5920 laptop CentOS 5.2.
FFMPEG build.sh
#!/bin/sh
./configure --prefix=/home/project/work/Tools/Media/Ffmpeg/Install --enable-gpl --enable-postproc --disable-ffplay --disable-ffserver --enable-pthreads --disable-bzlib --enable-swscale --disable-demuxer=v4l --disable-demuxer=v4l2 --extra-cflags=-I/home/project/work/Tools/Media/Ffmpeg/Install/include --extra-ldflags=-L/home/project/work/Tools/Media/Ffmpeg/Install/lib $*
sed -i 's/(PREFIX)/{prefix}/' *.pc
make -j2
make install
/home/project/work/Tools/Media/Ffmpeg/Install/lib/pkconfig/libavutil.pc:
prefix=/home/project/work/Tools/Media/Ffmpeg/Install
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: libavutil
Description: FFmpeg utility library
Version: 49.10.0
Requires:
Requires.private:
Conflicts:
Libs: -L${libdir} -lavutil
Libs.private:
Cflags: -I${includedir}
VLC build.sh:
#!/bin/sh
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/project/work/project/MediaPlayer/0.9/Install/lib/pkgconfig:/home/project/work/Tools/Media/Ffmpeg/Install/lib/pkgconfig
\
./configure --prefix=/home/project/work/project/MediaPlayer/0.9/Install --enable-ffmpeg --enable-faad --with-faad-tree=/home/project/work/Tools/Media/Faad2/faad2 --with-ffmpeg-zlib --disable-mad --enable-real --enable-libmpeg2 --with-libmpeg2-tree=/home/project/work/Tools/Media/Libmpeg2/libmpeg2-0.5.1 --with-dvbpsi=/home/project/work/Tools/Media/Libdvbpsi/Install --with-live555-tree=/home/project/work/Tools/Media/Live555/live --enable-live555 --disable-wxwidgets --disable-skins2 --disable-a52 --enable-debug
make -j2
make install
>Antoine Cellerier
>dionoea
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>http://mailman.videolan.org/listinfo/vlc-devel
--
More information about the vlc-devel
mailing list