[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building fails on Win32
From: |
AriT93 |
Subject: |
Re: Building fails on Win32 |
Date: |
Fri, 11 Apr 2008 13:24:55 -0500 |
AriT93 writes:
> Eli Zaretskii writes:
> > > 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.
> >
> >
>
> 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
- Building fails on Win32, AriT93, 2008/04/11
- Re: Building fails on Win32, Eli Zaretskii, 2008/04/11
- Message not available
- Re: Building fails on Win32,
AriT93 <=
- 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