[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bootstrap problems on w32

From: Sam Steingold
Subject: Re: Bootstrap problems on w32
Date: Mon, 31 Jan 2011 12:47:35 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> * Eli Zaretskii <address@hidden> [2011-01-31 10:15:52 -0500]:
>> > * Eli Zaretskii <address@hidden> [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
-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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]