Hey there,
I've been using emacs for quite a few years, but never byte compiled
anything until I started using the JDE... so bear with me. I've
checked all the documentation and FAQs I could find, but I'm still a
bit confused. I've byte compiled all the JDEE packages a number of
times, but gotten errors every time: this time I've got a shiny new
machine and I'd like to actually see if I'm compiling everything
correctly.
It may be possible that I don't have some of the requirements for
compiling the packages, since I'm getting a lot of "function not
found"s, but I can't find any documentation.
Going really slowly, here's what I get when I try to compile eieio
(0.17beta3, but I get similar errors with 0.16):
------------------------------------------------
(/opt/emacs-21.1/site-src/eieio-0.17beta3){dispader}5:12pm] make
emacs -batch -l eieio-compile-script -f batch-byte-compile eieio.el eieio-comp.el
eieio-opt.el eieio-custom.el eieio
doc.el eieio-base.el compare-strings.el
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/eieio.elc
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/eieio-comp.elc
Loading cl-macs...
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/eieio-opt.elc
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/eieio-custom.elc
While compiling eieiodoc-one-node in file
d:/opt/emacs-21.1/site-src/eieio-0.17beta3/eieio-doc.el:
** reference to free variable indexstring
** reference to free variable root-class
** reference to free variable rclass
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/eieio-doc.elc
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/eieio-base.elc
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/compare-strings.elc
Done
emacs -batch -l examples-compile-script -f batch-byte-compile tree.el call-tree.el
chart.el eieio-speedbar.el linema
k.el
Loading cl-macs...
While compiling tree-box-1 in file d:/opt/emacs-21.1/site-src/eieio-0.17beta3/tree.el:
** reference to free variable i
** assignment to free variable ok
** reference to free variable ok
** assignment to free variable i
While compiling directory-tree-more-nodes in file
d:/opt/emacs-21.1/site-src/eieio-0.17beta3/tree.el:
** reference to free variable path-path
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/tree.elc
While compiling the end of the data in file
d:/opt/emacs-21.1/site-src/eieio-0.17beta3/call-tree.el:
** The following functions are not known to be defined:
describe-function-find-file, eldoc-print-fnsym-args
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/call-tree.elc
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/chart.elc
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/eieio-speedbar.elc
While compiling the end of the data in file
d:/opt/emacs-21.1/site-src/eieio-0.17beta3/linemark.el:
** The function `extent-list' is not known to be defined.
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/linemark.elc
Done
(/opt/emacs-21.1/site-src/eieio-0.17beta3){dispader}5:12pm]
------------------------------------------------
From the script, you might guess that I'm running W2k with the
latest Cygwin tools. Anyhow, I get the *.elc files, but I'm worried
by messages like:
** The following functions are not known to be defined:
describe-function-find-file, eldoc-print-fnsym-args
And:
While compiling the end of the data in file
d:/opt/emacs-21.1/site-src/eieio-0.17beta3/linemark.el:
** The function `extent-list' is not known to be defined.
Wrote d:/opt/emacs-21.1/site-src/eieio-0.17beta3/linemark.elc
I also get similar errors trying to compile speedbar and the like.
Are these "normal?" Am I missing a dependency (the only one I could
find was the note in the JDE's makefile concerning elib, which I have
byte compiled and installed with no errors).
Thanks much.
Jake