I've been trying to get the nd directory to build, but haven't been successful.
So far, I have the following changes:

User must define ND_SDK_PATH environment variable, similar to PLATFORM_SDK_PATH.

The makefile checks for ND_SDK_PATH, rather than ND_INC when determining if ND
should be built.  ND_INC indicates that the SDK has been installed, but is not
useful for building in the WDK.

The hard-coded paths in the ND sources file are removed, since those paths are
specific to individual installations.  ND_INC_S is replaced with ND_SDK_PATH for
consistency, and PLATFORM_SDK_PATH_S is removed.  WinOF already requires
PLATFORM_SDK_PATH be defined and is equivalent.

See the attached log file for the build errors.

- Sean
--- 

Index: makefile
===================================================================
--- makefile    (revision 2138)
+++ makefile    (working copy)
@@ -7,11 +7,9 @@
 # If ND SDK installed then Defeat IA64 builds
 # Otherwise, default all builds.
 
-!IFDEF ND_INC
 DDK_BLOCK_ON_IA64=1
-!ELSE
-!MESSAGE Skipping ibndprov.dll build: HPC SDK not installed.
-DDK_BLOCK_ON_IA64=1
+!IFNDEF ND_SDK_PATH
+!MESSAGE Skipping ibndprov.dll build: ND_SD_PATH not set.
 DDK_BLOCK_ON_X86=1
 DDK_BLOCK_ON_AMD64=1
 !ENDIF
Index: SOURCES
===================================================================
--- SOURCES     (revision 2138)
+++ SOURCES     (working copy)
@@ -13,11 +13,6 @@
 
 USE_NTDLL=1
 
-# MS HPC 2008 SDK required to build!
-# ND IB Provider is skipped if not installed - see makefile
-ND_INC_S=C:\PROGRA~1\MICROS~4\NetworkDirect\Include
-PLATFORM_SDK_PATH_S=C:\PROGRA~1\MICROS~3\Windows\v6.1
-
 SOURCES= \
        NdProv.rc                               \
        NdAdapter.cpp                   \
@@ -30,7 +25,9 @@
        NdConnector.cpp
 
 
-INCLUDES=$(SDK_INC_PATH);..;..\..\..\inc;..\..\..\inc\user;..\..\..\core\al;..\
..\..\core\al\user;$(ND_INC_S);$(PLATFORM_SDK_PATH_S)\Include
+INCLUDES=$(SDK_INC_PATH);..\..\..\inc;..\..\..\inc\user;..\..\..\core\al;\
+                 ..\..\..\core\al\user;$(ND_SDK_PATH)\include;\
+                 $(PLATFORM_SDK_PATH)\include
 
 USER_C_FLAGS=$(USER_C_FLAGS) -DEXPORT_AL_SYMBOLS -DCL_NO_TRACK_MEM -DWPP_OLDCC

Attachment: buildchk_wnet_amd64.log
Description: Binary data

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to