unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs CVS HEAD compilation error on Mac OS X 10.2.8
@ 2006-06-01  5:48 Nozomu Ando
       [not found] ` <wlbqtdtizo.wl%mituharu@math.s.chiba-u.ac.jp>
  0 siblings, 1 reply; 2+ messages in thread
From: Nozomu Ando @ 2006-06-01  5:48 UTC (permalink / raw)
  Cc: nand


Since May 25, 2006, we cannot compile emacs CVS HEAD on Mac OS X 10.2.8.

error message:
/tmp/emacs-060601/emacs/src/mac.c:289: error: `keyReplyRequestedAttr' undeclared here (not in a function)
/tmp/emacs-060601/emacs/src/mac.c:289: error: initializer element is not constant
/tmp/emacs-060601/emacs/src/mac.c:289: error: (near initialization for `ae_attr_table[10].keyword')
/tmp/emacs-060601/emacs/src/mac.c:289: error: initializer element is not constant
/tmp/emacs-060601/emacs/src/mac.c:289: error: (near initialization for `ae_attr_table[10]')
/tmp/emacs-060601/emacs/src/mac.c:290: error: initializer element is not constant
/tmp/emacs-060601/emacs/src/mac.c:290: error: (near initialization for `ae_attr_table[11]')

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.

Best regards,
Nozomu Ando

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs CVS HEAD compilation error on Mac OS X 10.2.8
       [not found] ` <wlbqtdtizo.wl%mituharu@math.s.chiba-u.ac.jp>
@ 2006-06-01 19:01   ` Nozomu Ando
  0 siblings, 0 replies; 2+ messages in thread
From: Nozomu Ando @ 2006-06-01 19:01 UTC (permalink / raw)
  Cc: emacs-devel


YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:
>>>>>> On Thu, 01 Jun 2006 14:48:21 +0900, Nozomu Ando <nand@mac.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-01 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-01  5:48 emacs CVS HEAD compilation error on Mac OS X 10.2.8 Nozomu Ando
     [not found] ` <wlbqtdtizo.wl%mituharu@math.s.chiba-u.ac.jp>
2006-06-01 19:01   ` Nozomu Ando

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).