[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Invalid function upon loading image at startup
From: |
Stephen Berman |
Subject: |
Re: Invalid function upon loading image at startup |
Date: |
Tue, 25 Oct 2005 16:18:52 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
On Tue, 25 Oct 2005 15:51:34 +0200 Eli Zaretskii <address@hidden> wrote:
>> From: Stephen Berman <address@hidden>
>> Date: Tue, 25 Oct 2005 10:28:05 +0200
>>
>> I just built Emacs from CVS (using make and make recompile) without
>> any error messages, and upon starting with emacs -q an invalid
>> function error is raised, and the frame has a very thin tool bar with
>> no buttons. Here are the messages:
>>
>> Loading help-fns...done
>> Loading mwheel...done
>> (./src/emacs -q)
>> Loading disp-table...done
>> Loading tool-bar...done
>> Loading image...
>> byte-code: Invalid function: (macro . #[(&rest body)
>
> Remove all the lisp/*.elc file, then recompile them and redump Emacs
> (or just "make bootstrap"), and the problem will go away.
In response to Romain Francoise's reply I did make clean, configure,
and make bootstrap on the same sources, but it didn't work. I guess I
should have used make distclean first, so I just did, but again it
halted with the same error:
Compiling /home/steve/cvsroot/emacs/lisp/emacs-lisp/byte-opt.el
Wrote /home/steve/cvsroot/emacs/lisp/emacs-lisp/byte-opt.elc
Compiling /home/steve/cvsroot/emacs/lisp/emacs-lisp/bytecomp.el
In end of data:
bytecomp.el:4165:1:Warning: the function `compilation-forget-errors' is not
known to be defined.
Wrote /home/steve/cvsroot/emacs/lisp/emacs-lisp/bytecomp.elc
Compiling /home/steve/cvsroot/emacs/lisp/subr.el
Wrote /home/steve/cvsroot/emacs/lisp/subr.elc
Compiling /home/steve/cvsroot/emacs/lisp/progmodes/cc-mode.el
In toplevel form:
progmodes/cc-mode.el:84:1:Error: Invalid function: 1
make[1]: *** [compile] Error 1
make[1]: Leaving directory `/home/steve/cvsroot/emacs/lisp'
make: *** [bootstrap-build] Error 2
Steve Berman