[MPlayer-dev-eng] [PATCH] MacOS X build weirdness
Chris Roccati
roccati at pobox.com
Mon Apr 24 12:30:46 CEST 2006
From: Chris Roccati <rratboy at pobox.com>
Date: 24 April 2006 11:28:37 GMT+02:00
To: mplayer-dev-eng at mplayerhq.hu
Subject: [PATCH] MacOS X build weirdness
Hello,
something weird must have happened:
when trying to build for MacOS X (PPC) 10.4.x with the default
configuration (provided by ./configure), the link phase fails with
the following error:
/usr/bin/ld: multiple definitions of symbol _glPointParameteri
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib(gll_api.o) definition of _glPointParameteri
/usr/X11R6/lib/libGL.a(dri_dispatch.o) definition of
_glPointParameteri in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _glPointParameteriv
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib(gll_api.o) definition of _glPointParameteriv
/usr/X11R6/lib/libGL.a(dri_dispatch.o) definition of
_glPointParameteriv in section (__TEXT,__text)
This seems to be due to the fact that the default MPlayer binary
tries to be both a Quartz application AND a X11 application - if this
actualy makes any sense is left as an exercise for the reader... I
don't recall this happening before (but I built MPlayer from CVS last
time in november); by manually disabling X11, obviously, everything
builds fine.
The following patch simply disables X11 support if building under
MacOS X.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: macosx_x11.patch
Type: application/octet-stream
Size: 363 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060424/23099cbf/attachment.obj>
-------------- next part --------------
More information about the MPlayer-dev-eng
mailing list