[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unable to build 64-bit version on Mac OS X
From: |
William Xu |
Subject: |
unable to build 64-bit version on Mac OS X |
Date: |
Wed, 23 Apr 2008 00:49:02 +0900 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin) |
On Mac OS X 10.5.2, emacs is configured with:
,----
| CC='gcc -m64' ./configure --prefix=$HOME --with-carbon --without-x"
`----
Compilation failed during `make bootstrap'. One of the errors is
"CInfoPBRec undeclared". The cause is that it is not availabile for
64-bit applications, as explained in the below url. So maybe that part
of emacs needs updated/rewritten.
http://developer.apple.com/documentation/Carbon/Reference/File_Manager/Reference/reference.html#//apple_ref/c/tdef/CInfoPBRec
,----
| CInfoPBRec
|
| Defines a catalog information parameter block for file and directory
information.
|
| union CInfoPBRec {
| HFileInfo hFileInfo;
| DirInfo dirInfo;
| };
| typedef union CInfoPBRec CInfoPBRec;
| typedef CInfoPBRec * CInfoPBPtr;
|
| Fields
|
| hFileInfo
| dirInfo
|
| Availability
|
| * Available in Mac OS X v10.0 and later.
| * Not available to 64-bit applications.
|
| Declared In
| Files.h
`----
Error Log:
---------------------------------8<-------------------------------------
gcc -m64 -I/sw/include -L/sw/lib -c -fpascal-strings -DMAC_OSX -Demacs
-DHAVE_CONFIG_H -I. -I/Users/william/repo/git/emacs/src -fpascal-strings
-DMAC_OSX -Dtemacs -g -O2 -Wno-pointer-sign mac.c
mac.c: In function ‘path_from_vol_dir_name’:
mac.c:2999: error: ‘CInfoPBRec’ undeclared (first use in this function)
mac.c:2999: error: (Each undeclared identifier is reported only once
mac.c:2999: error: for each function it appears in.)
mac.c:2999: error: syntax error before ‘cipb’
mac.c:3009: error: ‘cipb’ undeclared (first use in this function)
mac.c: In function ‘get_temp_dir_name’:
mac.c:3338: warning: passing argument 5 of ‘FindFolder’ from incompatible
pointer type
mac.c: In function ‘mac_get_system_locale’:
mac.c:4905: error: ‘smScriptLang’ undeclared (first use in this function)
mac.c:4906: warning: ‘GetScriptManagerVariable’ is deprecated (declared at
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:993)
mac.c: In function ‘mac_try_close_socket’:
mac.c:5050: warning: cast to pointer from integer of different size
mac.c: In function ‘sys_select’:
mac.c:5163: warning: cast to pointer from integer of different size
mac.c:5193: warning: cast to pointer from integer of different size
mac.c: In function ‘init_mac_osx_environment’:
mac.c:5282: warning: ‘GetScriptManagerVariable’ is deprecated (declared at
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:993)
mac.c: In function ‘syms_of_mac’:
mac.c:5470: warning: passing argument 2 of ‘defvar_int’ from incompatible
pointer type
mac.c:5472: warning: ‘GetScriptManagerVariable’ is deprecated (declared at
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:993)
make[2]: *** [mac.o] Error 1
make[1]: *** [bootstrap-build] Error 2
make: *** [bootstrap] Error 2
---------------------------------8<-------------------------------------
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Users/william/share/emacs/22.1.91/etc/DEBUG for instructions.
In GNU Emacs 22.2.50.5 (i386-apple-darwin9.2.0, Carbon Version 1.6.0)
of 2008-04-15 on zen
Windowing system distributor `Apple Inc.', version 10.5.2
configured using `configure '--prefix=/Users/william' '--with-carbon'
'--without-x''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: chinese-iso-8bit
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
erc-list-mode: t
erc-menu-mode: t
erc-ring-mode: t
erc-networks-mode: t
erc-pcomplete-mode: t
erc-button-mode: t
erc-netsplit-mode: t
eldoc-mode: t
which-function-mode: t
global-pabbrev-mode: t
pabbrev-mode: t
erc-truncate-mode: t
erc-log-mode: t
erc-spelling-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-autojoin-mode: t
erc-track-mode: t
erc-track-minor-mode: t
erc-match-mode: t
erc-smiley-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-move-to-prompt-mode: t
erc-readonly-mode: t
shell-dirtrack-mode: t
outline-minor-mode: t
page-break-mode: t
display-time-mode: t
recentf-mode: t
global-auto-revert-mode: t
show-paren-mode: t
less-minor-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
C-n M-% <return> C-n C-n C-n C-n C-a M-h C-n M-% <return>
M-n M-n M-n M-n M-n M-n C-n C-n C-n M-h M-% <return>
M-n M-n M-n M-n M-n M-n M-n M-n M-n M-n M-n M-n M-n
C-n C-n C-n C-n M-h M-% <return> C-x C-s <C-up> j j
j g n j j f g u g <tab> <tab> <tab> <tab> <tab> <tab>
<return> j SPC f f f f f f f f f q C-c v j j g C-c
m s <f6> k k k k j <return> r j SPC SPC Q p <return>
r j j j j j j j j j j j j j j j j j j j j j f q j r
j j q A T Q j <return> M-> k k k r q j j r q r q r
q M-< . . . . . . . . . . . , , , , , , , , , , j j
k x . c y j j j k <return> r j q / o M-> C-l k r Q
A s s <f3> <return> q <f3> f n n n n n n n n n n n
f b p p p p p <return> q k k k k <return> <return>
j j j j q A T M-< M-> M-< M-> p q r j j j j j j j j
j j j j n j q r q M-< M-> M-< M-> k r q C-c m s C-c
v j k b f b C-l j M-x e m a <tab> - r e p o <tab> M-x
r e p o r <tab> e m a <tab> b <tab> <return>
Recent messages:
Fetching headers for gmane.emacs.help...done
Scoring...done
Generating summary...done
Fetching headers for gmane.emacs.help...done
Generating summary...done
Generating summary...done
Mark set [8 times]
Less minor mode enabled
Quit
Loading emacsbug...done
--
William
http://williamxu.net9.org
- unable to build 64-bit version on Mac OS X,
William Xu <=