[FFmpeg-trac] #353(build system:open): Failed compiling FFmpeg in OS X 10.6.8

FFmpeg trac at avcodec.org
Tue May 22 14:43:17 CEST 2012


#353: Failed compiling FFmpeg in OS X 10.6.8
-------------------------------------+-------------------------------------
             Reporter:  joao         |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  build
              Version:  git-master   |  system
             Keywords:  compile      |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by pigoz):

 I'm having the same issue when compiling mplayer and mplayer2 with llvm-
 gcc-4.2.1 on Mac OS 10.7.

 {{{
 ./version.sh
 CC      libmpcodecs/vf_fspp.o
 CC      mplayer
 Undefined symbols for architecture x86_64:
   "_MM_FIX_0_707106781", referenced from:
       _filter in vf_fspp.o
   "_MM_FIX_0_541196100", referenced from:
       _filter in vf_fspp.o
 ld: symbol(s) not found for architecture x86_64
 collect2: ld returned 1 exit status
 make: *** [mplayer] Error 1
 }}}

 I was going going to make a patch to mplayer, but I realized it could be
 better to fix the problem directly in ffmpeg when I found this bug report.

 I ran some tests and it looks like both removing the {{{static}}}
 completely, or adding {{{__private_extern__ }}} in it's place are working.

 At the moment for the {{{#if}}} I'm using {{{ #elif defined(__APPLE__) &&
 defined(__llvm__) && defined(__GNUC__) }}} which seems to work ok.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/353#comment:12>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list