From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: HL Newsgroups: gmane.emacs.help Subject: Error when compiling emacs-unicode-2 on windows Date: Wed, 6 Aug 2008 19:20:42 -0700 (PDT) Organization: http://groups.google.com Message-ID: <40dd232e-2316-40c3-989f-8d8ee0b60fe6@r35g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218120388 28176 80.91.229.12 (7 Aug 2008 14:46:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2008 14:46:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 16:47:19 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KR6lg-0007vT-Bc for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Aug 2008 16:47:08 +0200 Original-Received: from localhost ([127.0.0.1]:38538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KR6kk-0004gw-Sl for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Aug 2008 10:46:10 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r35g2000prm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 87 Original-NNTP-Posting-Host: 210.13.70.132 Original-X-Trace: posting.google.com 1218075643 31498 127.0.0.1 (7 Aug 2008 02:20:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 7 Aug 2008 02:20:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r35g2000prm.googlegroups.com; posting-host=210.13.70.132; posting-account=zF4t9QoAAABb0eRNzFfZeUc0XCBX7Rll User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; InfoPath.1),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 proxy.pvgl.sap.corp:8080 (squid) Original-Xref: news.stanford.edu gnu.emacs.help:160879 X-Mailman-Approved-At: Thu, 07 Aug 2008 10:43:51 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56240 Archived-At: 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.