Oops, the problem was just that my local copy was out-of-date.
 -----Original Message-----
 From: Ben Wing [mailto:ben@666.com] 
 Sent: Thursday, February 03, 2005 5:34 PM
 To: 'xemacs-beta(a)xemacs.org'
 Cc: 'zevlg(a)yandex.ru'
 Subject: XWEM build is broken again
 
 
 I get this error when compiling XWEM under MS Windows.
 
 >>Error occurred processing lisp/xwem-main.el: Symbol's value as 
 >>variable is voi
 d: x-emacs-application-class
 
 I remember this occurring before, and thought it was fixed?
 
 Zajcev, did this somehow not get fixed in your upstream version?
 
 Backtrace follows:
 
 While compiling toplevel forms in file 
 c:\xemacs\package-src\xemacs-packages\xwe
 m\lisp\xwem-main.el:
   !! Symbol's value as variable is void ((x-emacs-application-class))
   backtrace(nil t)
   # bind (error-info)
   byte-compile-report-error((void-variable x-emacs-application-class))
   # bind (error-info)
   #<compiled-function (error-info) "...(4)" [error-info 
 byte-compile-report-erro r] 2>((void-variable 
 x-emacs-application-class))
   (concat "^" x-emacs-application-class "$")
   (list (quote class-name) (concat "^" x-emacs-application-class
"$"))
   (list (quote and) (list (quote class-name) (concat "^" 
 x-emacs-application-cla ss "$")) (list (quote class-inst) 
 (concat "^" xwem-minibuffer-name "$")))
   (list (quote "xemacs-xwem-minibuffer") (list (quote and) 
 (list (quote class-na
 me) (concat "^" x-emacs-application-class "$")) (list (quote 
 class-inst) (concat  "^" xwem-minibuffer-name "$"))))
   (backquote ("xemacs-xwem-minibuffer" (and (class-name (\, 
 (concat "^" x-emacs- application-class "$"))) (class-inst (\, 
 (concat "^" xwem-minibuffer-name "$")))
 )))
   (add-to-list (quote xwem-applications-alist) (backquote 
 ("xemacs-xwem-minibuff er" (and (class-name (\, (concat "^" 
 x-emacs-application-class "$"))) (class-ins t (\, (concat "^" 
 xwem-minibuffer-name "$")))))))
   # bind (current-load-list)
   # (unwind-protect ...)
   # bind (load-file-name)
   # (unwind-protect ...)
   # (unwind-protect ...)
   # (unwind-protect ...)
   # (unwind-protect ...)
   # (unwind-protect ...)
   # (unwind-protect ...)
   (load-internal "[internal]")
   load-internal("xwem-minibuffer" nil require nil undecided)
   # bind (path handler filename nosuffix nomessage noerror file)
   load("xwem-minibuffer" nil require nil)
   # (unwind-protect ...)
   require(xwem-minibuffer)
   eval((require (quote xwem-minibuffer)))
   # bind (form)
   byte-compile-file-form-eval-boundary((require (quote 
 xwem-minibuffer)))
   # bind (byte-compile-current-form handler form)
   byte-compile-file-form((require (quote xwem-minibuffer)))
   # (unwind-protect ...)
   #<compiled-function nil "...(43)" 
 [byte-compile-unresolved-functions byte-comp
 ile-inbuffer 1 "        \n♀" nil looking-at ";" 
 byte-compile-file-form read byte
 -compile-flush-pending 
 byte-compile-warn-about-unresolved-functions] 3>()
   # (unwind-protect ...)
   call-with-condition-handler(#<compiled-function 
 (error-info) "...(4)" [error-i nfo byte-compile-report-error] 
 2> #<compiled-function nil "...(43)" [byte-compil
 e-unresolved-functions byte-compile-inbuffer 1 "        \n♀" 
 nil looking-at ";"
 byte-compile-file-form read byte-compile-flush-pending 
 byte-compile-warn-about-u nresolved-functions] 3>)
   # (unwind-protect ...)
   # bind (byte-compile-warnings-beginning 
 byte-compile-point-max-prev byte-compi le-log-buffer 
 byte-compile-macro-environment 
 byte-compile-function-environment b 
 yte-compile-autoload-environment 
 byte-compile-unresolved-functions byte-compile- 
 bound-variables byte-compile-free-references 
 byte-compile-free-assignments byte- compile-verbose 
 byte-optimize byte-compile-emacs19-compatibility 
 byte-compile-dy namic byte-compile-dynamic-docstrings 
 byte-compile-warnings byte-compile-file-do main 
 byte-compile-outbuffer float-output-format case-fold-search 
 print-length pr int-level byte-compile-constants 
 byte-compile-variables byte-compile-tag-number 
 byte-compile-depth byte-compile-maxdepth byte-compile-output 
 eval filename byte-
 compile-inbuffer)
   byte-compile-from-buffer(#<buffer " *Compiler Input*"> 
 "c:\\xemacs\\package-sr
 c\\xemacs-packages\\xwem\\lisp\\xwem-main.el")
   # bind (byte-compile-current-file target-file input-buffer 
 output-buffer byte- compile-dest-file load filename)
   byte-compile-file("lisp/xwem-main.el")
   byte-code("..." [file byte-compile-file t] 2)
   # (condition-case ... . ((error (byte-code 
 "AA!"!"AÄ!"ÅÆ!«§Æ  Ç\""ª±A @ENr¢@!"
 ÉE      A\""AE!"ǧ" [file err princ ">>Error occurred 
 processing " ": " fboundp
 display-error nil error-message mapcar #<compiled-function 
 (x) "...(8)" [x princ  " " prin1] 2> "\n"] 3))))
   # bind (file)
   batch-byte-compile-1("lisp/xwem-main.el")
   # bind (error file-to-process)
   batch-byte-compile-one-file()
   # bind (error)
   batch-byte-compile()
   # bind (arg)
   command-line-do-funcall("-f")
   # bind (dir file-count line end-of-options file-p arg tem)
   command-line-1()
   # bind (command-line-args-left)
   command-line()
   # bind (error-data)
   normal-top-level()
   # (condition-case ... . error)
   # (catch top-level ...)