【问题标题】:FFMpeg compilation error "Undefined symbols for architecture x86_64"FFMpeg 编译错误“架构 x86_64 的未定义符号”
【发布时间】:2011-12-23 07:37:38
【问题描述】:

我正在尝试像这样用 x264(0.120) 编译 ffmpeg (0.9.0.git)

./configure --enable-gpl --enable-libmp3lame \
   --enable-static --disable-shared --enable-libx264 \
   --enable-pthreads --disable-doc --enable-avfilter \
   --disable-ffplay --disable-ffserver --disable-ffprobe
make

我遇到以下错误:

LD  ffmpeg_g
Undefined symbols for architecture x86_64:
  "_MM_FIX_0_707106781", referenced from:
      _filter in libavfilter.a(vf_fspp.o)
  "_MM_FIX_0_541196100", referenced from:
      _filter in libavfilter.a(vf_fspp.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

知道修复可能是什么吗?

更新:可能无关,但此讨论 https://trac.macports.org/ticket/30093 表示问题是 ffmpeg 拾取 llvm 而不是 gcc-4.2,但随后这已在 0.7.4 中修复

【问题讨论】:

    标签: gcc ffmpeg x86-64


    【解决方案1】:

    This post 建议将--cc=clang 添加到解决问题的配置命令中

    【讨论】:

      猜你喜欢
      • 2017-03-03
      • 2022-06-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-24
      • 2017-02-15
      相关资源
      最近更新 更多