unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kai.Grossjohann@gmx.net (Kai Grossjohann)
Subject: Newbie: Compiling Emacs 21.2 with MinGW
Date: 2 Sep 2003 05:06:55 -0700	[thread overview]
Message-ID: <e808b168.0309020406.ce7c338@posting.google.com> (raw)

I'm trying to compile Emacs 21.2 (it's the most recent tarball I could
find,
emacs-21.3.tar.gz seems to be still down) with MinGW.  I have no
experience
whatsoever using Windows and MinGW...

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
[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
make[1]: Entering directory `/e/src/emacs/emacs-21.2/lib-src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/e/src/emacs/emacs-21.2/lib-src'
make - --unix -C ../src all
[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
make[1]: Entering directory `/e/src/emacs/emacs-21.2/src'
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g 
-mcpu=i686
-O2  -Di386 -D_CRTAPI1=_cdecl   -Demacs=1 -DWINDOWSNT -DDOS_NT
-DHAVE_CONFIG_H -
I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o
oo-spd/i386/w32fns.o w32
fns.c
w32fns.c: In function `w32_to_all_x_charsets':
w32fns.c:6142: warning: return makes integer from pointer without a
cast
w32fns.c: In function `Ffile_system_info':
w32fns.c:13600: warning: passing arg 2 of pointer to function from
incompatible
pointer type
w32fns.c:13600: warning: passing arg 3 of pointer to function from
incompatible
pointer type
w32fns.c:13600: warning: passing arg 4 of pointer to function from
incompatible
pointer type
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
make[1]: *** [oo-spd/i386/w32fns.o] Error 1
make[1]: Leaving directory `/e/src/emacs/emacs-21.2/src'
make: *** [all-other-dirs-gmake] Error 2

E:\src\emacs\emacs-21.2\nt>

So, what do I do now?

Is it fixed in 21.3?  Then where can I get that?

Kai

             reply	other threads:[~2003-09-02 12:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-02 12:06 Kai Grossjohann [this message]
2003-09-02 13:41 ` Newbie: Compiling Emacs 21.2 with MinGW Matthias Rempe
2003-09-04  9:46   ` Kai Grossjohann
2003-09-02 14:13 ` Peter Lee
2003-09-02 14:37 ` lawrence mitchell
2003-09-02 20:28   ` Jason Rumney
2003-09-02 20:26 ` Jason Rumney
2003-09-03 13:02   ` Vladimir Grul
2003-09-03 21:11     ` Jason Rumney
2003-09-03  7:19 ` Vladimir Grul
2003-09-03 11:46 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e808b168.0309020406.ce7c338@posting.google.com \
    --to=kai.grossjohann@gmx.net \
    /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.
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).