bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Problem compiling Emacs 21.1 - coff.h not found in src/unexec.c on


From: Eli Zaretskii
Subject: Re: Problem compiling Emacs 21.1 - coff.h not found in src/unexec.c on ISC 4.1a
Date: Wed, 07 Nov 2001 19:26:10 +0200

> From: "Andrew Wiseman" <address@hidden>
> Date: Wed, 7 Nov 2001 14:22:09 -0000
> 
> So it would seem that in both 20.6.1 and 21.1 on my machine, COFF is
> defined to be 1. But in emacs 21.1, it is assumed in src/unexec.c that
> this implies <coff.h> is present when it isn't. If my reading of
> emacs-20.6/src/unexec.c is correct, <coff.h> is only included #ifdef
> MSDOS.

Yes, this is a real change.

> As a wild stab in the dark, I made the following change
> emacs-21.1/src/unexec.c line 175
> changed from
>      #include <coff.h>
> to
>      #include <a.out.h>
> 
> The compile then goes right through to the end

That's good.

> but gives this error:
> 
>      undefined                       first referenced
>       symbol                             in file
>      wait3                               process.o

This is a different problem.  Strangely, process.c called wait3 in
Emacs 20.6 as well, so perhaps some other preprocessor symbol is at
work here.

Could you please post the result of "diff -c emacs-20.6/src/config.h
emacs-21.1/src/config.h"?



reply via email to

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