GNOME Bugzilla – Bug 394208
Compile Error on Intel Mac OS X
Last modified: 2008-04-21 12:22:37 UTC
Please describe the problem: Running ./configure produces missing symbols error on a Mac Book Pro in OS X 10.4.8 Steps to reproduce: 1. ./configure then make (no arguments) Actual results: Produces error: /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o apiexample apiexample.o libavcodec.la gcc -g -O2 -o apiexample apiexample.o ./.libs/libavcodec.a -lz /usr/bin/ld: Undefined symbols: ff_pw_20 ff_pw_3 bone d40000 wm1010 collect2: ld returned 1 exit status Expected results: usual make Does this happen every time? Everytime Other information: Searching for symbol matches in code identified mmx code. ala http://threebit.net/mail-archive/mythtv-dev/msg02265.html ./configure --enable-mmx fixes the problem. In a related note, executing a gst application produces a non-critical error in liboil, which complains of a non-MMX architecture. Liboil then assumes that MMX exists and continues execution. Run time is not interrupted (of course) as MacBook's have Intel chips.
Those symbol issues are now fixed in the ffmpeg mirror. There was a bug in the configure.ac that caused it not to detect properly the OS, and therefore doing the mangling of those symbols wrongly. 2007-03-02 Edward Hervey <edward@fluendo.com> * ffmpeg/configure.ac: * ffmpeg/patches/autotools.patch: Properly detect Darwin OS. Unfortunately, it doesn't solve all issues, we now have : /usr/bin/ld: .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-dsputil_mmx.o has local relocation entries in non-writable section (__TEXT,__text) collect2: ld returned 1 exit status
*** Bug 437620 has been marked as a duplicate of this bug. ***
compiles fine with current head. Closing bug.