[vlc] AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER

Rodrigo Guerra tioguerra at gmail.com
Fri Sep 25 07:38:40 CEST 2009


Hi,

I am trying to compile MPlayer in Mac OS X 10.6. Running configure I
get this problem:

$ ./configure --with-mad-tree=../libmad-0.15.1b
--with-twolame-tree=../twolame-0.3.12

(snip)

checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... no

(snip)

checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... yes
checking for CoreAudio/CoreAudio.h... no

(snip)

Same happens when trying to build with -arch i386 and when using 10.5
SDK --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk

Looking into config.log I find the error below, the same error both
for Carbon and for CoreAudio (the compile line is slightly different
depending on whether I use i386 or the 10.5 SDK, but the error is the
same):

(snip)

configure:19818: gcc -std=gnu99 -isysroot
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -o conftest
-arc
h i386 -I/usr/local/include -D_INTL_REDIRECT_MACROS
-DMACOSX_DEPLOYMENT_TARGET=10.5  -arch i386 -L/usr/local/lib
-Wl,-headerpad_max_install_names conftest.c  -Wl,-framework
-Wl,CoreFoundation >&5
In file included from
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFS
tring.h:10,                 from
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFP
references.h:10,                 from conftest.c:30:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h:
In function 'CFDataFind':
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h:70:
error: expected declaration specifiers before
'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'

(snip)

I am having the same kind of problem with this
AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER when trying to compile SciPy
and MPlayer, so I guess there is something wrong with my system. In
the case of SciPy compiling using 10.5 SDK worked.

Does anyone have any idea what the problem might be?

Regards,
Guerra



More information about the vlc mailing list