[FFmpeg-user] 1.0 build error:

Dennis mediastream at gmail.com
Thu Oct 11 22:05:23 CEST 2012


Hi,

Need some assistance building FFmpeg 1.0:

LD_LIBRARY_PATH=/lib64:/usr/lib64:/lib:/usr/lib:/usr/local/lib:/home/user02/010_64/lib
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/user02/bin:/home/user02/010_64/lib:/home/user02/010_64/include:/lib64:/usr/lib64:/lib:/usr/lib:/usr/local/lib
PKG_CONFIG_PATH=/home/user02/010_64/lib/pkgconfig

LDFLAGS="-L/home/user02/010_64/lib -L/usr/lib64 -L/lib64 -static"
CFLAGS=-I/home/user02/010_64/include/ ./configure
--prefix=/home/user02/010_64 --enable-static --enable-postproc --enable-gpl
--enable-avfilter --enable-libx264  --enable-libxvid --enable-libmp3lame
--enable-nonfree --enable-swscale --enable-runtime-cpudetect
--disable-devices   --disable-avdevice --enable-libfaac
--extra-ldflags=-static --disable-shared --enable-bzlib --enable-zlib
--extra-libs='-lx264 -lfaac  -lxvidcore -lmp3lame  -lm -lbz2 -lz -lpthread
-lvpx' --disable-encoder=libgsm --disable-decoder=libgsm --disable-doc
--enable-libvpx --disable-encoder=ass --disable-demuxer=ass
--disable-muxer=ass --disable-decoder=ass





make
...

LD      ffserver_g
ffserver.o: In function `load_module':
/user02/ffmpeg-1.0/ffserver.c:3929: warning: Using 'dlopen' in statically
linked applications requires at runtime the shared libraries from the glibc
version used for linking
ffserver.o: In function `resolve_host':
/user02/ffmpeg-1.0/ffserver.c:346: warning: Using 'getaddrinfo' in
statically linked applications requires at runtime the shared libraries
from the glibc version used for linking
/usr/lib64/libpthread.a(libpthread.o): In function `sem_open':
(.text+0x764d): warning: the use of `mktemp' is dangerous, better use
`mkstemp'
/usr/local/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer
equality in `/usr/lib64/libc.a(strcmp.o)' can not be used when making an
executable; recompile with -fPIE and relink with -pie
collect2: ld returned 1 exit status
make: *** [ffserver_g] Error 1

Thank you.
Dennis.


More information about the ffmpeg-user mailing list