>>>> "Gunnar" == Gunnar Evermann
<ge204(a)eng.cam.ac.uk> writes:
Gunnar> make[1]: Leaving directory
`/data/scratch/ge204/src/XEmacs/build-2907-parthenope-j4/src'
Gunnar> make: *** [dump-elcs] Error 2
Gunnar> mv EmacsShell-sub.o TransientEmacsShell.o
Gunnar> gcc -c -g -Wall -Wno-switch -Demacs -I. -DHAVE_CONFIG_H -I/usr/X11R6/include
/data/scratch/ge204/src/XEmacs/xemacs/src/EmacsManager.c
Gunnar> I don't quite understand this, but maybe sombody could tweak the
Gunnar> makefiles some to avoid this?
This should fix it.
./src/ChangeLog:
2000-07-30 Martin Buchholz <martin(a)xemacs.org>
* Makefile.in.in (TransientEmacsShell.o): Fix race condition.
Index: ./src/Makefile.in.in
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/src/Makefile.in.in,v
retrieving revision 1.81.2.27
diff -u -w -r1.81.2.27 Makefile.in.in
--- Makefile.in.in 2000/07/21 10:15:42 1.81.2.27
+++ Makefile.in.in 2000/07/30 09:02:05
@@ -555,6 +555,10 @@
$(CC) -dr -c $(cflags) -DDEFINE_TRANSIENT_EMACS_SHELL ${srcdir}/EmacsShell-sub.c
mv EmacsShell-sub.c.rtl TransientEmacsShell.c.rtl
+## The above rules are subject to a race condition if using a parallel make.
+TransientEmacsShell.o : TopLevelEmacsShell.o
+TransientEmacsShell.c.rtl : TopLevelEmacsShell.c.rtl
+
## Position-independent code for shared library creation
#if USE_GCC
pic_arg = -fpic