From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Newbie: Compiling Emacs 21.2 with MinGW Date: 03 Sep 2003 13:46:41 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1062645070 25985 80.91.224.253 (4 Sep 2003 03:11:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2003 03:11:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 05:11:08 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ukWa-00075w-00 for ; Thu, 04 Sep 2003 05:11:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19ukNo-0002YN-5E for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Sep 2003 23:02:04 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19uVBf-0005ty-FA for help-gnu-emacs@gnu.org; Wed, 03 Sep 2003 06:48:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19uV9E-0005NB-0K for help-gnu-emacs@gnu.org; Wed, 03 Sep 2003 06:46:02 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.22) id 19uV8D-000597-W4 for help-gnu-emacs@gnu.org; Wed, 03 Sep 2003 06:44:58 -0400 Original-To: help-gnu-emacs@gnu.org In-reply-to: (Kai.Grossjohann@gmx.net) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12261 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12261 > From: Kai.Grossjohann@gmx.net (Kai Grossjohann) > Newsgroups: gnu.emacs.help > Date: 2 Sep 2003 05:06:55 -0700 > > Anyhow, I installed MinGW and MSYS. I added c:\mingw\bin and > c:\msys\1.0\bin to %PATH%. Then I went to the emacs-21.2/nt directory > and invoked: > > configure --prefix=c:\programme\emacs-21.2 > > It told me to run gmake. I don't have gmake. So I ran make instead, > which > gave an error. Running make again gives the following output: > > E:\src\emacs\emacs-21.2\nt>make > [Please ignore a syntax error on the next line - it is intentional] > /bin/sh.exe: -c: line 1: unexpected EOF while looking for matching `"' > /bin/sh.exe: -c: line 2: syntax error: unexpected end of file > Using /bin/sh.exe as shell. > make - --unix -C ../lib-src all Does this mean you have a Cygwin port of Bash (identified above as "/bin/sh") and a Cygwin port of GNU Make? If so, please make sure you are not using a version of Make that is marked as "fails" in the nt/INSTALL file. In general, unless you already did, please read the file nt/INSTALL in its entirety, especially the Troubleshooting section, and see if something there applies to your installation. Finally, what version of GCC do you have? > w32fns.c:13973:1: directives may not be used inside a macro argument > w32fns.c:13963:16: unterminated argument list invoking macro > "DEFVAR_LISP" > w32fns.c: In function `syms_of_w32fns': > w32fns.c:13974: `DEFVAR_LISP' undeclared (first use in this function) > w32fns.c:13974: (Each undeclared identifier is reported only once > w32fns.c:13974: for each function it appears in.) > w32fns.c:13974: parse error before string constant Please show the offending lines cited by the compiler, and the definition of DEFVAR_LISP (on lisp.h, IIRC) in that version of Emacs (sorry, I don't have that version handy to look at it).