[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:14:22 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@…):
I didn't use MacPorts
but I solve this and other similar problem, at least on my Mac OS Lion
10.7.4 + FFmpeg0.11 + OpenCV2.4.0
I install FFmpeg(with other 3rd libraries) and OpenCV from sources
downloaded from official sites
It seems
"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
watch the dump message carefully after you ./configure
especially the "build system type" and "host system type"
"checking build system type ... i386-apple-XXXX"
"checking build system type ...i686-apple-XXXX"
Both are need to fix. Only x86_64 or x86_64-XXX-XXX are OK
You should let the ./configure guess first. If it guess incorrectly, then
fix.
After rebuild all libraries with ./configure --build=x86_64 or something
similar
There is no error "Undefined symbols for architecture x86_64" while
compiling OpenCV
ALL libraries such as FFmpeg (--arch=x86_64) or the libraries used by
FFmpeg SHOULD be checked and reinstall
Libraries (other than FFmpeg) used by OpenCV also need to check.
Set the architecture of OpenCV in CMake to be x86_64 is recommended but
not necessary.
--
Ticket URL: <https://trac.macports.org/ticket/30093#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list