[FFmpeg-user] issue with mac os x 10.6.8 libx264 during 'make' command

Tom Evans tevans.uk at googlemail.com
Wed Mar 6 18:35:57 CET 2013


On Wed, Mar 6, 2013 at 5:19 PM, Paul Sturbaum <psturbs at gmail.com> wrote:
> I built ffmpeg with libx264 before on this machine but I am trying to do it again and libx264 fails during 'make'.
> after I follow the directions from http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20quickly%20compile%20libx264 but during 'make' I get:
>
> ranlib libx264.a
> gcc -o x264  x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/avs.o input/thread.o input/lavf.o libx264.a -ldl -L. -lavformat -lpostproc -lavcodec -lswscale -lavutil -lm -lz -lbz2 -lpthread -lswscale -lavutil  -m64  -lm -arch x86_64 -lpthread
> Undefined symbols:
>   "_xvid_plugin_2pass2", referenced from:
>       _xvid_encode_init in libavcodec.a(libxvid.o)
>       _ff_xvid_rate_control_uninit in libavcodec.a(libxvid_rc.o)
>       _ff_xvid_rate_estimate_qscale in libavcodec.a(libxvid_rc.o)
>       _ff_xvid_rate_estimate_qscale in libavcodec.a(libxvid_rc.o)
>       _ff_xvid_rate_control_init in libavcodec.a(libxvid_rc.o)
>   "_xvid_plugin_single", referenced from:
>       _xvid_encode_init in libavcodec.a(libxvid.o)
>   "_xvid_plugin_lumimasking", referenced from:
>       _xvid_encode_init in libavcodec.a(libxvid.o)
>   "_xvid_encore", referenced from:
>       _xvid_encode_close in libavcodec.a(libxvid.o)
>       _xvid_encode_frame in libavcodec.a(libxvid.o)
>       _xvid_encode_init in libavcodec.a(libxvid.o)
>   "_xvid_global", referenced from:
>       _xvid_encode_init in libavcodec.a(libxvid.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [x264] Error 1
>
> I would do this in addition to volunteering for helping on, "compilation with --enable-iconv (using #define iconv_open libiconv_open if necessary)", as requested by Carl Eugen.  (Whom I am very greatful for helping with my previous issue building ffmpeg on this box)
>

This is off topic - x264 is a separate, unrelated, project.

However, the issue you have is that you have told it to build with
ffmpeg support, and not told it what extra libraries ffmpeg needs.

The whole thing - building x264 with ffmpeg support and ffmpeg with
x264 support - is sort of a chicken/egg problem. Don't do that, build
x264 without ffmpeg.

Cheers

Tom


More information about the ffmpeg-user mailing list