unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: AriT93 <arit93@yahoo.com>
To: emacs-devel@gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: Re: Building fails on Win32
Date: Fri, 11 Apr 2008 13:24:55 -0500	[thread overview]
Message-ID: <18431.44279.682698.823069@arit93.ariserve.dynup.net> (raw)
In-Reply-To: <18431.43379.66028.795860@arit93.ariserve.dynup.net>

AriT93 writes:
 > Eli Zaretskii writes:
 >  > > From: AriT93 <arit93@yahoo.com>
 >  > > 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.
 >  > 
 >  > 
 > 
 > gcc --version
 > gcc (GCC) 3.4.2 (mingw-special)
 > Copyright (C) 2004 Free Software Foundation, Inc.
 > This is free software; see the source for copying conditions.  There is NO
 > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 > 
 > #define __MINGW32_VERSION 3.12
 > #define __MINGW32_MAJOR_VERSION 3
 > #define __MINGW32_MINOR_VERSION 12
 > 
 > 
 > to address the other email I had run make clean and also tried on a fresh checkout.
 > -- 
 > 
 > enjoy every sandwich
 > 
 >            -- W. Zevon

Upgragding mingw seems to have corrected this.  How at 3.14 and it's building
the bootstrap emacs and compiling the lisp files. 

_CRTIMP and __cdecl were being defined from what I could see int he _mingw.h
file. 
-- 

enjoy every sandwich

           -- W. Zevon





  parent reply	other threads:[~2008-04-11 18:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11 11:30 Building fails on Win32 AriT93
2008-04-11 14:38 ` Eli Zaretskii
     [not found]   ` <18431.43379.66028.795860@arit93.ariserve.dynup.net>
2008-04-11 18:24     ` AriT93 [this message]
2008-04-11 19:24       ` Eli Zaretskii
2008-04-11 19:31         ` AriT93
2008-04-12  7:52           ` Eli Zaretskii
2008-04-14 11:49             ` AriT93
2008-04-14 18:38               ` Eli Zaretskii
2008-04-14 19:16                 ` AriT93
2008-04-15  3:06                   ` Eli Zaretskii
2008-04-11 14:46 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18431.44279.682698.823069@arit93.ariserve.dynup.net \
    --to=arit93@yahoo.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).