Gunnar Evermann wrote:
I just tried building 21.2.35 with 'make -j4', i.e. 4 parallel jobs.
It seems to have worked ok (I got a working binary), but during the
build I saw the following:
gcc -c -g -Wall -Wno-switch -Demacs -I. -DHAVE_CONFIG_H -I/usr/X11R6/include
-DDEFINE_TOP_LEVEL_EMACS_SHELL /data/scratch/ge204/src/XEmacs/xemacs/src/EmacsShell-sub.c
mv EmacsShell-sub.o TopLevelEmacsShell.o
mv EmacsShell-sub.o TopLevelEmacsShell.o
mv: `EmacsShell-sub.o' and `TopLevelEmacsShell.o' are the same file
make[1]: *** [TopLevelEmacsShell.o] Error 1
gcc -c -g -Wall -Wno-switch -Demacs -I. -DHAVE_CONFIG_H -I/usr/X11R6/include
-DDEFINE_TRANSIENT_EMACS_SHELL /data/scratch/ge204/src/XEmacs/xemacs/src/EmacsShell-sub.c
make[1]: Leaving directory
`/data/scratch/ge204/src/XEmacs/build-2907-parthenope-j4/src'
make: *** [dump-elcs] Error 2
mv EmacsShell-sub.o TransientEmacsShell.o
gcc -c -g -Wall -Wno-switch -Demacs -I. -DHAVE_CONFIG_H -I/usr/X11R6/include
/data/scratch/ge204/src/XEmacs/xemacs/src/EmacsManager.c
I don't quite understand this, but maybe sombody could tweak the
makefiles some to avoid this?
the code is this:
TopLevelEmacsShell.o : ${srcdir}/EmacsShell-sub.c config.h xintrinsicp.h
EmacsShellP.h
$(CC) -c $(cflags) -DDEFINE_TOP_LEVEL_EMACS_SHELL ${srcdir}/EmacsShell-sub.c
mv EmacsShell-sub.o TopLevelEmacsShell.o
TopLevelEmacsShell.c.rtl : ${srcdir}/EmacsShell-sub.c config.h xintrinsicp.h
EmacsShellP.h
$(CC) -dr -c $(cflags) -DDEFINE_TOP_LEVEL_EMACS_SHELL
${srcdir}/EmacsShell-sub.c
mv EmacsShell-sub.c.rtl TopLevelEmacsShell.c.rtl
TransientEmacsShell.o : ${srcdir}/EmacsShell-sub.c TopLevelEmacsShell.o config.h
xintrinsicp.h EmacsShellP.h
$(CC) -c $(cflags) -DDEFINE_TRANSIENT_EMACS_SHELL ${srcdir}/EmacsShell-sub.c
mv EmacsShell-sub.o TransientEmacsShell.o
TransientEmacsShell.c.rtl : ${srcdir}/EmacsShell-sub.c TopLevelEmacsShell.o
config.h xintrinsicp.h EmacsShellP.h
$(CC) -dr -c $(cflags) -DDEFINE_TRANSIENT_EMACS_SHELL
${srcdir}/EmacsShell-sub.c
mv EmacsShell-sub.c.rtl TransientEmacsShell.c.rtl
try replacing mv with cp and/or adding EmacsShell-sub.{o,rtl} to both dependency
lists.
Gunnar
uname -a: Linux parthenope 2.2.14-1smp #1 SMP Mon Feb 21 11:25:50 GMT 2000 i686 unknown
../xemacs/configure '--with-pop' '--prefix=/tools/emacs'
'--with-toolbars=no' '--with-dialogs=no' '--cflags=-g -Wall
-Wno-switch'
XEmacs 21.2-b35 "Nike" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /data/scratch/ge204/src/XEmacs/xemacs
Installation prefix: /tools/emacs
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -Wall -Wno-switch
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Internationalization:
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for dynamic shared object modules.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
--
Ben
In order to save my hands, I am cutting back on my mail. I also write
as succinctly as possible -- please don't be offended. If you send me
mail, you _will_ get a response, but please be patient, especially for
XEmacs-related mail. If you need an immediate response and it is not
apparent in your message, please say so. Thanks for your understanding.
See also
http://www.666.com/ben/chronic-pain/