From: Eli Zaretskii <eliz@gnu.org>
To: AriT93 <arit93@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: Building fails on Win32
Date: Fri, 11 Apr 2008 17:38:37 +0300 [thread overview]
Message-ID: <uk5j4a236.fsf@gnu.org> (raw)
In-Reply-To: <18431.19411.441330.478988@arit93.ariserve.dynup.net>
> 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.
next prev parent reply other threads:[~2008-04-11 14:38 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 [this message]
[not found] ` <18431.43379.66028.795860@arit93.ariserve.dynup.net>
2008-04-11 18:24 ` AriT93
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=uk5j4a236.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=arit93@yahoo.com \
--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).