[MacPorts] #30093: ffmpeg: Undefined symbols for architecture x86_64: _MM_FIX_0_707106781 _MM_FIX_0_541196100

MacPorts noreply at macports.org
Wed Jun 13 05:21:01 PDT 2012


#30093: ffmpeg: Undefined symbols for architecture x86_64: _MM_FIX_0_707106781
_MM_FIX_0_541196100
---------------------------------+------------------------------------------
  Reporter:  conradwt@…          |       Owner:  devans@…           
      Type:  defect              |      Status:  closed             
  Priority:  Normal              |   Milestone:                     
 Component:  ports               |     Version:  1.9.2              
Resolution:  fixed               |    Keywords:  x86_64             
      Port:  ffmpeg              |  
---------------------------------+------------------------------------------

Comment(by maythe4thbewithu@…):

 Sorry for the bad typesetting. [[BR]][[BR]]

 I didn't use MacPorts[[BR]]

 but I solve this and other similar problem, at least on my Mac OS Lion
 10.7.4 + FFmpeg0.11 + OpenCV2.4.0[[BR]]

 I install FFmpeg(with other 3rd libraries) and OpenCV from sources
 downloaded from official sites[[BR]]


 It seems[[BR]]

 "SOME" of the libraries used by ffmpeg such as faac and faad are configure
 with --build=i386-XXX or --build=i686-XXX by a wrong guess[[BR]]


 watch the dump message carefully after you ./configure[[BR]]

 especially the "build system type" and "host system type"[[BR]]


     "checking build system type ... i386-apple-XXXX"[[BR]]

     "checking build system type  ...i686-apple-XXXX"[[BR]]


 Both are need to fix. Only  x86_64  or  x86_64-XXX-XXX  are OK[[BR]]


 You should let the ./configure guess first. If it guess incorrectly, then
 fix.[[BR]]


 After rebuild all libraries with ./configure --build=x86_64  or something
 similar[[BR]]

 There is no error "Undefined symbols for architecture x86_64" while
 compiling OpenCV[[BR]]



 ALL libraries such as FFmpeg (--arch=x86_64) or the libraries used by
 FFmpeg SHOULD be checked and reinstall[[BR]]

 Libraries (other than FFmpeg) used by OpenCV also need to check.[[BR]]

 Set the architecture of OpenCV in CMake to be x86_64 is recommended but
 not necessary. [[BR]]

-- 
Ticket URL: <https://trac.macports.org/ticket/30093#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list