I was able to build it by taking out: #ND_INC_S=C:\PROGRA~1\MICROS~4\NetworkDirect\Include #PLATFORM_SDK_PATH_S=C:\PROGRA~1\MICROS~3\Windows\v6.1
And define following in DOS: set PLATFORM_SDK_PATH_S=C:\PROGRA~1\MI2578~1\Windows\v6.1 set ND_INC_S=C:\PROGRA~1\MI3029~1\NetworkDirect\Include One more difference is that you're using v6.0a and I'm using v6.1 SDK. -James -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sean Hefty Sent: Tuesday, May 05, 2009 2:48 PM To: [email protected] Subject: [ofw] has anyone built ulp/nd from the trunk? 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;..\..\..\cor e\al;..\ ..\..\core\al\user;$(ND_INC_S);$(PLATFORM_SDK_PATH_S)\Include +INCLUDES=$(SDK_INC_PATH);..\..\..\inc;..\..\..\inc\user;..\..\..\core\a l;\ + ..\..\..\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 _______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
