With this patch I was able to compile dired.c.
However, filelock.c does not build under WindowsNT4sp3 with MSDS C++
5.0. I can't find anything suspicious in src/ChangeLog.
Regards,
Adrian
Index: dired.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/src/dired.c,v
retrieving revision 1.18.2.4
diff -u -r1.18.2.4 dired.c
--- dired.c 1998/11/28 10:28:41 1.18.2.4
+++ dired.c 1998/11/29 21:22:17
@@ -949,6 +949,7 @@
DEFSUBR (Ffile_attributes);
}
+#ifndef WINDOWSNT
void
vars_of_dired (void)
{
@@ -965,3 +966,4 @@
user_cache_len = 0;
user_cache_max = 0;
}
+#endif
XEmacs Build Report as generated
by build-report-version $Revision: 1.51 $ follows:
Contents of c:\export\home\tmp\xemacs-20\nt\Installation:
(Output from most recent run of ./configure)
OS: Windows_NT
XEmacs 21.2-b4 \"Aglaophonos\" configured for `i386-pc-win32'.
Where should the build process find the source code?
c:\\export\\home\\tmp\\xemacs-20\\nt
What compiler should XEmacs be built with?
@cl -nologo
What window system should XEmacs use?
MS Windows
Contents of
c:\export\home\tmp\xemacs-20\nt\xemacs-20-make-all-r21-2b4-3.err
keeping lines matching
"^--\[\[\|\]\]$\|^\(cd\|n?make\)\s-\|errors?\|warnings?\|pure.*\(space\|size\)\|hides\b\|strange\|shadowings\|^Compil\(ing\s-+in\|ation\)\|not\s-+found\|^While\s-+compiling.*\(
\s-+.+\)*\|^Note:"
and then deleting lines matching
"confl.*with.*auto-inlining"
cd c:\export\home\tmp\xemacs-20\nt\
nmake -f xemacs.mak PACKAGEPATH="c:\\Program Files\\XEmacs\\xemacs-packages"
HAVE_MSW=1 HAVE_NATIVE_SOUND=1 HAVE_XPM=1 XPM_DIR="c:\export\home\tmp\xpm-3.4k"
HAVE_PNG=1 PNG_DIR="c:\export\home\tmp\libpng-1.0.2" HAVE_TIFF=1
TIFF_DIR="c:\export\home\tmp\tiff-v3.4" HAVE_JPEG=1
JPEG_DIR="c:\export\home\tmp\jpeg-6b"
ZLIB_DIR="c:\export\home\tmp\zlib" DEBUG_XEMACS=0 all
Compilation started at Sun Nov 29 14:51:32 1998
Compiling in support for native GUI.
Compiling in support for XPM images.
Compiling in support for GIF images.
Compiling in support for PNG images.
Compiling in support for TIFF images.
Compiling in support for JPEG images.
Compiling in support for toolbars.
Compiling in support for dialogs.
Compiling in support for native sounds.
Compiling in fast dired implementation.
..\src\filelock.c(142) : warning C4013: 'symlink' undefined; assuming extern
returning int
..\src\filelock.c(174) : warning C4013: 'readlink' undefined; assuming extern
returning int
..\src\filelock.c(249) : warning C4101: 'p' : unreferenced local variable
..\src\filelock.c(249) : warning C4101: 'o' : unreferenced local variable
emacs.obj : error LNK2001: unresolved external symbol _vars_of_dired
filelock.obj : error LNK2001: unresolved external symbol _symlink
filelock.obj : error LNK2001: unresolved external symbol _rindex
filelock.obj : error LNK2001: unresolved external symbol _index
filelock.obj : error LNK2001: unresolved external symbol _readlink
..\src\temacs.exe : fatal error LNK1120: 5 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x19'
Compilation exited abnormally with code 2 at Sun Nov 29 14:52:22
--
Adrian Aichner
European Design Center
Teradyne GmbH
Semiconductor Test Group Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-217 (What is a Fax?)
D-81673 MUENCHEN E-mail adrian.aichner(a)teradyne.com