[MPlayer-dev-eng] [PATCH] MacOS X build weirdness
Tim Wojtulewicz
timwoj at ieee.org
Wed Apr 26 02:25:06 CEST 2006
On Apr 25, 2006, at 4:02 AM, Nicolas Plourde wrote:
>
> On 25-Apr-06, at 4:23 AM, Chris Roccati wrote:
>
>>
>> On 24 Apr 2006, at 23:54 , Nicolas Plourde wrote:
>>> It would be nice to have both x11 and vo_macosx together, I
>>> usualy disable x11 to work around this
>>
>> so, happens to you too?
>>
>
> Yes, should happen to everyone with the x11 sdk installed.
>
cc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -mcpu=7450 -
mtune=7450 -faltivec -D__APPLE_ALTIVEC__ -pipe -ffast-math -fomit-
frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -
DCONFIG_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I. -I/usr/X11R6/include -I/usr/X11R6/
include/freetype2 -I/usr/X11R6/include -I./libavutil -I./
libavcodec -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o
codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o
m_struct.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o
subreader.o vobsub.o unrarlib.o mixer.o parser-mpcmd.o subopt-
helper.o libvo/libvo.a libao2/libao2.a libmpcodecs/
libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a input/
libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -
lmpdvdkit libavcodec/libavcodec.a libavformat/libavformat.a
libavutil/libavutil.a libavcodec/libpostproc/libpostproc.a -
lmad -lz -L/usr/X11R6/lib -lfreetype -lncurses -
framework Carbon -framework QuickTime -framework CoreAudio -framework
AudioUnit -framework AudioToolbox -framework Cocoa -framework
QuartzCore -framework OpenGL libfaad2/libfaad2.a mp3lib/
libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a
-lGL -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -
lX11 -liconv -lm
/usr/bin/ld: warning 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.dylib(dri_dispatch.o) definition of
_glPointParameteri
/usr/bin/ld: warning 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.dylib(dri_dispatch.o) definition of
_glPointParameteriv
That's what I get for the line you're having problems with. Mine
come up as warnings though and so they don't stop the compilation.
This is on a dual G4 running 10.4.6 and the latest XCode (downloaded
this morning). I have the X11 package installed.
It does pull an OpenGL library from both the OpenGL framework and the
X11 libraries, but the compiler (at least here) doesn't seem to mind
that much. Did you have any extra configure parameters? This was
with a straight configure without any extra parameters.
Tim
More information about the MPlayer-dev-eng
mailing list