[MPlayer-dev-eng] Error in libmpdvdkit2 in SVN compile on Mac OS X 10.3.9

Guillaume Poirier gpoirier at mplayerhq.hu
Mon Oct 30 09:26:52 CET 2006


Hi,

Ergzay wrote:
> Well I put this on mplayer-users five days ago and no one seems to want
> to respond. Forwarding it onto dev list.

Yeah, I did see your message but failed to send a msg to acknowledge
the problem. Sorry.


> MPlayer has not been able to
> compile on Mac OS X 10.3.9 since revision 20441 at 2006-10-25 08:00:00.
> If I do --disable-dvdnav (which I always have to have turned on anyway
> as this fails on Mac OS X 10.3.9) and --disable-mpdvdkit then it also
> fails with a different error. (I'm guessing MPlayer has to have dvd
> support installed.)
> 
> 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.
> When compiling latest Mplayer SVN I get this error.
> 
> 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 -I/usr/local/lib
> -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include/
> -I/usr/local/include/SDL -D_THREAD_SAFE -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 -Llibmpdvdkit2 -lmpdvdkit  libavformat/libavformat.a 
> libavcodec/libavcodec.a  libavutil/libavutil.a 
> libpostproc/libpostproc.a        -lxvidcore  -lpng -lz -lz    -lx264   
>   -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   
> -L/usr/local/lib -lcaca -lX11 -L/usr/X11R6/lib -lncurses -lncurses
> ld: libmpdvdkit2/libmpdvdkit.a(device.o) illegal reference to symbol:
> _IOIteratorNext defined in indirectly referenced dynamic library
> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
> make: *** [mplayer] Error 1

Yes, this is due to the dvdcss update made by Diego.

You can fix the problem locally by adding --extra-libs="-framework
IOKit" to your configure script.
Off course, the correct fix would be to has it added automatically
though configure, but I haven't had time to work on this yet.

Guillaume



More information about the MPlayer-dev-eng mailing list