From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building fails on Win32 Date: Fri, 11 Apr 2008 17:38:37 +0300 Message-ID: References: <18431.19411.441330.478988@arit93.ariserve.dynup.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1207924738 26352 80.91.229.12 (11 Apr 2008 14:38:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2008 14:38:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: AriT93 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 11 16:39:32 2008 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 1JkKPb-0007S0-5m for ged-emacs-devel@m.gmane.org; Fri, 11 Apr 2008 16:39:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JkKOx-00034q-9P for ged-emacs-devel@m.gmane.org; Fri, 11 Apr 2008 10:38:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JkKOs-00033J-AN for emacs-devel@gnu.org; Fri, 11 Apr 2008 10:38:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JkKOp-00030Q-NA for emacs-devel@gnu.org; Fri, 11 Apr 2008 10:38:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JkKOp-00030N-Jf for emacs-devel@gnu.org; Fri, 11 Apr 2008 10:38:43 -0400 Original-Received: from mtaout6.012.net.il ([84.95.2.16]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JkKOo-000480-MR for emacs-devel@gnu.org; Fri, 11 Apr 2008 10:38:42 -0400 Original-Received: from HOME-C4E4A596F7 ([80.230.158.193]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0JZ6008W01BP5AJ0@i-mtaout6.012.net.il> for emacs-devel@gnu.org; Fri, 11 Apr 2008 17:52:37 +0300 (IDT) In-reply-to: <18431.19411.441330.478988@arit93.ariserve.dynup.net> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) 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:94964 Archived-At: > From: AriT93 > Date: Fri, 11 Apr 2008 06:30:27 -0500 > > For the last 2 days I have been getting the following error when building > from trunk: > > ,---- > | gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -gstabs+ -g3 -m > | no-cygwin -mtune=pentium4 -O2 -Di386 -D_CRTAPI1=_cdecl -IC:\gnutools\Free_libs > | \include -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T - > | DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DUSE_FONT_BACKEND=1 -DPURESIZE=5000000 -o oo-spd/ > | i386/emacs.o emacs.c > | In file included from ./s/ms-w32.h:461, > | from ./config.h:301, > | from emacs.c:24: > | ../nt/inc/sys/stat.h:55: error: syntax error before "fstat" > | ../nt/inc/sys/stat.h:55: warning: data definition has no type or storage class > | ../nt/inc/sys/stat.h:56: error: syntax error before "sys_chmod" > | ../nt/inc/sys/stat.h:56: warning: data definition has no type or storage class > | ../nt/inc/sys/stat.h:57: error: syntax error before "stat" > | ../nt/inc/sys/stat.h:57: warning: data definition has no type or storage class > `---- > > I see that stat.h was just added on 4/4 is there a new dependency that I need to > get? > > This is on XP with a fresh checkout using tools from GnuWin32. Please let me > know if there is any other information that would be needed. Please post what GCC prints if you invoke it with "gcc --version", and also the version of MinGW you have installed (you can find the version at the end of the `_mingw.h' header file). My crystal ball says that somehow either _CRTIMP or __cdecl are not being defined, which is why the compiler barfs on these 3 lines.