|
RE: Re[1]: [cedet-semantic] problems loading, making semantic 2x
From: Berndl, Klaus <klaus.berndl@sd...> - 2003-03-08 16:52
|
>Fascinating. Is that error "Already Loaded" appearing inside
>semantic-al.el? This file is auto-generated, and the error doesn't
>appear in the one built by Emacs.
>You may be the first one to try our new make harness with XEmacs. We
>use `load' in Emacs because we can't require the file. XEmacs seems
>to have solved that problem. Does changing semantic-load.el to use
>require fix XEmacs?
No correct, you could use require if you would generate a provide
statement into your semantic-al.el! XEmacs generates a provide-
statement...
I have sent David a patch of semantic-autogen.el which generates
a provide-statement and takes a little bit more care about XEmacs.
Klaus
>>> Stuart Popejoy <stuart@...> seems to think that:
>I'm trying to use make to compile semantic 2x from cvs and running into
>the following problem. an "Already Loaded" error keeps popping up. This
>also happens when I try to load semantic2 without compiling it from my
>init file.
>
>I'm using xemacs 21.4 on debian.
>
>Make output:
>
>$ make clean
>rm -f *.elc *.html *.info
>stuart@...$ make
>for loadpath in . wisent/ bovine/ ../common/ ../speedbar/ ../eieio/ ; do
>\
> echo "(add-to-list 'load-path \"$loadpath\")" >> init-compile-script;
>\
>done;
>xemacs -batch -l init-compile-script -f batch-byte-compile
>semantic-load.el semantic-autogen.el semantic-al.el
>Compiling
>/usr/local/lib/xemacs/xemacs-packages/lisp/semantic/semantic-load.el...
>While compiling the end of the data in file
>/usr/local/lib/xemacs/xemacs-packages/lisp/semantic/semantic-load.el:
> ** the function which-func-mode is not known to be defined.
>Wrote
>/usr/local/lib/xemacs/xemacs-packages/lisp/semantic/semantic-load.elc
>Compiling
>/usr/local/lib/xemacs/xemacs-packages/lisp/semantic/semantic-autogen.el...
>>>Error occurred processing semantic-autogen.el:
>Already loaded
>
>
>Compiling
>/usr/local/lib/xemacs/xemacs-packages/lisp/semantic/semantic-al.el...
>>>Error occurred processing semantic-al.el:
>Already loaded
>
>
>Done
>make: *** [init] Error 1
>
>
>
>Debug output from startup (it looks like jde is requiring semantic after
>my accel tool requires it, causing the error):
>
>Signaling: (error "Already loaded")
> signal(error ("Already loaded"))
> cerror("Already loaded")
> apply(cerror "Already loaded" nil)
> error("Already loaded")
> (if (featurep (quote semantic-autoloads)) (error "Already loaded"))
> load-internal("semantic-al" nil t nil nil nil)
> load("semantic-al" nil t)
> byte-code("..." [dir load "semantic-al" nil t file-name-directory
>locate-library "semantic" add-to-list load-path "bovine" "wisent"
>eval-after-load "speedbar" (progn (require ...) (require ...))] 4)
> load-internal("semantic-load" nil t nil nil nil)
> load("semantic-load" nil t nil)
> require(semantic-load)
> byte-code("..." [jde-emacs21p jde-xemacs20p jde-xemacsp
>emacs-major-version current-load-list 20 string-match "\\bEmacs\\b"
>emacs-version 21 require jde-help semantic-load easymenu cl font-lock
>cc-mode cus-edit comint jde-compile jde-db jde-bug jde-jdb jde-run
>jde-make jde-gen compile imenu speedbar browse-url beanshell jde-wiz
>jde-java-grammar jde-complete jde-javadoc jde-javadoc-gen jde-stat
>jde-which-method jde-java-font-lock jde-import jde-package executable
>jde-ant efc jde-open-source jde-checkstyle fboundp custom-set-default
>defalias set-default ...] 8)
> load-internal("jde" nil t nil nil nil)
> load("jde" nil t nil)
> require(jde)
>
>[ ... ]
>
>Thanks,
>Stuart
>
>
--
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. http://www.etnus.com
_______________________________________________
cedet-semantic mailing list
cedet-semantic@...
https://lists.sourceforge.net/lists/listinfo/cedet-semantic
|
| Thread | Author | Date |
|---|---|---|
| RE: Re[1]: [cedet-semantic] problems loading, making semantic 2x | Berndl, Klaus <klaus.berndl@sd...> |