[MPlayer-dev-eng] MPlayer compliling bug on Mac OS X using libdvdnav

Ergzay ergzay at gmail.com
Thu Oct 5 09:44:48 CEST 2006


I have fontconfig version 1.0.1, freetype 2.1.10, 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.
I also am using libdvdnav cvs version (I couldn't find any other 
version, if it exists).
It compiles perfectly fine when not using libdvdnav.

cc -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer 
-faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-loops=16 
-DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -DCONFIG_DARWIN 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-I/usr/local/lib -I/usr/X11R6/include -I/usr/X11R6/include 
-I/usr/local/include/SDL -D_THREAD_SAFE -I/usr/local/include 
-I/usr/local/include/dvdnav -I/usr/local/include/freetype2 
-I/usr/local/include -I.  -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 input/libinput.a   libmpcodecs/libmpcodecs.a  
libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a 
libswscale/libswscale.a osdep/libosdep.a -L/usr/local/lib 
-L/usr/X11R6/lib  -L/usr/local/lib -ldvdnav -lpthread 
libavformat/libavformat.a  libavcodec/libavcodec.a  
libavutil/libavutil.a  libpostproc/libpostproc.a           -lpng -lz 
-lz         -lncurses       -framework Carbon -framework QuickTime 
-framework CoreAudio -framework AudioUnit -framework AudioToolbox 
-framework Cocoa -framework QuartzCore -framework OpenGL      -liconv 
-lm    libfaad2/libfaad2.a  mp3lib/libMP3.a liba52/liba52.a 
libmpeg2/libmpeg2.a tremor/libvorbisidec.a libass/libass.a -lfontconfig 
-L/usr/local/lib -lfreetype -lz  -lGL   -lXv  -lXxf86vm -lXinerama  
-lXext -lX11    -L/usr/local/lib -lSDLmain -lSDL -framework Cocoa 
-framework OpenGL
ld: Undefined symbols:
_UDFFindFile
make: *** [mplayer] Error 1

Ergzay




More information about the MPlayer-dev-eng mailing list