unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Why I can't compile the Eamcs23 under Windows XP?
@ 2009-08-07  1:40 Water Lin
  2009-08-07  8:47 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Water Lin @ 2009-08-07  1:40 UTC (permalink / raw)
  To: help-gnu-emacs

I think I follow the steps instructed on the page of
http://ourcomments.org/Emacs/w32-build-emacs.html.

But I still can't compile Emacs23 under my Windows.

Here is my main steps:

1) install MinGW; also install CoreUtils for Windows tool.

2) check out CVS code, enter the nt folder within windows cmd.exe.

3) run configure:
configure.bat --with-gcc --cflags -IC:/"Program Files"/GnuWin32/include
--without-xpm

PS: I install xpm but I can't find it in configure. My version of xpm is
from:
http://gnuwin32.sourceforge.net/packages/xpm.htm

I feel very strange.

4) run make command:
mingw32-make bootstrap

When I make, the cmd shows errors:
--------------------------------------------------
./process.h:35: error: syntax error before "EMACS_UINT"
./process.h:38: error: syntax error before "tty_name"
./process.h:40: error: syntax error before "name"
./process.h:43: error: syntax error before "command"
./process.h:46: error: syntax error before "filter"
./process.h:48: error: syntax error before "sentinel"
./process.h:51: error: syntax error before "log"
./process.h:53: error: syntax error before "buffer"
./process.h:57: error: syntax error before "childp"
./process.h:59: error: syntax error before "plist"
./process.h:61: error: syntax error before "type"
./process.h:63: error: syntax error before "mark"
./process.h:69: error: syntax error before "status"
./process.h:71: error: syntax error before "decode_coding_system"
./process.h:73: error: syntax error before "decoding_buf"
./process.h:75: error: syntax error before "encode_coding_system"
./process.h:77: error: syntax error before "encoding_buf"
./process.h:107: error: syntax error before ':' token
./process.h:109: error: syntax error before ':' token
./process.h:112: error: syntax error before ':' token
./process.h:114: error: syntax error before ':' token
./process.h:117: error: syntax error before ':' token
./process.h:122: error: syntax error before ':' token
./process.h:124: error: syntax error before '}' token
./process.h:132: error: syntax error before "chan_process"
./process.h:135: error: syntax error before "Vprocess_alist"
./process.h:164: error: syntax error before "Qeuid"
./process.h:165: error: syntax error before "Qminflt"
./process.h:166: error: syntax error before "Qcutime"
./process.h:167: error: syntax error before "Quser"
./process.h:168: error: syntax error before "Qtime"
./process.h:170: error: syntax error before "list_system_processes"
./process.h:171: error: syntax error before "system_process_attributes"
In file included from emacs.c:59:
process.h:34: error: nested redefinition of `struct Lisp_Process'
process.h:132: 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:/cygwin/home/water/emacs23/emacs/src'
mingw32-make[1]: *** [bootstrap-temacs] Error 2
mingw32-make[1]: Leaving directory `D:/cygwin/home/water/emacs23/emacs/src'
mingw32-make: *** [bootstrap-gmake] Error 2
-----------------------------------------------------

Why and thanks.

-- 
Water Lin
http://blog.waterlin.org


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

* Re: Why I can't compile the Eamcs23 under Windows XP?
  2009-08-07  1:40 Why I can't compile the Eamcs23 under Windows XP? Water Lin
@ 2009-08-07  8:47 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2009-08-07  8:47 UTC (permalink / raw)
  To: Water Lin; +Cc: help-gnu-emacs

> From: Water Lin <WaterLin@ymail.com>
> Date: Fri, 7 Aug 2009 01:40:24 +0000 (UTC)
> 
> I think I follow the steps instructed on the page of
> http://ourcomments.org/Emacs/w32-build-emacs.html.
> 
> But I still can't compile Emacs23 under my Windows.
> 
> Here is my main steps:
> 
> 1) install MinGW; also install CoreUtils for Windows tool.
> 
> 2) check out CVS code, enter the nt folder within windows cmd.exe.
> 
> 3) run configure:
> configure.bat --with-gcc --cflags -IC:/"Program Files"/GnuWin32/include
> --without-xpm
> 
> PS: I install xpm but I can't find it in configure. My version of xpm is
> from:
> http://gnuwin32.sourceforge.net/packages/xpm.htm
> 
> I feel very strange.
> 
> 4) run make command:
> mingw32-make bootstrap
> 
> When I make, the cmd shows errors:
> --------------------------------------------------
> ./process.h:35: error: syntax error before "EMACS_UINT"

Something is very wrong with your installation.  Can you compile a
simple C program?

Please also post a full list of packages you installed under item 1
above.




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

end of thread, other threads:[~2009-08-07  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07  1:40 Why I can't compile the Eamcs23 under Windows XP? Water Lin
2009-08-07  8:47 ` Eli Zaretskii

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