[MPlayer-users] Re: Mplayer failing to compile on Mac OS X 10.4.8

Ergzay ergzay at gmail.com
Mon Feb 26 05:32:00 CET 2007


On 2007/02/25, at 17:38, Ergzay wrote:

> I have gcc 4.0.1 and make 3.80 both running on Mac OS X 10.4.8 on a 
> 2.16 GHz Intel Core Duo MacBook Pro.
>
> When I try to compile with default configure options this is the 
> result:
>
> cc  -I. -I.. -Wdeclaration-after-statement -O4 -march=pentium-m 
> -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer 
> -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN 
> -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -I/usr/local/include -I/usr/X11R6/include 
> -I/usr/local/include/freetype2 -I/usr/local/include   -c -o 
> dct64_MMX.o dct64_MMX.c
> {standard input}:11:Missing operand value assumed absolute 0.
> make[1]: *** [dct64_MMX.o] Error 1
> make: *** [mp3lib/libMP3.a] Error 2
>
> I went back to revision 22000 and this same error is still there so 
> this has been here for a long while. I thought it was somewhat strange 
> that it is considering the processor as a pentium-m, but that may be 
> normal, I'm new to intel core processors.

I found that I didn't have the necessary --disable-mp3lib and 
--disable-win32. I recompiled wit those options and now it errors with:

cc -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 
mpcommon.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 
command.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 liba52/liba52.a libmpeg2/libmpeg2.a 
libfaad2/libfaad2.a tremor/libvorbisidec.a dvdread/libdvdread.a 
libdvdcss/libdvdcss.a libass/libass.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 -L/usr/local/lib -lfreetype -lz -lfontconfig  -lz     
-lm
/usr/bin/ld: Undefined symbols:
_FT_Glyph_Stroke
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

I have freetype version 2.2.1 but I downgraded to this one as this 
exact same error happens on freetype version 2.3.1 (latest). Please 
help.

Ergzay




More information about the MPlayer-users mailing list