[MPlayer-dev-eng] Latest SVN (r21611) not compiling under OS X (PPC & Intel)

Guillaume POIRIER poirierg at gmail.com
Thu Dec 14 16:45:29 CET 2006


Hi,

On 12/14/06, Mohammad A. Haque <mhaque at haque.net> wrote:
> Anyone else having the following error compiling under OS X (both PPC
> and Intel): (straight ./configure and configure.log attached)
>
> cc -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 parser-mecmd.o xvid_vbr.o libmpcodecs/
> libmpencoders.a libmpdemux/libmpmux.a libmpcodecs/libmpcodecs.a libaf/
> libaf.a libmpdemux/libmpdemux.a stream/stream.a libswscale/
> libswscale.a libvo/libosd.a libavformat/libavformat.a libavcodec/
> libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a loader/
> libloader.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a
> libfaad2/libfaad2.a tremor/libvorbisidec.a dvdread/libdvdread.a
> libdvdcss/libdvdcss.a osdep/libosdep.a  -L/usr/local/lib -liconv -
> lncurses -framework Carbon -framework QuickTime -framework CoreAudio -
> framework AudioUnit -framework AudioToolbox -framework Cocoa -
> framework QuartzCore -framework OpenGL -framework IOKit -L/usr/X11R6/
> lib -lfreetype -lfontconfig  -lz      -lm
> /usr/bin/ld: warning multiple definitions of symbol _LoadResource
> loader/libloader.a(resource.o) definition of _LoadResource in section
> (__TEXT,__text)
> /System/Library/Frameworks/CoreServices.framework/Versions/A/
> Frameworks/CarbonCore.framework/Versions/A/CarbonCore
> (ProjectBuilderMasterObjectFile.o) definition of _LoadResource
> /usr/bin/ld: Undefined symbols:
> _XCloseDisplay
> _XDefaultScreen
> _XGetImage
> _XOpenDisplay
> _XQueryPointer
> _XShmAttach
> _XShmCreateImage
> _XShmDetach
> _XShmGetImage
> _XShmQueryExtension
> __XFlush
> __XReadPad
> __XReply


Does this patch fix your problem?:
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-December/048191.html

-- 
An association of men who will not quarrel with one another is a thing
which has never yet existed, from the greatest confederacy of nations
down to a town meeting or a vestry.
 -- Thomas Jefferson
(when interviewed about MPlayer ML flamewars)
http://www.brainyquote.com/quotes/quotes/t/thomasjeff157207.html



More information about the MPlayer-dev-eng mailing list