[MPlayer-users] Problems compiling mplayer CVS on Mac OS X 10.4.5 with Xcode 2.2.1

Josep Quereda josep at infodreams.com
Tue Feb 21 21:42:13 CET 2006


I'm trying to compile the CVS version of mplayer with these options:

configure
--with-extraincdir=/sw/include/:/usr/local/include/:/usr/include/
--with-extralibdir=/usr/local/lib/:/sw/lib/:/usr/lib/ --enable-crash-debug
--enable-macosx-finder-support --enable-macosx-bundle --enable-menu
--disable-tv --enable-largefiles

When it finishes, i run a make command...

After a while, it stops compiling with this error:

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/ -I.    -I/sw/include/
-I/usr/local/include/ -I/usr/include/ -I/usr/X11R6/include  
-I/usr/local/include/freetype2 -I/usr/local/include  -I/sw/include/SDL
-D_THREAD_SAFE -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o
mplayer mplayer.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
libmenu/libmenu.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 -ldv    -lmp3lame  -lxvidcore 
 -lz -ljpeg       -L/usr/local/lib -lfreetype -lz -lncurses    -lgif   
-L/usr/X11R6/lib -lfontconfig      libfaad2/libfaad2.a  mp3lib/libMP3.a
liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a  -laa -lGL  
-lXv  -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11    -L/sw/lib
-lSDLmain -lSDL -framework Cocoa -framework OpenGL         -L/sw/lib -ldl
-lartsc -lpthread -L/sw/lib -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
-liconv -L/sw/lib -lesd -laudiofile -lm       -L/usr/local/lib/ -L/sw/lib/
-L/usr/lib/    -liconv -lintl -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
/usr/bin/ld: warning multiple definitions of symbol _aa_render
/sw/lib/libaa.dylib(aarender.lo) definition of _aa_render
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics(single
module) definition of _aa_render
/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 suggest use of -bind_at_load, as lazy binding may
result in errors or different symbols being used
/usr/bin/ld: Undefined symbols:
_QuitApplicationEventLoop
_RunApplicationEventLoop
symbol _glPointParameteri used from dynamic library
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o)
not from earlier dynamic library
/usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glPointParameteriv used from dynamic library
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o)
not from earlier dynamic library
/usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
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)
symbol _locale_charset used from dynamic library
/sw/lib/libiconv.dylib(localcharset.o) not from earlier dynamic library
/sw/lib/libintl.1.dylib(localcharset.lo)
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

What can I do to fix this issue?

Thanks.

Josep.





More information about the MPlayer-users mailing list