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

Chris Roccati roccati at pobox.com
Tue Apr 25 11:50:21 CEST 2006


On 24 Apr 2006, at 21:36 , The Wanderer wrote:

> Unfortunately, this does not seem to be complete to me - it is lacking
> the make-generated command line which produced this error.  
> Sometimes it
> can be useful to know exactly what command failed.
>
> The usual principle, in my experience, is to provide both the final
> command line which make generated (the one which produced the failure)
> and *all* of the other lines whch got printed after that line before
> make exited.
>

Here it is, from prompt to prompt:

----%<----------
dueperdue$ make

cc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -mcpu=970 - 
mtune=970 -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./ 
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            
-lz         -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: 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)

collect2: ld returned 1 exit status

make: *** [mplayer] Error 1

dueperdue$
----%<-------





More information about the MPlayer-dev-eng mailing list