Hello,

I know this has been an issue:
http://lists.gnu.org/archive/html/emacs-orgmode/2012-05/msg00552.html
http://lists.gnu.org/archive/html/emacs-orgmode/2012-04/msg01144.html

So I was glad to get Cygwin to make the current org-mode master (git),
seemingly with success. But restarting emacs brings up:


Debugger entered--Lisp error: (void-function org-release)
  org-release()
  org-version()
  (if (fboundp (quote org-version)) (org-version) "(Unknown)")
  (format "Generated by Org mode %s in Emacs %s." (if (fboundp
        (quote org-version)) (org-version) "(Unknown)") emacs-version)
  eval((format "Generated by Org mode %s in Emacs %s." (if (fboundp
        (quote org-version)) (org-version) "(Unknown)") emacs-version))

------------------------------

And M-x org-version RET gives:

    org-version: Symbol's function definition is void: org-release

Three listings follow:

1. Excerpts from make
2. The generated lisp/org-version.el:
3. *Messages* from start up
4. Full debugger stack trace

Many thanks for any guidance!

-BC

Org-mode: 7.8.11 (release_7.8.11-16-ge67734)
Emacs: 24.1.50.1
Windows 7

--------------------------------------------------

1. Excerpts from make


$ make -version
GNU Make 3.82.90
Built for i686-pc-cygwin
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


$ make
======================================================
= Invoke "make help" for a synopsis of make targets. =
= Created a default local.mk template.               =
= Setting "oldorg" as the default target.            =
= Please adapt local.mk to your local setup!         =
======================================================
make -C doc clean;  make -C lisp clean;
make[1]: Entering directory
     `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/doc'
rm -f org *.pdf *.html *_letter.tex org-version.inc \
      *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs \
      *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps
make[1]: Leaving directory
     `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/doc'
make[1]: Entering directory
     `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp'
rm -f org-version.el org-install.el org-version.elc org-install.elc
rm -f *.elc
make[1]: Leaving directory
     `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp'
make -C lisp compile
make[1]: Entering directory
     `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp'
rm -f org-version.el org-install.el org-version.elc org-install.elc
org-version: 7.8.11 (release_7.8.11-16-ge67734)
Loading g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-compat.el (source)...
Loading g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/UTILITIES/org-fixup.el (source)...
Saving file g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-version.el...
Loading vc-git...
Wrote g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-version.el

org-install: 7.8.11 (release_7.8.11-16-ge67734)           <<<<<<<<<<<<
Loading g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-compat.el (source)...
Loading g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/UTILITIES/org-fixup.el (source)...
Generating autoloads for ob-C.el...
Generating autoloads for ob-C.el...done
Generating autoloads for ob-R.el...
Generating autoloads for ob-R.el...done

[...]

Saving file g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-install.el...
Loading vc-git...
Wrote g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-install.el
emacs -batch -Q  --eval '(add-to-list '"'"'load-path ".")'
               --eval '(batch-byte-recompile-directory 0)'
Checking g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp...
Compiling g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/ob-C.el...

[...]

Compiling g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-xoxo.el...
Wrote g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-xoxo.elc
Compiling g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org.el...
Wrote g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org.elc
Done (Total of 110 files compiled, 2 skipped)
make[1]: Leaving directory
     `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp'
make -C doc info
make[1]: Entering directory
     `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/doc'
org-version: 7.8.11 (release_7.8.11-16-ge67734)        

makeinfo --no-split org.texi -o org
make[1]: Leaving directory
     `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/doc'

[end make]

--------------------------------------------------


2. The generated lisp/org-version.el:

;;; org-version.el --- autogenerated file, do not edit
;;
;;; Code:
;;;###autoload
(defun org-release ()
  "The release version of org-mode.
  Inserted by installing org-mode or when a release is made."
   (let ((org-release "7.8.11"))
     org-release))
;;;###autoload
(defun org-git-version ()
  "The Git version of org-mode.
  Inserted by installing org-mode or when a release is made."
   (let ((org-git-version "release_7.8.11-16-ge67734"))
     org-git-version))
;;;###autoload
(defconst org-odt-data-dir "/usr/share/emacs/etc/org"
  "The location of ODT styles.")

;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; coding: utf-8
;; End:
;;; org-version.el ends here

--------------------------------------------------

3. *Messages* from start up

