[OpenAFS-win32-devel] building 1.5.14

Matt Benjamin matt@linuxbox.com
Sun, 11 Feb 2007 21:02:31 -0500


Hi All,

I had some trouble building OpenAFS 1.5.14 on WINNT, related to changes 
in the client_creds NTMakefile.  I assume somehow this was my error, but 
I'm sending NTMakefile adjustments that got me though the compile (sort 
of reverting tweaks that had been made since 1.5.12).

(This is part of a diff made with rxk5 code in--I'm guessing it still 
makes sense/would apply on unmodified 1.5.14.)

Thanks,

Matt

Index: src/WINNT/client_creds/NTMakefile
===================================================================
--- src/WINNT/client_creds/NTMakefile    (revision 1)
+++ src/WINNT/client_creds/NTMakefile    (working copy)
@@ -50,7 +50,7 @@
 
 CLIENTOBJS = \
     $(OUT)\drivemap.obj \
-        $(OUT)\RegistrySupport.obj
+    $(OUT)\RegistrySupport.obj
 
 VCLIBS =\
     iphlpapi.lib \
@@ -66,6 +66,7 @@
     $(DESTDIR)\lib\afs\afspioctl.lib \
     $(DESTDIR)\lib\libosi.lib \
     $(DESTDIR)\lib\afs\TaLocale.lib \
+    $(DESTDIR)\lib\afs\TaAfsAppLib.lib \
     $(DESTDIR)\lib\lanahelper.lib \
     $(DESTDIR)\lib\afsrxkad.lib \
     $(DESTDIR)\lib\afsdes.lib \
@@ -101,6 +102,9 @@
 $(AFSDOBJS): $(AFSD)\$$(@B).c
     $(C2OBJ) -I$(*D) $**
 
+$(AFSAPPLIBOBJS): $(AFSAPPLIB)\$$(@B).cpp
+    $(C2OBJ) -I$(*D) $**
+
 $(EXEOBJS): $$(@B).cpp
     $(C2OBJ) -I$(*D) -I$(AFSAPPLIB) $**
 
@@ -109,7 +113,7 @@
 
 ############################################################################
 
-$(EXEFILE) : $(EXEOBJS) $(EXECOBJS) $(EXERES) $(AFSDOBJS) $(CLIENTOBJS) 
$(EXELIBS)
+$(EXEFILE) : $(EXEOBJS) $(EXECOBJS) $(EXERES) $(AFSAPPLIBOBJS) 
$(AFSDOBJS) $(CLIENTOBJS) $(EXELIBS)
     $(EXEGUILINK) $(VCLIBS)
         $(_VC_MANIFEST_EMBED_EXE)
     $(EXEPREP)

-- 

Matt Benjamin

The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel. 734-761-4689
fax. 734-769-8938
cel. 734-216-5309