[MPlayer-users] rc5 fails to link on MacOS X

Christopher Mason cmason at cmason.com
Tue Mar 18 05:46:00 CET 2003


When compiling MPlayer-0.90rc5 on MacOS X 10.2.4 I get the following error:

...
gcc -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp 
-DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux 
-Iloader -Ilibvo      -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o 
cfgparser.o my_profile.o spudec.o playtree.o playtreeparser.o asxparser.o 
vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o 
m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a 
libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a 
libmpeg2/libmpeg2.a   libaf/libaf.a libmpdemux/libmpdemux.a 
input/libinput.a postproc/libpostproc.a postproc/libswscale.a 
linux/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a 
-lz     -ltermcap     -framework Carbon -framework Cocoa -framework 
QuickTime    -lGL  -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 
-lm
ld: Undefined symbols:
_InitializeQTML
make: *** [mplayer] Error 1

I ran configure with no parameters.  Note that rc4 compiles with no 
problems.  The output from configure follows.

I read QTML as QuickTime Media Layer and wonder if this might be related to 
-no-cpp-precomp?

-c


Detected operating system: Darwin
Detected host architecture: ppc
Checking for gcc version ... 3.1, ok
Checking for CPU vendor ...  (::)
Checking for CPU type ...
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... no
Checking for setlocale() ... yes
Checking for language ... using en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... no
Checking for inet_pton() ... yes (using )
Checking for inttypes.h (required) ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... no
Checking for memalign() ... no
Checking for alloca.h ... no
Checking for mman.h ... yes
Checking for dynamic loader ... no
Checking for dynamic a/v plugins support ... ./configure: _dynamic_plugins: 
command not found
no
Checking for pthread ... yes (using )
Checking for sys/soundcard.h ... no
Checking for soundcard.h ... no
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... no
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... yes
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for sys/sysinfo.h ... no
Checking for Mac OS X APIs ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/X11R6/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for DGA ... no
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no (specify path to DVB/ost/include with 
--with-extraincdir=DIR)
Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version) 
with --with-extraincdir=DIR)
Checking for PNG support ... no
Checking for JPEG support ... no
Checking for GIF support ... no
Checking for VESA support ... no (not supported on this OS/architecture)
Checking for SDL ... no
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... no
Checking for aRts ... no
Checking for EsounD ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... not supported on this OS
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... disabled by 
libmpdvdkit2
Checking for DVD support (libdvdnav) ... no
Checking for cdparanoia ... no
Checking for freetype >= 2.0.9 ... no
Checking for zlib ... yes
Checking for RTC ... no (Linux specific feature)
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for OggVorbis support ... no
Checking for faad2 (AAC) support ... no
Checking for Win32 codec DLL support ... no
Checking for DirectShow ... no
Checking for XAnim DLL ... no (dynamic loader support needed)
Checking for RealPlayer DLL ... no (dynamic loader support needed)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for iconv ... no
Checking for FFmpeg libavcodec (static) ... yes
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... yes
Checking for DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for audio select() ... yes
Checking for streaming ... yes
Checking for byte order ... Big Endian
Checking for shared postprocess lib ... no
Checking for New config ... yes
Checking for OSD menu ... no
Checking for QTX codecs ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... no
Checking for ftello() ... yes
Checking for vidix ... no
Checking for joystick ... no
Checking for lirc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating help_mp.h

Config files successfully generated by ./configure !

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

  Byte order: Big Endian
  Optimizing for:

  Enabled optional drivers:
    Input: streaming edl tv mpdvdkit2
    Codecs: libavcodec
    Audio output: mpegpes(file)
    Video output: mpegpes(file) opengl xv x11
  Disabled optional drivers:
    Input: tv-v4l tv-bsdbt848 cdda dvdnav dvdread dvdcss vcd
    Codecs: qtx opendivx xvid libdv real xanim dshow/dmo win32 libvorbis 
libmad liblzo gif
    Audio output: sgi sun alsa esd arts oss dxr2 nas win32 sdl
    Video output: xvidix bl zr dxr3 dxr2 directx sdl vesa gif89a jpeg png 
fbdev svga aa ggi xmga mga dga directfb tdfxfb 3dfx

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

NOTE: Win32 codec DLLs are not supported on your CPU (ppc) or your
operating system (Darwin). Why don't you help us port it?
You may encounter a few AVI files that cannot be played due to missing
Open Source video/audio codec support.


Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).

If you suspect a bug, please read DOCS/bugreports.html.

You've disabled VIDIX. Although it would be better to PORT it instead.
Have a look at the documentation for supported cards!



[ Christopher Mason    <cmason at cmason.com>   http://www.cmason.com/ ]



More information about the MPlayer-users mailing list