.>.>.>. Start Emacs loading . . .
.>.>.>. Start loading clock   [ 0.049000 s ]
Loading g:/dev/bin/emacs/.emacs.d/custom.el (source)...
Loading paren...done
Loading g:/dev/bin/emacs/.emacs.d/custom.el (source)...done
.>.>.>. Frames/Faces loaded   [ 0.229000 s ]
.>.>.>. I/A/Hunspell loaded   [ 0.874000 s ]
Loading em-joc...done
.>.>.>. Org-mode: Start load: [ 0.899000 s ]
.>.>.>. Org-mode: End load:   [ 0.907000 s ]
.>.>.>. Emacs startup time:   [ 0.908000 s ]
On GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601)
 of 2012-04-23 on MARVIN

Starting new Ispell process [default] ...
Loading vc-git...done
Loading org...
Entering debugger...

--------------------------------------------------


4. Full debugger stack trace (lightly formatted)

Debugger entered--Lisp error: (void-function org-release)
  org-release()
  org-version()
  (if (fboundp (quote org-version)) (org-version) "(Unknown)")
  (format "Generated by Org mode %s in Emacs %s." (if (fboundp (quote org-version))
      (org-version) "(Unknown)") emacs-version)
  eval((format "Generated by Org mode %s in Emacs %s." (if (fboundp (quote org-version))
      (org-version) "(Unknown)") emacs-version))
  custom-initialize-reset(org-export-creator-string (format "Generated by Org mode %s in Emacs %s."
      (if (fboundp (quote org-version)) (org-version) "(Unknown)") emacs-version))
  custom-declare-variable(org-export-creator-string (format "Generated by Org mode %s in Emacs %s."
      (if (fboundp (quote org-version)) (org-version) "(Unknown)") emacs-version)
      "String to insert at the end of the generated document." :group org-export-general
      :type (string :tag "Creator string"))
  (defcustom org-export-creator-string (format "Generated by Org mode %s in Emacs %s."
      (if (fboundp (quote org-version)) (org-version) "(Unknown)") emacs-version)
      "String to insert at the end of the generated document." :group (quote org-export-general)
      :type (quote (string :tag "Creator string")))
  eval-buffer(#<buffer  *load*<2>> nil "g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/contrib/lisp/org-export.el" nil t)  ;
      Reading at buffer position 15218
  load-with-code-conversion("g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/contrib/lisp/org-export.el"
      "g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/contrib/lisp/org-export.el" nil t)


  require(org-export)
  (lambda nil (require (quote org-export)))()
  funcall((lambda nil (require (quote org-export))))
  eval((funcall (quote (lambda nil (require (quote org-export))))))
  mapc(eval ((funcall (quote (lambda nil (setq org-export-html-special-string-regexps
      (append org-export-html-special-string-regexps (quote (...))))))) (funcall (quote (lambda nil
      (setq org-e-html-coding-system (quote utf-8))))) (funcall (quote (lambda nil (require (quote org-export)))))))
  #[(a-l-element) "@;\205      \306\307\310\f \n#,\205   [some control chars that do not copy]
      [a-l-element abs-file start string regexp inhibit-changing-match-data nil t string-match mapc eval] 4]
      (("\\(\\`\\|/\\)session\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall (quote (lambda nil (add-to-list
      (quote session-globals-exclude) (quote org-mark-ring)))))) ("\\(\\`\\|/\\)ecb\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
      (funcall (quote (lambda nil (defadvice ecb-method-clicked (after esf/org-show-context activate)
      "Make hierarchy visible when jumping into location from ECB tree buffer." (if (derived-mode-p ...)
      (org-show-context))))))) ("\\(\\`\\|/\\)saveplace\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
      (funcall (quote (lambda nil (defadvice save-place-find-file-hook (after org-make-visible activate)
      "Make the position visible." (org-bookmark-jump-unhide)))))) ("\\(\\`\\|/\\)bookmark\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
      (funcall (quote (lambda nil (if (boundp (quote bookmark-after-jump-hook)) (add-hook (quote bookmark-after-jump-hook)
      (quote org-bookmark-jump-unhide)) (defadvice bookmark-jump (after org-make-visible activate) "Make the position visible."
      (org-bookmark-jump-unhide))))))) ("\\(\\`\\|/\\)speedbar\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall (quote
      (lambda nil (progn (speedbar-add-supported-extension ".org") (define-key speedbar-file-key-map "<"
      (quote org-speedbar-set-agenda-restriction)) (define-key speedbar-file-key-map "<" (quote org-speedbar-set-agenda-restriction))
      (define-key speedbar-file-key-map ">" (quote org-agenda-remove-restriction-lock)) (define-key speedbar-file-key-map ">"
      (quote org-agenda-remove-restriction-lock)) (add-hook (quote speedbar-visiting-tag-hook) (lambda nil ...)))))))
      ("\\(\\`\\|/\\)imenu\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall (quote (lambda nil (progn (add-hook (quote imenu-after-jump-hook)
      (lambda nil ...))))))) ("\\(\\`\\|/\\)org-exp\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall (quote (lambda nil (add-hook
      (quote org-export-preprocess-before-normalizing-links-hook) (quote org-remove-file-link-modifiers))))))
      ("\\(\\`\\|/\\)calendar\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall (quote (lambda nil (progn
      (org-defkey calendar-mode-map org-calendar-to-agenda-key (quote org-calendar-goto-agenda)) (org-defkey calendar-mode-map
      org-calendar-agenda-action-key (quote org-agenda-action)) (add-hook (quote calendar-mode-hook) (lambda nil ...)))))))
      ("\\(\\`\\|/\\)org\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall (quote (lambda nil (setq org-export-html-special-string-regexps
      (append org-export-html-special-string-regexps (quote ...)))))) (funcall (quote (lambda nil (setq org-e-html-coding-system
      (quote utf-8))))) (funcall (quote (lambda nil (require (quote org-export)))))) (eshell (if load-file-name (let ((fun
      (make-symbol "eval-after-load-helper"))) (fset fun (\` (lambda (file) (if ... nil ... ...)))) (add-hook
      (quote after-load-functions) fun)) (funcall (quote (lambda nil #[nil "\300\301\302!\303\304 \305\260\207"
      ["[" format-time-string "%R" "] " eshell/pwd "> "] 5]))))) (dired (if load-file-name (let ((fun (make-symbol "eval-after-load-helper")))
      (fset fun (\` (lambda (file) (if ... nil ... ...)))) (add-hook (quote after-load-functions) fun))
      (funcall (quote (lambda nil (progn (require ...))))))) ("\\(\\`\\|/\\)quail/Punct-b5\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
      (funcall (quote (lambda nil (quail-defrule " " 12288 nil t))))) ("\\(\\`\\|/\\)quail/Punct\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
      (funcall (quote (lambda nil (quail-defrule " " 12288 nil t))))) ("\\(\\`\\|/\\)quail/PY-b5\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
      (funcall (quote (lambda nil (quail-defrule "ling2" 9675 nil t))))) (CUA-mode (if load-file-name (let ((fun
      (make-symbol "eval-after-load-helper"))) (fset fun (\` (lambda (file) (if ... nil ... ...)))) (add-hook (quote after-load-functions) fun))
      (funcall (quote (lambda nil (bad-package-check (quote CUA-mode))))))) (semantic (if load-file-name (let ((fun
      (make-symbol "eval-after-load-helper"))) (fset fun (\` (lambda (file) (if ... nil ... ...)))) (add-hook (quote after-load-functions) fun))
      (funcall (quote (lambda nil (bad-package-check (quote semantic)))))))))
  do-after-load-evaluation("g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org.elc")
  load("org")
  desktop-load-file(org-mode)
  desktop-create-buffer(206 "g:/dev/site/rel/r1_0/docs/6.1-WhoWeAre.org" "6.1-WhoWeAre.org" org-mode
      (smooth-scroll-mode typopunct-mode flyspell-mode buffer-face-mode) 1 (559 nil) nil nil
      ((buffer-file-coding-system . utf-8-dos) (truncate-lines . t)))
  eval-buffer(#<buffer  *load*> nil "g:/dev/bin/emacs/.emacs.d/.emacs.desktop" nil t)  ; Reading at buffer position 3380
  load-with-code-conversion("g:/dev/bin/emacs/.emacs.d/.emacs.desktop" "g:/dev/bin/emacs/.emacs.d/.emacs.desktop" t t)
  load("g:/dev/bin/emacs/.emacs.d/.emacs.desktop" t t t)
  desktop-read()
  #[nil "\304\211    \235\203 \210\310\211\207"
      [key command-line-args desktop-save-mode inhibit-startup-screen "--no-desktop" delete nil desktop-read t] 4]()
  run-hooks(after-init-hook)
  command-line()
  normal-top-level()

------------------------------ [END] ------------------------------