From: Sam Steingold <sds@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Bootstrap problems on w32
Date: Mon, 31 Jan 2011 12:47:35 -0500 [thread overview]
Message-ID: <svfws9q820.fsf@tbox.m2.algo> (raw)
In-Reply-To: E1PjvTs-0004s3-5G@fencepost.gnu.org
> * Eli Zaretskii <ryvm@tah.bet> [2011-01-31 10:15:52 -0500]:
>> > * Eli Zaretskii <ryvm@tah.bet> [2011-01-29 14:57:56 +0200]:
>> >> Recently I had several problems compiling Emacs on Windows.
>> > Should be fixed now.
>>
>> bzr pull a few minutes ago.
>> gcc -I. -c -mno-cygwin -mtune=pentium4 -O2 -IC:/gnu/gnuwin32/include
>> -Demacs=1 -DHAVE_CONFIG_H -I../lib -I../nt/inc -DHAVE_NTGUI=1
>> -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o oo-spd/i386/emacs.o emacs.c
>> emacs.c:91: error: `VERSION' undeclared here (not in a function)
>> make[2]: *** [oo-spd/i386/emacs.o] Error 1
>> make[2]: Leaving directory `...emacs/trunk/src'
>
> "bzr blame" will show that this comes from a commit made just a few
> hours ago.
Yes, am not blaming you.
I am just asking for a fix.
BTW, if I use a stop-gap work-around
==============================================================================
=== modified file 'src/emacs.c'
--- src/emacs.c 2011-01-31 08:12:52 +0000
+++ src/emacs.c 2011-01-31 17:40:41 +0000
@@ -88,7 +88,7 @@ along with GNU Emacs. If not, see <http
#endif
#endif
-static const char emacs_version[] = VERSION;
+static const char emacs_version[] = "VERSION";
static const char emacs_copyright[] = "Copyright (C) 2011 Free Software Foundation, Inc.";
/* Make these values available in GDB, which doesn't see macros. */
==============================================================================
I still get a failure:
gcc -I. -c -mno-cygwin -mtune=pentium4 -O2 -IC:/gnu/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib -I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o oo-spd/i386/region-cache.o region-cache.c
make[1]: *** No rule to make target `strftime.c', needed by `oo-spd/i386/strftime.o'. Stop.
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://honestreporting.com http://www.memritv.org http://thereligionofpeace.com
http://camera.org http://openvotingconsortium.org http://pmw.org.il
A man paints with his brains and not with his hands.
next prev parent reply other threads:[~2011-01-31 17:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-19 10:27 Bootstrap problems on w32 B. Anyos
2011-01-29 12:57 ` Eli Zaretskii
2011-01-31 15:02 ` Sam Steingold
2011-01-31 15:15 ` Eli Zaretskii
2011-01-31 17:47 ` Sam Steingold [this message]
2011-01-31 19:47 ` Eli Zaretskii
2011-01-31 20:08 ` Sam Steingold
2011-01-31 20:15 ` Eli Zaretskii
2011-01-31 20:19 ` Sam Steingold
2011-01-31 20:47 ` Eli Zaretskii
2011-01-31 21:30 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=svfws9q820.fsf@tbox.m2.algo \
--to=sds@gnu.org \
--cc=emacs-devel@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.