[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem compiling Emacs 21.1 - coff.h not found in src/unexec.c on ISC
Problem compiling Emacs 21.1 - coff.h not found in src/unexec.c on ISC 4.1a
Tue, 6 Nov 2001 14:31:36 -0000
When trying to compile the new version of GNU Emacs
GNU Emacs version 21.1
on my Pentium PC
running SunSoft Interactive Unix 4.1a (i.e. 4.1 with the maintenance
make -k causes all of the source code to compile, except for unexec.c,
giving the error:
unexec.c:175: coff.h: No such file or directory
Looking at src/unexec.c we see:
174: #ifdef COFF
175: #include <coff.h>
and indeed, my machine has no coff.h in either /usr/include or
/usr/sys/include (or anywhere else on the disk).
I had run the configure program without any arguments, and it picked up
It decided to use gcc to compile, which is version 2.7.0.
The source includes m/intel386.h and s/isc4-1.h (which includes
s/isc3-0.h, which includes s/isc2-2.h, which includes s/usg5-3.h, which
I tried adding "#undef COFF" to the top of s/isc4-1.h then doing a "make
clean", followed by another "make -k" to see if I could get around the
problem. But this time I got a lot of error messages about trying to use
Then I tried replacing "#undef COFF" with "#define CANNOT_DUMP". This
got rid of the error messages, but the final binary refused to compile,
then we get
undefined first referenced
symbol in file
So now I'm at a loss.
I have previously compiled old Emacs versions (19.28, 19.29 and most
recently 20.6), without too much difficulty.
Any help gratefully received!
- Problem compiling Emacs 21.1 - coff.h not found in src/unexec.c on ISC 4.1a,
Andrew Wiseman <=