[MPlayer-users] MPlayer CVS compile fails on libgif.4.dyld (OS X)

Ergzay ergzay at everyoneproductions.com
Tue Oct 18 08:28:32 CEST 2005


On 2005/10/17, at 18:09, Kichigai Mentat wrote:
> Hello. I'm attempting to compile MPlayer CVS on my Mac OS X machine  
> (OS X Tiger 10.4.2). The error I have received is below:
>
> tenshi:/Users/ivan/Downloads/compile/mp-cvs/main root# make
> 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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
> -I/sw/include/ -I/usr/local/include/ -I/usr/include/  -std=gnu99 -I.    
>  -I/sw/include/ -I/usr/local/include/ -I/usr/include/   
> -I/usr/X11R6/include   -I/usr/X11R6/include  
> -I/usr/X11R6/include/freetype2  -I/sw/include/SDL -D_THREAD_SAFE  
> -I/usr/X11R6/include   -o mencoder mencoder.o mp_msg-mencoder.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 divx4_vbr.o  
> libvo/aclib.o libvo/font_load.o libvo/font_load_ft.o libvo/osd.o  
> libvo/sub.o parser-mecmd.o xvid_vbr.o  libmpcodecs/libmpencoders.a  
> -lmp3lame  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  -lmad -ldv -ltheora -logg  -llzo -lmp3lame   
> -lxvidcore -lm  -lpng -lz -lz -ljpeg   -lx264 -lm     - -lfaac   
> -L/usr/X11R6/lib -lfreetype -ltermcap    -lgif -framework Carbon  
> -framework QuickTime -framework CoreAudio -framework AudioUnit -  
> -framework AudioToolbox -framework Cocoa -framework QuartzCore  
> -framework OpenGL   -L/usr/X11R6/lib -lfontconfig      
> libfaad2/libfaad2.a  mp3lib/libMP3.a liba52/liba52.a  
> libmpeg2/libmpeg2.a tremor/libvorbisidec.a -L/sw/lib/ -L/sw/share/lib/  
> -L/usr/lib/ -L/usr/local/lib/    -liconv -lintl -lm
> /usr/bin/ld: warning multiple definitions of symbol _locale_charset
> /sw/lib//libiconv.dylib(localcharset.o) definition of _locale_charset
> /sw/lib//libintl.dylib(localcharset.lo) definition of _locale_charset
> /usr/bin/ld: warning multiple definitions of symbol _put_string
> libavcodec/libavcodec.a(bitstream.o) definition of _put_string in  
> section (__TEXT,__text)
> /usr/lib//libm.dylib(dnssd_ipc.o) definition of _put_string
> /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may  
> result in errors or different symbols being used
> /usr/bin/ld: Undefined symbols:
> _XAllocNamedColor
> _XAllocSizeHints
> _XCreateColormap
> _XCreateImage
> _XCreateWindow
> _XDrawLine
> _XDrawPoint
> _XDrawRectangle
> _XFree
> _XMapWindow
> _XNextEvent
> _XOpenDisplay
> _XPutImage
> _XResizeWindow
> _XSelectInput
> _XSetForeground
> _XSetStandardProperties
> _XSync
> symbol _DrawText used from dynamic library  
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
> Frameworks/QD.framework/Versions/A/QD(QD.o) not from earlier dynamic  
> library /sw/lib/libgif.4.dylib(gif_font.lo)
> collect2: ld returned 1 exit status
> make: *** [mencoder] Error 1

A guess at the problem (but I most likely am incorrect), do you have  
X11 installed? Because its calling all the _X* undefined symbols and I  
think those are from X11.
What options did you use for ./configure and could you also paste that.

Ergzay




More information about the MPlayer-users mailing list