[MPlayer-dev-eng] Re: Problem with compiling mplayer on Mac OS X 10.3.9

Ergzay ergzay at gmail.com
Mon Dec 11 19:22:38 CET 2006


On 2006/12/11, at 5:53, Guillaume POIRIER wrote:

> Hi,
>
> On 12/11/06, Guillaume Poirier <gpoirier at mplayerhq.hu> wrote:
>> Hi,
>>
>> Ergzay wrote:
>> >
>> > On 2006/12/10, at 13:08, Guillaume POIRIER wrote:
>> >
>> >> Hi,
>> >>
>> >> On 12/9/06, Ergzay <ergzay at gmail.com> wrote:
>>
>> >>> cc -I../libswscale   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
>> >>> -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -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 -D_LARGEFILE64_SOURCE -I/usr/local/include
>> >>> -I/usr/X11R6/include -I/usr/local/include/  
>> -I/usr/local/include/SDL
>> >>> -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/dvdnav
>> >>> -I/usr/local/include/freetype2 -I/usr/local/include  -c -o
>> >>> ppc/h264_altivec.o ppc/h264_altivec.c
>> >>> ppc/h264_altivec.c: In function `ff_h264_idct8_add_altivec':
>> >>> ppc/h264_altivec.c:517: error: incompatible types in  
>> initialization
>> >>> ppc/h264_altivec.c:518: error: incompatible types in  
>> initialization
>> >>> ppc/h264_altivec.c:519: error: incompatible types in  
>> initialization
>> >>> ppc/h264_altivec.c:520: error: incompatible types in  
>> initialization
>> >>> ppc/h264_altivec.c:521: error: incompatible types in  
>> initialization
>> >>> ppc/h264_altivec.c:522: error: incompatible types in  
>> initialization
>> >>> ppc/h264_altivec.c:523: error: incompatible types in  
>> initialization
>> >>> ppc/h264_altivec.c:524: error: incompatible types in  
>> initialization
>> >>> make[1]: *** [ppc/h264_altivec.o] Error 1
>> >>> make: *** [libavcodec/libavcodec.a] Error 2
>> >>
>> >>
>> >> Please use GCC4, that is: install lastest Xcode, and you will be  
>> fine.
>> >
>> >
>> > Isn't Xcode 2.0 only available for Mac OS X 10.4? I'm using 10.3.9.
>> > If it is then where would I find it?
>>
>> Crap, you're right. I honestly thought that Xcode as available to at
>> least 10.3.x and 10.4.x, that's why I didn't fix it before committing
>> it. Crap-Crap-Crap-Crap-Crap-Crap!
>>
>> I'll fix it when I have time.
>
> Should be fixed

Fixed but have a further problem with dvdnav.
If I compile with default configure options I get:

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  
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 libvo/libosd.a  
libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a  
libpostproc/libpostproc.a mp3lib/libMP3.a liba52/liba52.a  
libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a  
libass/libass.a osdep/libosdep.a -L/usr/X11R6/lib -lXext -lX11   -lXv  
-lXinerama -lXxf86vm -laa -L/usr/local/lib -lcaca -lX11  
-L/usr/X11R6/lib -lncurses -lncurses -L/usr/local/lib -lSDLmain -lSDL  
-framework Cocoa -framework OpenGL -framework OpenAL -lx264   
-L/usr/local/lib -liconv -lncurses -framework Carbon -framework  
QuickTime -framework CoreAudio -framework AudioUnit -framework  
AudioToolbox -framework Cocoa -framework QuartzCore -framework OpenGL  
-lpng -lz -L/usr/local/lib -ldvdnav -lpthread -L/usr/local/lib  
-lfreetype -lz -lfontconfig  -lz -lxvidcore -lm      -lm
ld: warning multiple definitions of symbol _aa_render
/usr/local/lib/libaa.a(aarender.o) definition of _aa_render in section  
(__TEXT,__text)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
Frameworks/CoreGraphics.framework/Versions/A/ 
CoreGraphics(product_link.o) definition of _aa_render
ld: Undefined symbols:
_UDFFindFile
_FT_Glyph_Stroke
_FT_Stroker_Done
_FT_Stroker_New
_FT_Stroker_Set
_FT_GlyphSlot_Oblique
make: *** [mplayer] Error 1




More information about the MPlayer-dev-eng mailing list