DDKBuild configuration problem

I am really stuck with DDK build.

I have IFS kit installed (3790), the path being C:\WINDDK\3790

I want to build it using the DDK build beta 7.0 in OSR site. But I just
cannot get it to build. The error is simple, “Unknown type of build”, when I
set the build options to

ddkbuild -WXP chk .

I have tried copying the .cmd file in the project folder, which is c:\temp

I have also tried to set the environment settings ( tried to build from
inside the DDK cmd promts, but same error.

Can someone help please

  • amitr0

> I am really stuck with DDK build. I have IFS kit installed (3790), the

path being C:\WINDDK\3790  I want to build it using the DDK build beta
7.0 in OSR site. But I just cannot get it to build. The error is simple,
“Unknown type of build”, when I set the build options to  ddkbuild -WXP
chk .  I have tried copying the .cmd file in the project folder, which
is
c:\temp I have also tried to set the environment settings ( tried to
build
from inside the DDK cmd promts, but same error.
Can someone help please
Have you set all the environment variables as the help says?

If you like we can try to solve the problem off list and post the solution afterwards. I am the author of the beta 7.0.

Oliver


May the source be with you, stranger :wink:

ICQ: #281645
URL: http://assarbad.net

Is this OSR’s DDKBUILD or Hollistech’s DDKBUILD> If the later then you
must use “checked” and not “chk”. I think OSR’s is basically the same but
it’s been a while since I used it.

Gary G. Little


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Wednesday, June 07, 2006 11:41 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] DDKBuild configuration problem

I am really stuck with DDK build.

I have IFS kit installed (3790), the path being C:\WINDDK\3790

I want to build it using the DDK build beta 7.0 in OSR site. But I just
cannot get it to build. The error is simple, “Unknown type of build”, when
I set the build options to

ddkbuild -WXP chk .

I have tried copying the .cmd file in the project folder, which is c:\temp

I have also tried to set the environment settings ( tried to build from
inside the DDK cmd promts, but same error.

Can someone help please

  • amitr0

— Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17 You are currently subscribed
to ntfsd as: xxxxx@seagate.com To unsubscribe send a blank email
to xxxxx@lists.osr.com

Gary, hollistech’s verion is 3.12 (current) where as OSRs it 7.0 (beta). I
am using the OSR version.

On 6/7/06, xxxxx@seagate.com wrote:
>
> Is this OSR’s DDKBUILD or Hollistech’s DDKBUILD> If the later then you
> must use “checked” and not “chk”. I think OSR’s is basically the same but
> it’s been a while since I used it.
>
> Gary G. Little
> ------------------------------
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *xxxxx@gmail.com
> Sent: Wednesday, June 07, 2006 11:41 AM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] DDKBuild configuration problem
>
>
>
> I am really stuck with DDK build.
>
>
>
> I have IFS kit installed (3790), the path being C:\WINDDK\3790
>
>
>
>
>
> I want to build it using the DDK build beta 7.0 in OSR site. But I just
> cannot get it to build. The error is simple, “Unknown type of build”, when I
> set the build options to
>
>
>
> ddkbuild -WXP chk .
>
>
>
>
>
> I have tried copying the .cmd file in the project folder, which is c:\temp
>
>
>
> I have also tried to set the environment settings ( tried to build from
> inside the DDK cmd promts, but same error.
>
>
> Can someone help please
>
>
>
> –
>
> - amitr0
>
> — Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17 You are currently subscribed
> to ntfsd as: xxxxx@seagate.com To unsubscribe send a blank email
> to xxxxx@lists.osr.com
>
> —
>
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>



- amitr0

Since you are using the WNET DDK, you should be using -WNETXP to do
the build.

–Mark Cariddi
OSR, Open Systems Resources, Inc.

On Wed, 7 Jun 2006 22:11:04 +0530, amitr0
wrote:

>I am really stuck with DDK build.
>
>I have IFS kit installed (3790), the path being C:\WINDDK\3790
>
>
>I want to build it using the DDK build beta 7.0 in OSR site. But I just
>cannot get it to build. The error is simple, “Unknown type of build”, when I
>set the build options to
>
>ddkbuild -WXP chk .
>
>
>I have tried copying the .cmd file in the project folder, which is c:\temp
>
>I have also tried to set the environment settings ( tried to build from
>inside the DDK cmd promts, but same error.
>
>Can someone help please

Hi again,

ddkbuild -WXP chk . 
I have had a look into the source and found that this cannot work because of the fact that you have the IFSK of Windows 2003 Server (right?) but you try to build via the Windows XP IFSK. Instead you should try the following:

ddkbuild -WNETXP chk . 

(meaning: build the checked build for the SOURCES file in the current directory using the WNET DDK and the XP settings …)

Oliver


May the source be with you, stranger :wink:

ICQ: #281645
URL: http://assarbad.net

as i just replied on the lists, i have tried that already…here is the
output

C:\Temp>ddkbuild.cmd -WNETXP chk .
OSR DDKBUILD.BAT V7.0 BETA - OSR, Open Systems Resources, Inc.

ERROR: Unknown type of build. Please recheck parameters.

Usage:
ddkbuild [flags] [-WDF] [-PREFAST]

Platform values:
-W2K to indicate W2K build using %W2KBASE%
-W2K64 to indicate W2K IA64 build using %W2KBASE%
-WXP to indicate WXP build using %WXPBASE%
-WXP64 to indicate WXP IA64 build using %WXPBASE%
-WXP2K to indicate W2K build using %WXPBASE%
-WNET to indicate WNET build using %WNETBASE%
-WNET64 to indicate WNET IA64 build using %WNETBASE%
-WNETXP to indicate WXP build using %WNETBASE%
-WNETXP64 to indicate WXP IA64 build using %WNETBASE%
-WNETAMD64 to indicate WNET AMD64 build using %WNETBASE%
-WNET2K to indicate W2K build using %WNETBASE%
-NT4 to indicate NT4 build using %NT4BASE%

Build types:
checked
chk indicates a checked build
free
fre indicates a free build

Remaining parameters:
directory path to build directory, try . (cwd)
flags any random flags you think should be passed to build (try
/a
for clean)
-WDF performs a WDF build
-PREFAST performs a PREFAST build

Examples:
“ddkbuild -NT4 checked .” (for NT4 BUILD)
“ddkbuild -WXP64 chk .”
“ddkbuild -WXP chk c:\projects\myproject”
“ddkbuild -WNET64 chk .” (IA64 bit build)
“ddkbuild -WNETAMD64 chk .” (AMD64/EM64T bit build)
“ddkbuild -WNETXP chk . -cZ -WDF”
“ddkbuild -WNETXP chk . -cZ -PREFAST”

In order for this procedure to work correctly for each platform, it
requires an environment variable to be set up for certain platforms.
The environment variables are as follows:

%NT4BASE% - Set this up for “-NT4” builds
%W2KBASE% - Set this up for “-W2K” and “-W2K64” builds
%WXPBASE% - Set this up for “-WXP”, “-WXP64”, “-WXP2K” builds
%WNETBASE% - Set this up for “-WNET”, “-WNET64”, “-WNETXP”,
“-WNETXP64”,
“-WNETAMD64”, and “-WNET2K” builds

%WDF_ROOT% must be set if attempting to do a WDF Build.

OSR DDKBUILD.BAT V7.0 BETA - OSR, Open Systems Resources, Inc.
report any problems found to xxxxx@osr.com

C:\Temp>

the contents of temp are

C:\Temp>dir/w
Volume in drive C is WinXP
Volume Serial Number is 3887-E302

Directory of C:\Temp

[.] […] ddkbuild.bat ddkbuild.cmd MAKEFILE
sioctl.c sioctl.h sioctl.rc sources [temp]
temp.ncb temp.sln
9 File(s) 75,033 bytes
3 Dir(s) 2,727,440,384 bytes free

C:\Temp>

amitr0

On 6/7/06, Oliver Schneider wrote:
>
> Hi again,
>
> > ddkbuild -WXP chk .
> I have had a look into the source and found that this cannot work because
> of the fact that you have the IFSK of Windows 2003 Server (right?) but you
> try to build via the Windows XP IFSK. Instead you should try the following:
>
> ddkbuild -WNETXP chk .
>
> (meaning: build the checked build for the SOURCES file in the current
> directory using the WNET DDK and the XP settings …)
>
> Oliver
> –
> ---------------------------------------------------
> May the source be with you, stranger :wink:
>
> ICQ: #281645
> URL: http://assarbad.net
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>



- amitr0

Yes, I realized that after I hit the send button. However, is OSR
expecting chk or checked? And . why not 3790.1830? And . have you triple
checked the environment variables? With Hollistech’s version, 99% of the
time, that is where the problem lies.

Gary G. Little


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Wednesday, June 07, 2006 12:32 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] DDKBuild configuration problem

Gary, hollistech’s verion is 3.12 (current) where as OSRs it 7.0 (beta). I
am using the OSR version.

On 6/7/06, xxxxx@seagate.com wrote:

Is this OSR’s DDKBUILD or Hollistech’s DDKBUILD> If the later then you
must use “checked” and not “chk”. I think OSR’s is basically the same but
it’s been a while since I used it.

Gary G. Little

_____

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Wednesday, June 07, 2006 11:41 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] DDKBuild configuration problem

I am really stuck with DDK build.

I have IFS kit installed (3790), the path being C:\WINDDK\3790

I want to build it using the DDK build beta 7.0 in OSR site. But I just
cannot get it to build. The error is simple, “Unknown type of build”, when
I set the build options to

ddkbuild -WXP chk .

I have tried copying the .cmd file in the project folder, which is c:\temp

I have also tried to set the environment settings ( tried to build from
inside the DDK cmd promts, but same error.

Can someone help please



- amitr0

— Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17 You are currently subscribed
to ntfsd as: xxxxx@seagate.com To unsubscribe send a blank email
to xxxxx@lists.osr.com



Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’

To unsubscribe send a blank email to xxxxx@lists.osr.com



- amitr0 — Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17 You are currently subscribed
to ntfsd as: xxxxx@seagate.com To unsubscribe send a blank email
to xxxxx@lists.osr.com

yes i did :frowning:

also, if i want multiple version of my driver to build, (I need to compile
for win2k, xp and 2k3) isn’t that posiible to ddkbuild? will i always get
the 2k3 binaries as output?

On 6/7/06, xxxxx@seagate.com wrote:
>
> Yes, I realized that after I hit the send button. However, is OSR
> expecting chk or checked? And ? why not 3790.1830? And ? have you triple
> checked the environment variables? With Hollistech’s version, 99% of the
> time, that is where the problem lies.
>
> Gary G. Little
> ------------------------------
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *xxxxx@gmail.com
> Sent: Wednesday, June 07, 2006 12:32 PM
>
> To: Windows File Systems Devs Interest List
> Subject: Re: [ntfsd] DDKBuild configuration problem
>
>
>
> Gary, hollistech’s verion is 3.12 (current) where as OSRs it 7.0 (beta). I
> am using the OSR version.
>
>
>
>
>
>
>
>
>
> On 6/7/06, xxxxx@seagate.com wrote:
>
> Is this OSR’s DDKBUILD or Hollistech’s DDKBUILD> If the later then you
> must use “checked” and not “chk”. I think OSR’s is basically the same but
> it’s been a while since I used it.
>
> Gary G. Little
> ------------------------------
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *xxxxx@gmail.com
> Sent: Wednesday, June 07, 2006 11:41 AM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] DDKBuild configuration problem
>
>
>
> I am really stuck with DDK build.
>
>
>
> I have IFS kit installed (3790), the path being C:\WINDDK\3790
>
>
>
>
>
> I want to build it using the DDK build beta 7.0 in OSR site. But I just
> cannot get it to build. The error is simple, “Unknown type of build”, when I
> set the build options to
>
>
>
> ddkbuild -WXP chk .
>
>
>
>
>
> I have tried copying the .cmd file in the project folder, which is c:\temp
>
>
>
> I have also tried to set the environment settings ( tried to build from
> inside the DDK cmd promts, but same error.
>
>
> Can someone help please
>
>
>
> –
>
> - amitr0
>
> — Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17 You are currently subscribed
> to ntfsd as: xxxxx@seagate.com To unsubscribe send a blank email
> to xxxxx@lists.osr.com
>
>
> —
>
>
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
> –
>
> - amitr0 — Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17 You are currently subscribed
> to ntfsd as: xxxxx@seagate.com To unsubscribe send a blank email
> to xxxxx@lists.osr.com
>
> —
>
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>



- amitr0

>also, if i want multiple version of my driver to build, (I need to compile

for win2k, xp and 2k3) isn’t that posiible to ddkbuild? will i always get

Compile for w2k only, these binaries work fine on XP and 2003.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

I have some XP specific function calls #ifdef-ed in the code. So gotta
compile with diff build enviroments.

On 6/11/06, Maxim S. Shatskih wrote:
>
> >also, if i want multiple version of my driver to build, (I need to
> compile
> >for win2k, xp and 2k3) isn’t that posiible to ddkbuild? will i always get
>
> Compile for w2k only, these binaries work fine on XP and 2003.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>



- amitr0