From: HL <moogle.ling@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Error when compiling emacs-unicode-2 on windows
Date: Wed, 6 Aug 2008 19:20:42 -0700 (PDT) [thread overview]
Message-ID: <40dd232e-2316-40c3-989f-8d8ee0b60fe6@r35g2000prm.googlegroups.com> (raw)
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.
next reply other threads:[~2008-08-07 2:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-07 2:20 HL [this message]
2008-08-07 14:48 ` Error when compiling emacs-unicode-2 on windows 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40dd232e-2316-40c3-989f-8d8ee0b60fe6@r35g2000prm.googlegroups.com \
--to=moogle.ling@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.