[OpenAFS-devel] Building v. 1.1.0 or 1.1.1 for Windows NT/2000?

Scott D. Williams sdw@email.unc.edu
Tue, 14 Aug 2001 13:56:14 -0400


Hello,

I've successfully built version 1.0.4a in my environment (Win2000, VC6.0)
but have a problem with the newer releases. I'm not a makefile guru yet,
so there may be an easy fix.

The compile (ie, 'nmake /f ntmakefile install') ends while running the
src/util/NTMakefile:

[snip]
         copy secutil_nt.h D:\develop\projects\openafs\104a\DEST\include\afs
         1 file(s) copied.
         cl -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 
-D_WINNT -D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x400 -DWINVER=0x0400 -Z7 -Od 
-DWIN32  -D_WIN32 -D_MT -D_DLL -MD  /Oy-  /GF  /Gd  /Gy  /GX  /Os /Od /Z7 
/W3  -I.  -ID:\develop\projects\openafs\104a\DEST\include 
-ID:\develop\projects\openafs\104a\DEST\include\afs 
-ID:\develop\projects\openafs\104a\DEST\include\rx  -DWIN32_LEAN_AND_MEAN 
-DSTRICT  -D_WIN32_IE=0x0400  -DDEBUG /c assert.c
assert.c
assert.c(11) : fatal error C1083: Cannot open include file: 'afsconfig.h': 
No such file or directory


The corresponding spot in my (successful) v 1.0.4a build looks
like this:

[snip]

         copy secutil_nt.h D:\develop\projects\openafs\104a\DEST\include\afs
         1 file(s) copied.
         lib /NOLOGO 
/OUT:D:\develop\projects\openafs\104a\DEST\lib\afs\afsutil.lib assert.obj 
base32.obj casestrcpy.obj get_krbrlm.obj hostparse.obj isathing.obj 
kreltime.obj ktime.obj regex.obj readdir_nt.obj serverLog.obj uuid.obj 
volparse.obj winsock_nt.obj errmap_nt.obj dirpath.obj fileutil.obj 
secutil_nt.obj
         cd ..\..
         echo ***** comerr
***** comerr
         cd src\comerr

[snip]


Anyway, I've just started looking at OpenAFS -- hopefully I can answer my
own question. Nonetheless, any help is appreciated.

Thanks,

--ScottW