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

Ergzay ergzay at gmail.com
Fri Dec 8 22:04:11 CET 2006


On 2006/11/29, at 4:55, Ergzay wrote:

> I have gcc 3.3, ld cctools-525.obj~1, and make 3.79 all runnning on 
> Mac OS X 10.3.9 on a 1.2 Ghz iBook G4.
> Mplayer fails to compile with the output below.
> This has been a persistent error for a week or two at least. Was 
> waiting to see if someone would catch the error on their own.
>
> make -C osdep
> cc -c -I. -I.. -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/X11R6/include -I/usr/local/include/ -I/usr/local/include/SDL 
> -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include -o 
> mmap_anon.o mmap_anon.c
> In file included from mmap_anon.c:8:
> /usr/include/sys/mman.h:155: error: parse error before "size_t"
> /usr/include/sys/mman.h:158: error: parse error before "size_t"
> /usr/include/sys/mman.h:160: error: parse error before "size_t"
> /usr/include/sys/mman.h:161: error: parse error before "size_t"
> /usr/include/sys/mman.h:162: error: parse error before "size_t"
> /usr/include/sys/mman.h:163: error: parse error before "size_t"
> /usr/include/sys/mman.h:166: error: parse error before "size_t"
> /usr/include/sys/mman.h:170: error: parse error before "caddr_t"
> /usr/include/sys/mman.h:171: error: parse error before '*' token
> /usr/include/sys/mman.h:174: error: parse error before "size_t"
> /usr/include/sys/mman.h:175: error: parse error before "size_t"
> /usr/include/sys/mman.h:176: error: parse error before "size_t"
> make[1]: *** [mmap_anon.o] Error 1
> make: *** [osdep/libosdep.a] Error 2

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.




More information about the MPlayer-dev-eng mailing list