Dear Reinhard, If you build your own VM, here is a quick fix. Please put
this definition in vm-misc.el:
(defun vm-make-local-hook (hook)
(if (fboundp 'make-local-hook) ; Emacs/XEmacs 21
(make-local-hook hook)))
and replace all calls to make-local-hook in .../vm/lisp directory to calls
to vm-make-local-hook. Then recompile by doing
make clean; make
in the lisp directory.
I am trying to get you off the ground with Emacs 24 so that you can check
what other problems might arise in Emacs 24.
Cheers,
Uday