npak(a)ispras.ru (Nickolay Pakoulin) wrote:
Latest CVS XEmacs does not compile on Windows 2000 native with C++
compiler.
The linker fails:
emacs.obj: error LNK2001: unresolved external symbol "void __cdecl
vars_of_module(void)" (?vars_of_module@@YAXXZ)
c:\misc\build\xemacs-beta\mswindows\src\temacs.exe : fatal error LNK1120: 1 unresolved
externals
This is another manifestation of the "Jerry doesn't have MSVC++"
bug.:-( Does this patch fix it for you?
Index: nt/xemacs.mak
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/nt/xemacs.mak,v
retrieving revision 1.106
diff -d -u -d -u -r1.106 xemacs.mak
--- nt/xemacs.mak 2003/09/13 12:54:35 1.106
+++ nt/xemacs.mak 2003/10/15 15:16:47
@@ -668,6 +668,7 @@
$(OUTDIR)\editfns.obj \
$(OUTDIR)\elhash.obj \
$(OUTDIR)\emacs.obj \
+ $(OUTDIR)\emodules.obj \
$(OUTDIR)\eval.obj \
$(OUTDIR)\event-stream.obj \
$(OUTDIR)\events.obj \
Also, it looks like make-nt-depend needs to be run to pick up the new
compiler.h.
--
Jerry James
http://www.ittc.ku.edu/~james/