[FFmpeg-user] SOLVED: FFmpeg fails to build after upgrading libx264 to version 125

Rodney Baker rodney.baker at iinet.net.au
Mon Aug 13 17:56:14 CEST 2012


On Tue, 14 Aug 2012 01:00:02 Rodney Baker wrote:
> 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
> 
Never mind - I found a rogue copy of x264.h from build 124 hiding in 
/usr/local/include which was being picked up in preference to the version from 
build 125 in /usr/include. When I built 124 I must have missed the --prefix 
parameter for configure. This time it built correctly. :-)



-- 
==========================================================================
Rodney Baker VK5ZTV
rodney.baker at iinet.net.au
==========================================================================


More information about the ffmpeg-user mailing list