From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Ben Key" Newsgroups: gmane.emacs.devel Subject: RE: Build failure on Mac OS 10.2.6 Date: Thu, 26 Jun 2003 21:51:16 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <000401c33c4e$99180630$6401a8c0@goddess> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1056678970 3752 80.91.224.249 (27 Jun 2003 01:56:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 27 Jun 2003 01:56:10 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jun 27 03:56:08 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ViTA-0000yL-00 for ; Fri, 27 Jun 2003 03:56:08 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19ViXw-0001U5-00 for ; Fri, 27 Jun 2003 04:01:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19ViSJ-0004Gn-4D for emacs-devel@quimby.gnus.org; Thu, 26 Jun 2003 21:55:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19ViRY-0003ni-Kw for emacs-devel@gnu.org; Thu, 26 Jun 2003 21:54:28 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19ViRF-0003fA-PS for emacs-devel@gnu.org; Thu, 26 Jun 2003 21:54:15 -0400 Original-Received: from ms-smtp-04.tampabay.rr.com ([65.32.1.35]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19ViPW-0002YO-Ms for emacs-devel@gnu.org; Thu, 26 Jun 2003 21:52:22 -0400 Original-Received: from goddess (186-19.9-67.tampabay.rr.com [67.9.19.186]) h5R1p5jn023294 for ; Thu, 26 Jun 2003 21:51:05 -0400 (EDT) Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-reply-to: Importance: Normal X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15287 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15287 Amos Gouaux wrote: > I run into the following problem in src/strftime.c: > gcc -c -fpascal-strings -fno-common -DMAC_OSX -I../mac/src -Demacs -DHAVE_CONFIG_H -I. -I/Users/amos/proj/emacs/emacs-20030625/src -fpascal-strings > -fno-common -DMAC_OSX -I../mac/src -Dtemacs -g -O2 strftime.c > strftime.c: In function `emacs_strftimeu': > strftime.c:1491: too many arguments to function `strftime' > make[1]: *** [strftime.o] Error 1 > make: *** [bootstrap] Error 2 I am seeing a similar problem when building under Windows with MSVC 6. Here are the relevant parts of the build log: . . . strftime.c strftime.c(1036) : warning C4146: unary minus operator applied to unsigned type, result still unsigned strftime.c(1491) : warning C4020: 'strftime' : too many actual parameters . . . libc.lib(strftime.obj) : error LNK2005: _strftime already defined in temacs1.lib(strftime.obj) obj/i386/temacs.bin : fatal error LNK1169: one or more multiply defined symbols found NMAKE : fatal error U1077: 'link' : return code '0x491' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' : return code '0x2' Stop. I spent some time trying to resolve the problem but I could not find it as of yet. Maybe I will try again latter when I am not so tired.