[MPlayer-users] Compilation error on PPC Mac

Pablo Barros pbarros at fnal.gov
Mon Sep 25 19:50:30 CEST 2006


Hi,
I've been trying to compile the latest SVN for some time, and I get  
errors. This is a G4, running Mac OS X 10.4.7, with Xcode 2.4. Both  
gcc 4.0.1 and 3.3 (Apple's 20030304, build 1819) give the same problems.

./configure # no enable-, disable-, or any other option
make
[SNIP]
cc -Wdeclaration-after-statement -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/X11R6/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 - 
D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -I/ 
usr/X11R6/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  -Llibmpdvdkit2 -lmpdvdkit  libavformat/ 
libavformat.a  libavcodec/libavcodec.a  libavutil/libavutil.a   
libpostproc/libpostproc.a            -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 -L/usr/X11R6/lib - 
lfontconfig   -L/opt/local/lib -lfreetype -lz  -lGL   -lXv  -lXxf86vm  
-lXinerama -L/usr/X11R6/lib -lXext -lX11    -L/opt/local/lib - 
lSDLmain -lSDL -Wl,-framework,Cocoa
/usr/bin/ld: Undefined symbols:
_FT_Glyph_Stroke
collect2: ld returned 1 exit status

I see other MacOS errors reported here, but they look Intel-specific.  
Since there are Mac-ppc builds, I'm sure I'm missing something. Any  
help will be much appreciated.

Thanks for the attention,
Pablo



More information about the MPlayer-users mailing list