[MPlayer-advusers] Problem with compiling mplayer on Mac OS X 10.3.9

Ergzay ergzay at gmail.com
Wed Nov 29 10:55:56 CET 2006


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




More information about the MPlayer-advusers mailing list