[FFmpeg-user] Building ffmpeg and libx264 on ubuntu
Alastair Mason
alabandit at gmail.com
Fri Apr 8 12:29:05 CEST 2011
Hi
I'm trying to build ffmpeg with libx264 on ubuntu 10.04. I have
followed this guide http://ubuntuforums.org/showthread.php?t=786095
but i get the following message on both the beta and the latest
version of ffmpeg:
CC libavutil/x86/cpu.o
AR libavutil/libavutil.a
CC ffmpeg.o
ffmpeg.c: In function ‘term_exit’:
ffmpeg.c:440: warning: zero-length gnu_printf format string
ffmpeg.c: In function ‘output_packet’:
ffmpeg.c:1057: warning: dereferencing pointer ‘picture2’ does break
strict-aliasing rules
ffmpeg.c:1623: note: initialized from here
CC cmdutils.o
cmdutils.c: In function ‘read_file’:
cmdutils.c:736: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
LD ffmpeg_g
/home/alastair/progs/ffmpeg/
libavcodec/libavcodec.a(libx264.o): In
function `X264_frame':
/home/alastair/progs/ffmpeg/libavcodec/libx264.c:92: undefined
reference to `x264_picture_init'
/home/alastair/progs/ffmpeg/libavcodec/libx264.c:121: undefined
reference to `x264_encoder_delayed_frames'
/home/alastair/progs/ffmpeg/libavcodec/libavcodec.a(libx264.o): In
function `X264_init':
/home/alastair/progs/ffmpeg/libavcodec/libx264.c:308: undefined
reference to `x264_encoder_open_114'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
i have used this guide a number of times before successfully.
Googled but no luck on an answer.
the .configure:
./configure --enable-gpl --enable-version3 --enable-nonfree
--enable-postproc \
--enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
--enable-libopencore-amrwb --enable-libtheora --enable-libvorbis \
--enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
Thanks for your help in advance
Alastair
More information about the ffmpeg-user
mailing list