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

Ergzay ergzay at gmail.com
Mon Dec 11 10:00:51 CET 2006


On 2006/12/10, at 13:08, Guillaume POIRIER wrote:

> Hi,
>
> On 12/9/06, Ergzay <ergzay at gmail.com> wrote:
>>
>> On 2006/12/08, at 21:06, Nicolas Plourde wrote:
>>
>> >
>> > On 8-Dec-06, at 4:04 PM, Ergzay wrote:
>> >
>> >> Well in addition to this it now won't even get past the first step 
>> in
>> >> compiling.
>> >>
>> >> ./version.sh `cc -dumpversion`
>> >> cc -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 -arch ppc -isysroot
>> >> /Developer/SDKs/MacOSX10.3.9.sdk -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/X11R6/include
>> >> -I/usr/local/include/ -I/usr/local/include/SDL -D_THREAD_SAFE
>> >> -I/usr/local/include/freetype2 -I/usr/local/include -I. 
>> -I./libavutil
>> >> -I./libavcodec   -c -o mplayer.o mplayer.c
>> >> cc: cannot specify -o with -c or -S and multiple compilations
>> >> make: *** [mplayer.o] Error 1
>> >>
>> >> Also sending this to mplayer-dev as no one seems to be paying this
>> >> any attention.
>> >
>> > Should be fixed now.
>>
>> Got a new one though:
>>
>> 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?




More information about the MPlayer-dev-eng mailing list