[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building fails on Win32
From: |
Eli Zaretskii |
Subject: |
Re: Building fails on Win32 |
Date: |
Fri, 11 Apr 2008 17:38:37 +0300 |
> From: AriT93 <address@hidden>
> 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.
- Building fails on Win32, AriT93, 2008/04/11
- Re: Building fails on Win32,
Eli Zaretskii <=
- Message not available
- Re: Building fails on Win32, AriT93, 2008/04/11
- Re: Building fails on Win32, Eli Zaretskii, 2008/04/11
- Re: Building fails on Win32, AriT93, 2008/04/11
- Re: Building fails on Win32, Eli Zaretskii, 2008/04/12
- Re: Building fails on Win32, AriT93, 2008/04/14
- Re: Building fails on Win32, Eli Zaretskii, 2008/04/14
- Re: Building fails on Win32, AriT93, 2008/04/14
- Re: Building fails on Win32, Eli Zaretskii, 2008/04/14
Re: Building fails on Win32, Eli Zaretskii, 2008/04/11