[MPlayer-users] AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER

Rodrigo Guerra tioguerra at gmail.com
Fri Sep 25 07:23:08 CEST 2009


Hi,

I am trying to compile MPlayer in Mac OS X 10.6. Ran configure and
then make, but got stuck with this error:

(snip)

cc -Ilibdvdcss -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\"
-Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -march=core2 -mtune=core2 -pipe
-ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4
-mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
-I/usr/X11/include -I/opt/local/include/freetype2 -I/opt/local/include
  -c -o libdvdcss/device.o libdvdcss/device.c
In file included from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:10,
                 from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h:33,
                 from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h:11,
                 from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43,
                 from libdvdcss/device.c:60:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h:
In function 'CFDataFind':
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h:70:
error: expected declaration specifiers before
'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'

(snip)

This is not the first time. I've noticed this same error when trying
to compile other unrelated sources, namely SciPy and VLC. I am afraid
my system is messed up somewhere, but I have no clue what it is. In
the case of SciPy compiling using 10.5 SDK solved the problem. For VLC
that did not help.

Does anyone have any idea what the problem might be?

Regards,
Guerra


More information about the MPlayer-users mailing list