From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Beekhof (GMail) Newsgroups: gmane.emacs.devel Subject: Emacs CVS on OSX Tiger (10.4) Date: Sun, 17 Apr 2005 17:37:29 +0200 Message-ID: <2e7d32ec83326841b1db4843fcfbdfe5@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113753825 7214 80.91.229.2 (17 Apr 2005 16:03:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Apr 2005 16:03:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 17 18:03:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DNCF1-0007Lf-Vp for ged-emacs-devel@m.gmane.org; Sun, 17 Apr 2005 18:03:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNCIx-00074Z-To for ged-emacs-devel@m.gmane.org; Sun, 17 Apr 2005 12:07:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DNCBT-0002bL-81 for emacs-devel@gnu.org; Sun, 17 Apr 2005 11:59:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DNCB1-0002T4-63 for emacs-devel@gnu.org; Sun, 17 Apr 2005 11:59:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNCAv-0002Lf-A5 for emacs-devel@gnu.org; Sun, 17 Apr 2005 11:59:09 -0400 Original-Received: from [64.233.184.195] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DNBrK-0007Q4-MU for emacs-devel@gnu.org; Sun, 17 Apr 2005 11:38:54 -0400 Original-Received: by wproxy.gmail.com with SMTP id 36so1190768wra for ; Sun, 17 Apr 2005 08:37:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=nl1UusxkEDb7NkyTfVX8N2tyv9py5KSmdYKmPTDvB7n84nkpjrCeJYnRzBnKE3N90zOoB0MCNPXpDQKMbDKVvRat86V3eVnhd5qKDA6/0Z5iFccaB/SgE/M549Y1AIzfJFUc/5EpLt98QPAwH/G+VTDT5b88hupbG5ksfJfow2Y= Original-Received: by 10.54.54.60 with SMTP id c60mr1536651wra; Sun, 17 Apr 2005 08:37:32 -0700 (PDT) Original-Received: from ?192.168.9.63? ([84.151.1.98]) by mx.gmail.com with ESMTP id 13sm83171wrl.2005.04.17.08.37.32; Sun, 17 Apr 2005 08:37:32 -0700 (PDT) Original-To: emacs-devel@gnu.org X-Mailer: Apple Mail (2.622) 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:36054 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36054 Hi All, It appears that 10.4 has changed enough compared to 10.3.x to break Emacs. Pre-compiled packages built for 10.3.x break during startup, so I tried compiling from source. I ran into a couple of problems which I was able to work around, but without really knowing what I was doing, probably did so in the worst way possible. Problem #1 macgui.c was trying to use emacs_mktime and failed during the link stage. I hunted the entire codebase and couldn't find this function/macro/other anywhere... am I missing something? In the end i commented out these lines: ./src/macgui.h-46-#undef mktime ./src/macgui.h:47:#define mktime emacs_mktime Problem #2 sys/time.h (for reasons that are beyond me) now defines select() and a number of other bits and pieces that are also in sys/types.h. Maybe thats not the whole cause, but to make a long story short, mac.c (specifically sys_select() and select_and_poll_event() ) doesn't compile. So I removed both functions and, well, it seems to work anyway.... Here are the compiler errors: mac.c: In function 'select_and_poll_event': mac.c:3877: error: request for member 'fds_bits' in something not a structure or union mac.c: In function 'sys_select': mac.c:3895: error: argument 'rfds' doesn't match prototype /usr/include/sys/time.h:242: error: prototype declaration mac.c:3895: error: argument 'wfds' doesn't match prototype /usr/include/sys/time.h:242: error: prototype declaration mac.c:3895: error: argument 'efds' doesn't match prototype /usr/include/sys/time.h:242: error: prototype declaration mac.c:3901: error: request for member 'fds_bits' in something not a structure or union mac.c:3904: error: request for member 'fds_bits' in something not a structure or union mac.c:3918: error: request for member 'fds_bits' in something not a structure or union mac.c:3929: error: request for member 'fds_bits' in something not a structure or union mac.c: In function 'mac_get_system_locale': mac.c:4224: warning: pointer targets in passing argument 4 of 'LocaleRefGetPartString' differ in signedness mac.c:4226: warning: pointer targets in passing argument 1 of 'build_string' differ in signedness make: *** [mac.o] Error 1 If anyone has suggestions on how I should have fixed the above, I can have a go and report back with a patch. Andrew -- Andrew Beekhof "If it weren't for my horse, I wouldn't have spent that year in college" - Unknown, courtesy of Lewis Black