After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 394208 - Compile Error on Intel Mac OS X
Compile Error on Intel Mac OS X
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.2
Other All
: Normal major
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 437620 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-01-08 12:08 UTC by Vijay Santhanam
Modified: 2008-04-21 12:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vijay Santhanam 2007-01-08 12:08:26 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.
Comment 1 Edward Hervey 2007-03-02 13:08:57 UTC
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
Comment 2 Tim-Philipp Müller 2007-05-11 07:48:02 UTC
*** Bug 437620 has been marked as a duplicate of this bug. ***
Comment 3 Edward Hervey 2008-04-21 12:22:37 UTC
compiles fine with current head. Closing bug.