help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error when compiling emacs-unicode-2 on windows


From: HL
Subject: Error when compiling emacs-unicode-2 on windows
Date: Wed, 6 Aug 2008 19:20:42 -0700 (PDT)
User-agent: G2/1.0

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]