[FFmpeg-user] FFmpeg fails to build after upgrading libx264 to version 125
Rodney Baker
rodney.baker at iinet.net.au
Mon Aug 13 17:30:02 CEST 2012
Hi all. Last week I updated x264 to the latest git version (libx264.so.125 is
the new version). Ever since then FFmpeg has failed to build, erroring out as
follows:
[...]
LD ffplay_g
LD ffmpeg_g
LD ffprobe_g
libavcodec/libavcodec.a(libx264.o): In function `X264_init':
/usr/local/src/ffmpeg/libavcodec/libx264.c:492: undefined reference to
`x264_encoder_open_124'
collect2: ld returned 1 exit status
make: *** [ffplay_g] Error 1
make: *** Waiting for unfinished jobs....
libavcodec/libavcodec.a(libx264.o): In function `X264_init':
/usr/local/src/ffmpeg/libavcodec/libx264.c:492: undefined reference to
`x264_encoder_open_124'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
libavcodec/libavcodec.a(libx264.o): In function `X264_init':
/usr/local/src/ffmpeg/libavcodec/libx264.c:492: undefined reference to
`x264_encoder_open_124'
collect2: ld returned 1 exit status
make: *** [ffprobe_g] Error 1
make error - please check your work
I tried checking the sources but I can't find where it is getting this
reference to 'x264_encoder_open_124'. Should that not be referring to
x264_encoder_open_125 now that libx264 is updated?
x264 was updated via git pull, built from source (with --enable-shared --
prefix=/usr) and installed with 'sudo make install' prior to updating FFmpeg
(again from git).
Any hints? I'd submit a patch (if needed) if I knew where to look and what to
fix.
The relevant line says;
x4->enc = x264_encoder_open(&x4->params);
...but the &x4->params is french to me - where does that get its reference to
the appropriate libx264 version that it should be looking for? Searching for
'124' in libx264.c hasn't helped.
Thanks.
--
==========================================================================
Rodney Baker VK5ZTV
rodney.baker at iinet.net.au
==========================================================================
More information about the ffmpeg-user
mailing list