[MPlayer-users] problems compiling mplayer on macosX.4.9 intel

Guillaume POIRIER poirierg at gmail.com
Sun Mar 25 17:58:08 CEST 2007


Hi,

On 3/24/07, Alexander Wehr <plasmacutter at gmail.com> wrote:
> So.. i've been compiling from source every 3 months or so for the
> past year and a half, and while i always ran into problems i seem to
> have been able to figure out what to disable.  in this case however
> i'm having some trouble, and looking for advice.
>
> here is the final compiler argument and error output from my console:
>
> cc -o mplayer mplayer.o m_property.o mp_msg.o mixer.o parser-mpcmd.o
> subopt-helper.o command.o asxparser.o codec-cfg.o cpudetect.o edl.o
> find_sub.o m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o
> playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o
> unrarlib.o libvo/libvo.a libao2/libao2.a input/libinput.a libmpcodecs/
> libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a
> libavutil/libavutil.a libswscale/libswscale.a libvo/libosd.a
> libavformat/libavformat.a libavcodec/libavcodec.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 osdep/libosdep.a -lXext -lX11 -lXv -lXinerama -
> lXxf86vm -framework OpenAL -L/usr/X11R6/lib  -L/usr/local/lib  -
> liconv -lncurses -framework Carbon -framework QuickTime -framework
> CoreAudio -framework AudioUnit -framework AudioToolbox -framework
> Cocoa -framework QuartzCore -framework OpenGL -framework IOKit -
> lz     -lm
> /usr/bin/ld: Undefined symbols:
> _DMO_VideoDecoder_DecodeInternal
> _DMO_VideoDecoder_Destroy
> _DMO_VideoDecoder_Open
> _DMO_VideoDecoder_SetDestFmt
> _DMO_VideoDecoder_StartInternal
> _DS_SetAttr_DivX
> _DS_VideoDecoder_DecodeInternal
> _DS_VideoDecoder_Destroy
> _DS_VideoDecoder_Open
> _DS_VideoDecoder_SetDestFmt
> _DS_VideoDecoder_SetValue
> _DS_VideoDecoder_StartInternal
> _FreeLibrary
> _GetProcAddress
> _LoadLibraryA
> _Setup_LDT_Keeper
> _ICClose
> _ICDecompress
> _ICOpen
> _ICSendMessage
> _ICDecompressEx
> _ICUniversalEx
> _MSACM_RegisterDriver
> _MSACM_UnregisterAllDrivers
> _acmStreamClose
> _acmStreamConvert
> _acmStreamOpen
> _acmStreamPrepareHeader
> _acmStreamSize
> _acmStreamUnprepareHeader
> _DMO_AudioDecoder_Convert
> _DMO_AudioDecoder_Destroy
> _DMO_AudioDecoder_GetSrcSize
> _DMO_AudioDecoder_Open
> _DS_AudioDecoder_Convert
> _DS_AudioDecoder_Destroy
> _DS_AudioDecoder_GetSrcSize
> _DS_AudioDecoder_Open
> _Restore_LDT_Keeper
> _av_adler32_update
> _av_fifo_drain
> _av_fifo_free
> _av_fifo_init
> _av_fifo_size
> _av_fifo_write
> _av_fifo_read
> _av_fifo_generic_read
> _av_fifo_realloc
> _av_crc
> _av_crc04C11DB7
> _av_aes_crypt
> _av_aes_init
> _av_aes_size
> _av_tree_find
> _av_tree_insert
> _av_crc07
> _av_crc8005
> _av_crc_init
> _av_init_random
> _av_random_generate_untempered_numbers
> _av_evaluate_lls
> _av_init_lls
> _av_solve_lls
> _av_update_lls
> collect2: ld returned 1 exit status
>
> does this mean what i think it means and that this version of mplayer
> svn is fully broken on osX.4.9? or am i missing something?

Don't know. It works perfectly here with a plain ./configure.

It ends with:

cc -o mplayer mplayer.o m_property.o mp_msg.o mixer.o parser-mpcmd.o
subopt-helper.o command.o asxparser.o codec-cfg.o cpudetect.o edl.o
find_sub.o m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o
playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o
unrarlib.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
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 libass/libass.a osdep/libosdep.a -framework
OpenAL -lx264 -L/Users/guillaume/Prgm/x264 -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/opt/local/lib -lfreetype -lz -lfontconfig  -lz     -lm
cc -o mencoder mencoder.o mp_msg-mencoder.o parser-mecmd.o xvid_vbr.o
asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o
m_option.o m_struct.o mpcommon.o parser-cfg.o playtree.o
playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.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 libass/libass.a osdep/libosdep.a -lx264
-L/Users/guillaume/Prgm/x264 -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/opt/local/lib
-lfreetype -lz -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: 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


FWIW, here's the list of modules activated:
Config files successfully generated by ./configure !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: little-endian
  Optimizing for: pentium-m

  Languages:
    Messages/GUI: en
    Manual pages: en

  Enabled optional drivers:
    Input: ftp tv libdvdcss dvdread vcd network
    Codecs: qtx x264 libavcodec real xanim win32 faad2 libmpeg2 liba52
mp3lib tremor(internal)
    Audio output: openal mpegpes(file) macosx
    Video output: md5sum pnm mpegpes(file) tga macosx quartz
    Audio filters:
  Disabled optional drivers:
    Input: vstream pvr radio tv-v4l2 tv-v4l1 live555 cddb cdda dvdnav dvb smb
    Codecs: xvid libdv amr_wb amr_nb faac musepack libdts libtheora
speex toolame twolame libmad liblzo gif
    Audio output: sun alsa jack polyp esd arts oss ivtv dxr2 nas sdl
    Video output: xvidix winvidix cvidix bl zr zr2 ivtv dxr3 dxr2 sdl
vesa gif89a jpeg png fbdev svga caca aa ggi xmga mga opengl dga xvmc
xv x11 dfbmga directfb tdfx_vid s3fb tdfxfb 3dfx
    Audio filters: ladspa

FWIW too, here's the list of macports packages I've got:

sudo port installed
The following ports are currently installed:
  docbook-xml @4.3_0 (active)
  docbook-xml-scrollkeeper @4.2_0 (active)
  docbook-xsl @1.69.1_0 (active)
  expat @2.0.0_1 (active)
  fontconfig @2.3.2_2+macosx (active)
  freetype @2.1.10_1 (active)
  gettext @0.15_0 (active)
  libiconv @1.11_0+darwin_8 (active)
  openssl @0.9.8d_0+darwin_8 (active)
  pkgconfig @0.21_0 (active)
  wget @1.10.2_0+darwin_8 (active)
  zlib @1.2.3_0 (active)


One more thing, in case you didn't know, it's a good idea to run "make
distclean" before ./configure when you don't update too often.

Guillaume



More information about the MPlayer-users mailing list