[MPlayer-advusers] Mplayer fails to compile on Mac OS X
Ergzay
ergzay at gmail.com
Tue Nov 21 19:20:33 CET 2006
I have gcc 3.3, ld cctools-525.obj~1, and make 3.79 all runnning on Mac
OS X 10.3.9 on a 1.2 Ghz iBook G4.
Mplayer fails to compile with the output below.
configure and make line:
./configure --with-extralibdir=/usr/local/lib:/usr/X11R6/lib
--with-extraincdir=/usr/local/include:/usr/X11R6/include
--disable-dvdnav && make
cc -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 input/libinput.a
libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a
stream/stream.a libswscale/libswscale.a libvo/libosd.a osdep/libosdep.a
libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a
libpostproc/libpostproc.a mp3lib/libMP3.a liba52/liba52.a
libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a
dvdread/libdvdread.a libdvdcss/libdvdcss.a libass/libass.a
-L/usr/local/lib -lXext -lX11 -lXv -lXinerama -lXxf86vm -laa
-L/usr/local/lib -lcaca -lX11 -L/usr/X11R6/lib -lncurses -lncurses
-L/usr/local/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL
-lx264 -L/usr/local/lib -L/usr/X11R6/lib -liconv -lncurses
-framework Carbon -framework QuickTime -framework CoreAudio -framework
AudioUnit -framework AudioToolbox -framework Cocoa -framework
QuartzCore -framework OpenGL -lpng -lz -framework IOKit -lz -lxvidcore
-lm -lm -L/usr/local/lib -lfreetype -lz -lfontconfig
ld: Undefined symbols:
_glXChooseVisual
_glXGetConfig
_glXCreateContext
_glXDestroyContext
_glXMakeCurrent
_glXSwapBuffers
make: *** [mplayer] Error 1
Ergzay
More information about the MPlayer-advusers
mailing list