Re[1]: [CEDET-devel] Why I always get error message when I want to load semantic?
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2002-09-28 12:48:32
|
>>> "Wang Li" <ch...@li...> seems to think that: >Hi, > >I untar 'speedbar-0.12.tar.gz', 'eieio-0.17.tar.gz', 'semantic-1.4.tar.gz', >'ecb-1.80.tar.gz' in >/usr/share/emacs/site-lisp/ecb. And add the following line into >/usr/share/emacs/site-lisp/site-start.el: > >(add-to-list 'load-path "/usr/share/emacs/site-lisp/ecb/speedbar-0.12") >(autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t) >(autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t) >(define-key-after (lookup-key global-map [menu-bar tools]) > [speedbar] '("Speedbar" . speedbar-frame-mode) [calendar]) >(global-set-key [(f4)]) 'speedbar-get-focus) > >(add-hook 'texinfo-mode-hook (lambda () (require 'sb-texinfo))) >(autoload 'rpm "sb-rpm" "Rpm package listing in speedbar") > >(add-to-list 'load-path "/usr/share/emacs/site-lisp/ecb/eieio-0.17") > >(add-to-list 'load-path "/usr/share/emacs/site-lisp/ecb/semantic-1.4") >(setq semantic-load-turn-everything-on t) >(require 'semantic-load) > >(add-to-list 'load-path "/usr/share/emacs/site-lisp/ecb/ecb-1.80") > >Then I start my emacs but the following error is reported (Read from >*Message*): >Finish loading /usr/share/emacs/site-lisp/egg/leim-list.el > and load others... >Loading /usr/share/emacs/21.2/leim/leim-list.el (source)...done >(emacs) >Loading disp-table...done >Loading /usr/share/emacs/site-lisp/site-start.d/aspell-init.el >(source)...done >Loading /usr/share/emacs/site-lisp/site-start.d/lang.emacs.el (source)... >Loading /usr/share/emacs/site-lisp/lang/lang-zh_CN.el (source)... >Loading encoded-kb...done >Loading /usr/share/emacs/site-lisp/lang/lang-zh_CN.el (source)...done >Loading /usr/share/emacs/site-lisp/site-start.d/lang.emacs.el >(source)...done >Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el >(source)...done >Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el >(source)...done >Loading /usr/libexec/emacs/21.2/i386-redhat-linux/fns-21.2.1.el >(source)...done >Loading semantic-util-modes (source)...done >cond: Symbol's function definition is void: semantic-map-buffers > >What's wrong with it? > >Help me please, I'm eager to try ecb... ;) Thank you. [ ... ] If you add (require 'semantic-util) at the top of semantic-load.el, it will fix the problem. Eric -- Eric Ludlam: za...@gn..., er...@si... Home: http://www.ludlam.net Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org |