unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Error when compiling emacs-unicode-2 on windows
@ 2008-08-07  2:20 HL
  2008-08-07 14:48 ` Juanma Barranquero
       [not found] ` <mailman.15994.1218120542.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 11+ messages in thread
From: HL @ 2008-08-07  2:20 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,
I'd like to compile an emacs 23 in my windows xp.
I checked out src codes from cvs by :
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -r
emacs-unicode-2 -d emacs-unicode-2 emacs
I put all source code checked out from cvs to d:\emacs-unicode-2.
I installed MinGW to d:\MinGW and other image libraries.
the configuration seems ok when I use following command line to
configurate it
configure.bat --no-debug --with-gcc --cflags -Id:\MinGW\include

Then when I build bootstrap, I got following problems

gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c   -
mtune=pentiu
m4 -O2  -Di386 -D_CRTAPI1=_cdecl  -Id:\MingW\include -Demacs=1 -
DWINDOWSNT -DDOS
_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -
DUSE_CRT_DLL=1 -DPURE
SIZE=5000000 -o oo-spd/i386/emacs.o emacs.c
In file included from ./s/ms-w32.h:414,
                 from ./config.h:301,
                 from emacs.c:24:
d:/MingW/include/stdio.h:410:1: warning: "fileno" redefined
In file included from ./config.h:301,
                 from emacs.c:24:
./s/ms-w32.h:373:1: warning: this is the location of the previous
definition
In file included from d:/MingW/include/unistd.h:11,
                 from emacs.c:37:
./process.h:37: error: syntax error before "EMACS_UINT"
./process.h:37: warning: no semicolon at end of struct or union
./process.h:40: error: syntax error before "tty_name"
./process.h:40: warning: data definition has no type or storage class
./process.h:42: error: syntax error before "name"
./process.h:42: warning: data definition has no type or storage class
./process.h:45: error: syntax error before "command"
./process.h:45: warning: data definition has no type or storage class
./process.h:48: error: syntax error before "filter"
./process.h:48: warning: data definition has no type or storage class
./process.h:50: error: syntax error before "sentinel"
./process.h:50: warning: data definition has no type or storage class
./process.h:53: error: syntax error before "log"
./process.h:53: warning: built-in function 'log' declared as non-
function
./process.h:53: warning: data definition has no type or storage class
./process.h:55: error: syntax error before "buffer"
./process.h:55: warning: data definition has no type or storage class
./process.h:58: error: syntax error before "childp"
./process.h:58: warning: data definition has no type or storage class
./process.h:60: error: syntax error before "plist"
./process.h:60: warning: data definition has no type or storage class
./process.h:62: error: syntax error before "mark"
./process.h:62: warning: data definition has no type or storage class
./process.h:68: error: syntax error before "status"
./process.h:68: warning: data definition has no type or storage class
./process.h:70: error: syntax error before "decode_coding_system"
./process.h:70: warning: data definition has no type or storage class
./process.h:72: error: syntax error before "decoding_buf"
./process.h:72: warning: data definition has no type or storage class
./process.h:74: error: syntax error before "encode_coding_system"
./process.h:74: warning: data definition has no type or storage class
./process.h:76: error: syntax error before "encoding_buf"
./process.h:76: warning: data definition has no type or storage class
./process.h:105: error: syntax error before ':' token
./process.h:107: error: syntax error before ':' token
./process.h:110: error: syntax error before ':' token
./process.h:112: error: syntax error before ':' token
./process.h:115: error: syntax error before ':' token
./process.h:121: error: syntax error before ':' token
./process.h:126: error: syntax error before ':' token
./process.h:128: error: syntax error before '}' token
./process.h:136: error: syntax error before "chan_process"
./process.h:136: warning: data definition has no type or storage class
./process.h:139: error: syntax error before "Vprocess_alist"
./process.h:139: warning: data definition has no type or storage class
In file included from emacs.c:60:
process.h:36: error: nested redefinition of `struct Lisp_Process'
process.h:136: warning: array 'chan_process' assumed to have one
element
mingw32-make[2]: *** [oo-spd/i386/emacs.o] Error 1
mingw32-make[2]: Leaving directory `D:/emacs-unicode-2/src'
mingw32-make[1]: *** [bootstrap-temacs] Error 2
mingw32-make[1]: Leaving directory `D:/emacs-unicode-2/src'
mingw32-make: *** [bootstrap-gmake] Error 2

Can anyone help me? thank you.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-08-11  9:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07  2:20 Error when compiling emacs-unicode-2 on windows HL
2008-08-07 14:48 ` Juanma Barranquero
     [not found] ` <mailman.15994.1218120542.18990.help-gnu-emacs@gnu.org>
2008-08-07 15:46   ` HL
2008-08-07 16:43     ` Lennart Borgman (gmail)
     [not found]     ` <mailman.15998.1218127424.18990.help-gnu-emacs@gnu.org>
2008-08-10  2:43       ` HL
2008-08-10  7:10         ` Peter Dyballa
2008-08-10 11:51         ` Juanma Barranquero
     [not found]         ` <mailman.16270.1218369082.18990.help-gnu-emacs@gnu.org>
2008-08-10 16:03           ` HL
2008-08-10 16:17             ` David Kastrup
2008-08-10 18:57             ` Juanma Barranquero
     [not found]             ` <mailman.16306.1218394644.18990.help-gnu-emacs@gnu.org>
2008-08-11  9:46               ` HL

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).