I've been using pre-releases of emacs for quite some time. I check out the code using git from git://git.savannah.gnu.org/emacs.git
and follow the instructions in INSTALL.txt . The last time that worked fine was with 24.0.50.1 according to my emacs "about" screen. Since then I have periodically tried updating my emacs 24 version, but compilation always fails (possibly in the self-test or bootstrapping parts) with the following error:
Loading button (compiled; note, source file is newer)...
Loading startup (compiled; note, source file is newer)...
Loading /usr/local/src/emacs/lisp/loaddefs.el (source)...
Symbol's function definition is void: replace-buffer-in-windows
make[1]: *** [bootstrap-emacs] Error 1
make[1]: Leaving directory `/usr/local/src/emacs/src'
make: *** [src] Error 2
It's been like this for months. I've been googling regularly to see if there are any solutions/workarounds, but I find nothing. Am I the only one getting hit with this, and if so any suggestions for workarounds? It's not like I absolutely have to have the latest pre-release of emacs 24, but I would still like to figure out why I can no longer compile it, and why it seems nobody else is getting hit with the error (or aren't mentioning it anywhere where google can pick it up).
Update: This has happened on a Ubuntu 11.10 Desktop system, and now on the 12.04 betas, all x64.
./autogen.sh && ./configure && make
spits out an emacs binary with no complaints.git clean -xdf
to make sure get rid off old config.status and any other.