2011-12-23 119 views
0

我試圖編譯的x264(0.120)的ffmpeg(0.9.0.git)這樣FFmpeg的編譯錯誤

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

,我遇到下面的錯誤 「適用於建築x86_64的未定義符號」:

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

回答

0

This post建議加入--cc=clang到configure命令其中修正了問題