Mail Archives: djgpp/2005/03/19/12:13:38
> Date: Fri, 18 Mar 2005 17:52:54 +0200
> From: "Eli Zaretskii" <eliz AT gnu DOT org>
>
> I'll try to debug the problem when I have free time, but I no longer
> have enough of that to promise any firm date. (Emacs 21.4 was
> produced from a branch that I considered long dead, so I don't track
> changes checked into that branch.) In the meantime, I suggest to try
> an older version of Emacs (21.3, perhaps) and/or older version of
> GCC/Binutils.
Googling for the error message reveals that (1) this problem was
reported to GCC maintainers many times in the past, for versions of
GCC as old as 2.95.3; and (2) it is related to forwad references,
i.e. when a function is called before it is defined.
While I can avoid the error in short examples by reordering functions
so that no forward references are used, doing so in a huge file such
as keyboard.c is not simple, and I couldn't find the function(s) that
trigger this error.
For now, here's a work-around that doesn't require to install an older
version of GCC: go to the src directory and type the following
command:
make keyboard.o CFLAGS='-O2'
This will produce a valid keyboard.o, but without debug info. Then go
back to the top-level directory ("cd ..") and type "make install"
again to continue the build process.
- Raw text -