-
make fails when building with libx264 – osX
I’m building the 0.9 version of ffmpeg, on os X 10.6.8, and I can’t get it to compile with libx264. During the configure I get an error
ERROR: libx264 version must be >= 0.118but I have libx264 0.120 installed, pulled off the x264 git repository today.
$ x264 -V
x264 0.120.x
(libswscale 2.0.0)
(libavformat 53.6.0)
built on Dec 28 2011, gcc: 4.2.1 (Apple Inc. build 5666) (dot 3)
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
libswscale/libavformat license: GPL version 2
I tried commenting out the line in the configure script that checks the version, and it compiled without any further errors, but when I ran make it died when it started doing x264 stuff:libavcodec/libx264.c: In function ‘convert_pix_fmt’:
libavcodec/libx264.c:258: error: ‘X264_CSP_I422’ undeclared (first use in this function)
libavcodec/libx264.c:258: error: (Each undeclared identifier is reported only once
libavcodec/libx264.c:258: error: for each function it appears in.)
libavcodec/libx264.c:261: error: ‘X264_CSP_I444’ undeclared (first use in this function)
libavcodec/libx264.c: In function ‘X264_init’:
libavcodec/libx264.c:318: warning: ‘crf’ is deprecated (declared at libavcodec/avcodec.h:2667)
libavcodec/libx264.c:320: warning: ‘crf’ is deprecated (declared at libavcodec/avcodec.h:2667)
libavcodec/libx264.c:321: warning: ‘crf_max’ is deprecated (declared at libavcodec/avcodec.h:3059)
libavcodec/libx264.c:322: warning: ‘cqp’ is deprecated (declared at libavcodec/avcodec.h:2675)
libavcodec/libx264.c:324: warning: ‘cqp’ is deprecated (declared at libavcodec/avcodec.h:2675)
libavcodec/libx264.c:357: warning: the address of ‘val’ will always evaluate as ‘true’
libavcodec/libx264.c:364: warning: ‘aq_mode’ is deprecated (declared at libavcodec/avcodec.h:3018)
libavcodec/libx264.c:365: warning: ‘aq_mode’ is deprecated (declared at libavcodec/avcodec.h:3018)
libavcodec/libx264.c:366: warning: ‘aq_strength’ is deprecated (declared at libavcodec/avcodec.h:3026)
libavcodec/libx264.c:367: warning: ‘aq_strength’ is deprecated (declared at libavcodec/avcodec.h:3026)
libavcodec/libx264.c:368: warning: ‘psy_rd’ is deprecated (declared at libavcodec/avcodec.h:3034)
libavcodec/libx264.c:369: warning: ‘psy_rd’ is deprecated (declared at libavcodec/avcodec.h:3034)
libavcodec/libx264.c:370: warning: ‘psy_trellis’ is deprecated (declared at libavcodec/avcodec.h:3042)
libavcodec/libx264.c:371: warning: ‘psy_trellis’ is deprecated (declared at libavcodec/avcodec.h:3042)
libavcodec/libx264.c:372: warning: ‘rc_lookahead’ is deprecated (declared at libavcodec/avcodec.h:3050)
libavcodec/libx264.c:373: warning: ‘rc_lookahead’ is deprecated (declared at libavcodec/avcodec.h:3050)
libavcodec/libx264.c:374: warning: ‘weighted_p_pred’ is deprecated (declared at libavcodec/avcodec.h:3008)
libavcodec/libx264.c:375: warning: ‘weighted_p_pred’ is deprecated (declared at libavcodec/avcodec.h:3008)
libavcodec/libx264.c:376: warning: ‘bframebias’ is deprecated (declared at libavcodec/avcodec.h:2705)
libavcodec/libx264.c:377: warning: ‘bframebias’ is deprecated (declared at libavcodec/avcodec.h:2705)
libavcodec/libx264.c:378: warning: ‘deblockalpha’ is deprecated (declared at libavcodec/avcodec.h:2729)
libavcodec/libx264.c:379: warning: ‘deblockalpha’ is deprecated (declared at libavcodec/avcodec.h:2729)
libavcodec/libx264.c:380: warning: ‘deblockbeta’ is deprecated (declared at libavcodec/avcodec.h:2737)
libavcodec/libx264.c:381: warning: ‘deblockbeta’ is deprecated (declared at libavcodec/avcodec.h:2737)
libavcodec/libx264.c:382: warning: ‘complexityblur’ is deprecated (declared at libavcodec/avcodec.h:2721)
libavcodec/libx264.c:383: warning: ‘complexityblur’ is deprecated (declared at libavcodec/avcodec.h:2721)
libavcodec/libx264.c:384: warning: ‘directpred’ is deprecated (declared at libavcodec/avcodec.h:2756)
libavcodec/libx264.c:385: warning: ‘directpred’ is deprecated (declared at libavcodec/avcodec.h:2756)
libavcodec/libx264.c:386: warning: ‘partitions’ is deprecated (declared at libavcodec/avcodec.h:2744)
libavcodec/libx264.c:387: warning: ‘partitions’ is deprecated (declared at libavcodec/avcodec.h:2744)
libavcodec/libx264.c:389: warning: ‘partitions’ is deprecated (declared at libavcodec/avcodec.h:2744)
libavcodec/libx264.c:391: warning: ‘partitions’ is deprecated (declared at libavcodec/avcodec.h:2744)
libavcodec/libx264.c:393: warning: ‘partitions’ is deprecated (declared at libavcodec/avcodec.h:2744)
libavcodec/libx264.c:395: warning: ‘partitions’ is deprecated (declared at libavcodec/avcodec.h:2744)
libavcodec/libx264.c:537: warning: ‘crf’ is deprecated (declared at libavcodec/avcodec.h:2667)
make: *** [libavcodec/libx264.o] Error 1
I can compile without -enable-libx264, my configure line looks like:
/configure --enable-gpl --enable-nonfree --enable-frei0r.
--enable-libaacplus --enable-libfaac --enable-libmp3lame
--enable-libtheora --enable-libnut --enable-libaacplus
--enable-libx264Anyone have nay ideas about what is going on? Thanks.