[MPlayer-dev-eng] [PATCH] MacOS X build weirdness

Jan Paul Schmidt jps at fundament.org
Mon Apr 24 13:52:26 CEST 2006


On Mon, Apr 24, 2006 at 12:30:46PM +0200, Chris Roccati wrote:

> 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 does not look like the complete output to me. If compilation really
fails during linking, you should use

	make distclean

before compiling, so no old files lay around. Or try a new clean
checkout from CVS.

If compilation does not fail, it is one of this linker warning you can
ignore.

> 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...

How should MPlayer know, you don't want X11? Quartz does not imply no
X11 for me. But yes, it probably only makes sense for a developer to
compare output systems.

> 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.

Things have changed since November ;o)

jps




More information about the MPlayer-dev-eng mailing list