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

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

error with 'make bootstrap' for generic-x.el


From: Chris Moore
Subject: error with 'make bootstrap' for generic-x.el
Date: Tue, 29 Mar 2005 05:10:14 +0200

I just ran a "cvs update" and a "make bootstrap" for the first time
in about a year.  The 'make bootstrap" failed, compiling
'generic-x.el':

    Compiling /home/chris/programs/emacs/lisp/./fringe.el
    Wrote /home/chris/programs/emacs/lisp/fringe.elc
    Compiling /home/chris/programs/emacs/lisp/./generic-x.el

    In toplevel form:
    generic-x.el:160:22:Warning: reference to free variable
        `apache-conf-generic-mode'
    [... more 'free variable' warnings deleted ...]
    generic-x.el:316:11:Error: Symbol's function definition is void:
generic-make-keywords-list
    make[1]: *** [compile] Error 1
    make[1]: Leaving directory `/home/chris/programs/emacs/lisp'
    make: *** [bootstrap-build] Error 2

Inserting a single quote at the beginning of line 302:
  '(define-generic-mode bat-generic-mode
and running 'make bootstrap' again fixed the problem.  After that I
was able to remove the quote and recompile.  Function
generic-make-keywords-list is defined in generic.el.

Note that there are many calls to generic-make-keywords-list in that
file, but I only had to effectively remove one of them to get the file
to compile.  It looks like the call for bat-generic-mode is the only
one which is within a 'when' macro which contains more than just the
call to generic-make-keywords-list - there are a couple of defvars, a
bunch of defuns, a define-key and an 'unless' in there with it.  Could
that be causing the problem?

Chris.




In GNU Emacs 21.3.50.2 (i686-pc-linux-gnu, X toolkit)
 of 2004-05-28 on chrislap.ourcpu.com
Distributor `Mandrakelinux (X.Org X11 6.7.0, patch level 4.2.101mdk)',
version 11.0.60700000
Important settings:
  value of $LC_ALL: C
  value of $LC_COLLATE: en_US
  value of $LC_CTYPE: en_US
  value of $LC_MESSAGES: en_US
  value of $LC_MONETARY: en_GB
  value of $LC_NUMERIC: en_GB
  value of $LC_TIME: en_US
  value of $LANG: en_US
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: J-Shell

Minor modes in effect:
  auto-compression-mode: t
  display-time-mode: t
  show-paren-mode: t
  iswitchb-mode: t
  mouse-wheel-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
T h e SPC f u n c t i o n s SPC w h i c h SPC a l l 
o w SPC y o u SPC t o SPC v i e w SPC r e c e n t SPC 
k e y s t r o k e s SPC h a v e SPC b e e n C-j h i 
d d e n SPC b y SPC j - s h e l l , SPC t o SPC p r 
o t e c t SPC p a s s w o r d s SPC e n t e r e d SPC 
i n SPC s h e l l SPC b u f f e r s .

Recent messages:
Wrote /home/chris/programs/emacs/lisp/generic-x.el
Mark saved where search started
Mark set [3 times]
Mark saved where search started
Mark set
Mark saved where search started
Mark set
Mark saved where search started
Making completion list...
Loading emacsbug...done




reply via email to

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