[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs CVS HEAD compilation error on Mac OS X 10.2.8
From: |
Nozomu Ando |
Subject: |
Re: emacs CVS HEAD compilation error on Mac OS X 10.2.8 |
Date: |
Fri, 02 Jun 2006 04:01:29 +0900 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
YAMAMOTO Mitsuharu <address@hidden> writes:
>>>>>> On Thu, 01 Jun 2006 14:48:21 +0900, Nozomu Ando <address@hidden> said:
>
>> Since May 25, 2006, we cannot compile emacs CVS HEAD on Mac OS X
>> 10.2.8.
>
>> In fact, we compile it on Mac OS X 10.3.9 with MacOSX10.2.8 SDK.
>
>> It seems there is no definition of keyReplyRequestedAttr in
>> MacOSX10.2.8 SDK.
>
> (snip)... I could compile it on (real) Mac OS X 10.2.8.
Oops, my apologies.
> Could you show us
> the precise recipe for compling it on Mac OS X 10.3.9 with
> MacOSX10.2.8 SDK? How MAC_OS_X_VERSION_MAX_ALLOWED is defined there?
I had a build script on like this:
export NEXT_ROOT=/Developer/SDKs/MacOSX10.2.8.sdk \
MACOSX_DEPLOYMENT_TARGET=10.2
./configure --without-x \
--oldinclude=/Developer/SDKs/MacOSX10.2.8.sdk/usr/include
make bootstrap
but this is wrong because gcc does not searches system header
in /Developer/SDKs/MacOSX10.2.8.sdk/usr/include, but only in /usr/include.
(MAC_OS_X_VERSION_MAX_ALLOWED == 1030 by /usr/include/AvailabilityMacros.h)
I have added an environment variable
CPPFLAGS='-isystem /Developer/SDKs/MacOSX10.2.8.sdk/usr/include'
and our problem gone.
Thanks and sorry for my noise.
Nozomu Ando