From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: unable to build 64-bit version on Mac OS X Date: Wed, 23 Apr 2008 00:49:02 +0900 Organization: the Church of Emacs Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1208880506 27754 80.91.229.12 (22 Apr 2008 16:08:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Apr 2008 16:08:26 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 22 18:09:00 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JoL2W-00029T-MO for ged-emacs-devel@m.gmane.org; Tue, 22 Apr 2008 18:08:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoL1r-0007n9-2r for ged-emacs-devel@m.gmane.org; Tue, 22 Apr 2008 12:07:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JoKw2-0000h3-G1 for emacs-devel@gnu.org; Tue, 22 Apr 2008 12:01:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JoKvw-0000cH-8U for emacs-devel@gnu.org; Tue, 22 Apr 2008 12:01:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoKvv-0000bp-OE for emacs-devel@gnu.org; Tue, 22 Apr 2008 12:01:27 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JoKvu-00058A-TM for emacs-devel@gnu.org; Tue, 22 Apr 2008 12:01:27 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JoKvt-0000uN-Qo for emacs-pretest-bug@gnu.org; Tue, 22 Apr 2008 12:01:26 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JoKrE-00040Y-DT for emacs-pretest-bug@gnu.org; Tue, 22 Apr 2008 11:56:41 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.152]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JoKrE-0003zY-1W for emacs-pretest-bug@gnu.org; Tue, 22 Apr 2008 11:56:36 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so2574210ywk.66 for ; Tue, 22 Apr 2008 08:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:to:subject:from:organization:date:message-id:user-agent:mime-version:content-type:content-transfer-encoding; bh=nDqIYOMfamwoYWBSvUGxGOVonkAwsKNXEc/aECg9hwI=; b=QFI/j1UPeflW4dYp830SqEnFoBtBuRk82QPaW2dWUix4BdL39XFP6JtDoFkOQWNW9nLszKDaj34mRRTkEKuUwx9xNDsFM7pBlyFuGRgDGNlgsd1YUy0UOlupr5/D+sbK/t4Yvn5CVl+F6oiRZ78OV6QCx/P1MUSZ+2jyOhTRCAQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:from:organization:date:message-id:user-agent:mime-version:content-type:content-transfer-encoding; b=MyGgvmKJF/5GkgYcKrq8qqrrG0+n29XYB8DatxkGP3ujRWGAXNxHmKheqI+4A+2TtYKVDrcGjIt+ykmJCk535xgvoLcUivcY2XnXkQKPNg0UkuR8os5dfwEtw4HIYUG+pQbn+Hyucfd+N1qLAOFhdGkPBTshh5k+qM9z+IyWOhw= Original-Received: by 10.114.171.1 with SMTP id t1mr452467wae.124.1208879384965; Tue, 22 Apr 2008 08:49:44 -0700 (PDT) Original-Received: from zen.localhost ( [125.52.252.76]) by mx.google.com with ESMTPS id h17sm1605827wxd.24.2008.04.22.08.49.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Apr 2008 08:49:37 -0700 (PDT) Original-Received: by zen.localhost (Postfix, from userid 501) id 4E3677890E2; Wed, 23 Apr 2008 00:49:03 +0900 (JST) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:95781 gmane.emacs.pretest.bugs:22109 Archived-At: On Mac OS X 10.5.2, emacs is configured with:=20 ,---- | CC=3D'gcc -m64' ./configure --prefix=3D$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/Re= ference/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:=20 ---------------------------------8<-------------------------------------=20 gcc -m64 -I/sw/include -L/sw/lib -c -fpascal-strings -DMAC_OSX -Demacs -D= HAVE_CONFIG_H -I. -I/Users/william/repo/git/emacs/src -fpascal-strings -D= MAC_OSX -Dtemacs -g -O2 -Wno-pointer-sign mac.c mac.c: In function =E2=80=98path_from_vol_dir_name=E2=80=99: mac.c:2999: error: =E2=80=98CInfoPBRec=E2=80=99 undeclared (first use in th= is 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 =E2=80=98cipb=E2=80=99 mac.c:3009: error: =E2=80=98cipb=E2=80=99 undeclared (first use in this fun= ction) mac.c: In function =E2=80=98get_temp_dir_name=E2=80=99: mac.c:3338: warning: passing argument 5 of =E2=80=98FindFolder=E2=80=99 fro= m incompatible pointer type mac.c: In function =E2=80=98mac_get_system_locale=E2=80=99: mac.c:4905: error: =E2=80=98smScriptLang=E2=80=99 undeclared (first use in = this function) mac.c:4906: warning: =E2=80=98GetScriptManagerVariable=E2=80=99 is deprecat= ed (declared at /System/Library/Frameworks/CoreServices.framework/Framework= s/CarbonCore.framework/Headers/Script.h:993) mac.c: In function =E2=80=98mac_try_close_socket=E2=80=99: mac.c:5050: warning: cast to pointer from integer of different size mac.c: In function =E2=80=98sys_select=E2=80=99: 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 =E2=80=98init_mac_osx_environment=E2=80=99: mac.c:5282: warning: =E2=80=98GetScriptManagerVariable=E2=80=99 is deprecat= ed (declared at /System/Library/Frameworks/CoreServices.framework/Framework= s/CarbonCore.framework/Headers/Script.h:993) mac.c: In function =E2=80=98syms_of_mac=E2=80=99: mac.c:5470: warning: passing argument 2 of =E2=80=98defvar_int=E2=80=99 fro= m incompatible pointer type mac.c:5472: warning: =E2=80=98GetScriptManagerVariable=E2=80=99 is deprecat= ed (declared at /System/Library/Frameworks/CoreServices.framework/Framework= s/CarbonCore.framework/Headers/Script.h:993) make[2]: *** [mac.o] Error 1 make[1]: *** [bootstrap-build] Error 2 make: *** [bootstrap] Error 2 ---------------------------------8<-------------------------------------=20 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=3D/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-% C-n C-n C-n C-n C-a M-h C-n M-% =20 M-n M-n M-n M-n M-n M-n C-n C-n C-n M-h M-% =20 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=20 C-n C-n C-n C-n M-h M-% C-x C-s j j=20 j g n j j f g u g =20 j SPC f f f f f f f f f q C-c v j j g C-c=20 m s k k k k j r j SPC SPC Q p =20 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=20 j j q A T Q j M-> k k k r q j j r q r q r=20 q M-< . . . . . . . . . . . , , , , , , , , , , j j=20 k x . c y j j j k r j q / o M-> C-l k r Q=20 A s s q f n n n n n n n n n n n=20 f b p p p p p q k k k k =20 j j j j q A T M-< M-> M-< M-> p q r j j j j j j j j=20 j j j j n j q r q M-< M-> M-< M-> k r q C-c m s C-c=20 v j k b f b C-l j M-x e m a - r e p o M-x=20 r e p o r e m a b 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 --=20 William http://williamxu.net9.org