Configuring the build environment for the first time using ddkbui ld.bat

I have managed to setup my visual studio .net environment to use the
ddkbuild.bat provided by OSR…

However I have noticed something odd with the build output, it appears that
the source files are compiled twice? I am confused… I do have browse
files enabled, and currently implementing WWP… but even when these are
disabled the source files are still compiled twice.

on the first compilation attempt it says that there are errors in the
directory… why could this be?

what’s the difference between BUILD: Compiling (NoSync) and BUILD:
Compiling… ?

Could anyone shed some light as to what is happening here please? i am not
too bothered about the undeclared identifier errors which are occurring
(TWICE) since I have not implemented the methods required for a successful
build…

Regards
James

------ Build started: Project: gsim-wdm, Configuration: Debug Win32 ------
Performing Makefile project actions
OSR DDKBUILD.BAT V6.3 - OSR, Open Systems Resources, Inc.
WXP 32 BIT BUILD using WXP DDK
build in directory . with arguments (basedir C:\WINDDK\3790.1830)
run build -Ze -MI for checked version in .
BUILD: Adding /Y to COPYCMD so xcopy ops won’t hang.
BUILD: Using 2 child processes
BUILD: Object root set to: ==> objchk_wnet_x86
BUILD: Compile and Link for i386
BUILD: Examining x:\common\common~1\media_~1\gsim_driver directory tree for
files to compile.
x:\common\common~1\media_~1\gsim_driver
x:\common\common~1\media_~1\gsim_driver\driver
x:\common\common~1\media_~1\gsim_driver\test
BUILD: Compiling (NoSync) x:\common\common~1\media_~1\gsim_driver\driver
directory
BUILD: Compiling (NoSync) x:\common\common~1\media_~1\gsim_driver\test
directory
Compiling - pnp.cpp for i386
errors in directory x:\common\common~1\media_~1\gsim_driver\driver
x:\common\common_services\media_interface\gsim_driver\driver\pnp.cpp(292) :
error C2065: ‘GdukHandleInterrupt’ : undeclared identifier
BUILD: Compiling x:\common\common~1\media_~1\gsim_driver\driver directory
Compiling - pnp.cpp for i386
x:\common\common_services\media_interface\gsim_driver\driver\pnp.cpp(1852) :
error C2065: ‘GdukHandleInterrupt’ : undeclared identifier
BUILD: Compiling x:\common\common~1\media_~1\gsim_driver\test directory
BUILD: Compile errors: not linking
x:\common\common~1\media_~1\gsim_driver\driver directory
BUILD: Linking x:\common\common~1\media_~1\gsim_driver\test directory
BUILD: Done
4 files compiled - 34 Errors
=============== build warnings ======================

build complete
building browse information files
Build log was saved at
“file://x:\common\common_services\media_interface\gsim_driver\Debug\BuildLog
.htm”
gsim-wdm - 35 error(s), 0 warning(s)

---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped

This email and any files attached to it are of a confidential nature and
intended for the exclusive use of the individual or entity to whom they are
addressed. If you are not the intended recipient, please be advised that you
have received this email in error and action should be taken to inform the
originator and this email should be deleted immediately and any copies made
should be destroyed. If you are not the intended recipient, any form of
disclosure, distribution, printing, copying or any other use of this email
or the information in it or in any attachments is strictly prohibited and
may be unlawful. Any views, opinions or other information expressed in the
email and any attachments are those of the originator and not given or
endorsed by General Dynamics UK Ltd.In compliance with the various
Regulations and Acts, please be aware that General Dynamics UK Ltd reserves
the right to monitor all emails and email attachments, both inbound and
outbound, allowing legitimate business practice to continue.In addition to
monitoring, General Dynamics UK Ltd also provides appropriate Antivirus
measures scanning all incoming and outgoing email and email attachments.
However, email communications cannot be guaranteed to be secure or free of
errors as information may be intercepted, corrupted, amended, lost,
destroyed or contain viruses. General Dynamics UK Ltd do not accept
liability or responsibility for any such matters or the consequences
thereof.

If you edit ddkbuild.bat and set scriptDebug=on. I would be interested
in seeing the output.

–Mark Cariddi
Consulting Associate
OSR, Open Systems Resources, inc.

[posted and mailed]

James Dunning wrote in
news:xxxxx@ntdev:

> I have managed to setup my visual studio .net environment to use the
> ddkbuild.bat provided by OSR…
>
> However I have noticed something odd with the build output, it appears
> that the source files are compiled twice? I am confused… I do have
> browse files enabled, and currently implementing WWP… but even when
> these are disabled the source files are still compiled twice.
>
> on the first compilation attempt it says that there are errors in the
> directory… why could this be?
>
> what’s the difference between BUILD: Compiling (NoSync) and BUILD:
> Compiling… ?
>
> Could anyone shed some light as to what is happening here please? i
> am not too bothered about the undeclared identifier errors which are
> occurring (TWICE) since I have not implemented the methods required
> for a successful build…
>
> Regards
> James
>
>
>
> ------ Build started: Project: gsim-wdm, Configuration: Debug Win32
> ------ Performing Makefile project actions
> OSR DDKBUILD.BAT V6.3 - OSR, Open Systems Resources, Inc.
> WXP 32 BIT BUILD using WXP DDK
> build in directory . with arguments (basedir C:\WINDDK\3790.1830)
> run build -Ze -MI for checked version in .
> BUILD: Adding /Y to COPYCMD so xcopy ops won’t hang.
> BUILD: Using 2 child processes
> BUILD: Object root set to: ==> objchk_wnet_x86
> BUILD: Compile and Link for i386
> BUILD: Examining x:\common\common~1\media_~1\gsim_driver directory
> tree for files to compile.
> x:\common\common~1\media_~1\gsim_driver
> x:\common\common~1\media_~1\gsim_driver\driver
> x:\common\common~1\media_~1\gsim_driver\test
> BUILD: Compiling (NoSync)
> x:\common\common~1\media_~1\gsim_driver\driver directory
> BUILD: Compiling (NoSync) x:\common\common~1\media_~1\gsim_driver\test
> directory
> Compiling - pnp.cpp for i386
> errors in directory x:\common\common~1\media_~1\gsim_driver\driver
> x:\common\common_services\media_interface\gsim_driver\driver\pnp.cpp(29
> 2) : error C2065: ‘GdukHandleInterrupt’ : undeclared identifier
> BUILD: Compiling x:\common\common~1\media_~1\gsim_driver\driver
> directory Compiling - pnp.cpp for i386
> x:\common\common_services\media_interface\gsim_driver\driver\pnp.cpp(18
> 52) : error C2065: ‘GdukHandleInterrupt’ : undeclared identifier
> BUILD: Compiling x:\common\common~1\media_~1\gsim_driver\test
> directory BUILD: Compile errors: not linking
> x:\common\common~1\media_~1\gsim_driver\driver directory
> BUILD: Linking x:\common\common~1\media_~1\gsim_driver\test directory
> BUILD: Done
> 4 files compiled - 34 Errors
> =============== build warnings ======================
>
>
> build complete
> building browse information files
> Build log was saved at
> “file://x:\common\common_services\media_interface\gsim_driver\Debug\Bui
> ldLog .htm”
> gsim-wdm - 35 error(s), 0 warning(s)
>
> ---------------------- Done ----------------------
> Build: 0 succeeded, 1 failed, 0 skipped
>
> This email and any files attached to it are of a confidential nature
> and intended for the exclusive use of the individual or entity to whom
> they are addressed. If you are not the intended recipient, please be
> advised that you have received this email in error and action should
> be taken to inform the originator and this email should be deleted
> immediately and any copies made should be destroyed. If you are not
> the intended recipient, any form of disclosure, distribution,
> printing, copying or any other use of this email or the information in
> it or in any attachments is strictly prohibited and may be unlawful.
> Any views, opinions or other information expressed in the email and
> any attachments are those of the originator and not given or endorsed
> by General Dynamics UK Ltd.In compliance with the various Regulations
> and Acts, please be aware that General Dynamics UK Ltd reserves the
> right to monitor all emails and email attachments, both inbound and
> outbound, allowing legitimate business practice to continue.In
> addition to monitoring, General Dynamics UK Ltd also provides
> appropriate Antivirus measures scanning all incoming and outgoing
> email and email attachments. However, email communications cannot be
> guaranteed to be secure or free of errors as information may be
> intercepted, corrupted, amended, lost, destroyed or contain viruses.
> General Dynamics UK Ltd do not accept liability or responsibility for
> any such matters or the consequences thereof.
>
> Attachment decoded: untitled-2.txt
> ------=NextPart_001_01C582CD.50F2418C
>
>
>
>
>
>

>
>

I have
> managed to setup my visual studio .net environment to use
> the ddkbuild.bat provided by OSR…


>

> class=921241908-07072005>


>
However I
> have noticed something odd with the build output, it appears that the
> source files are compiled twice? I am confused… I do have
> browse files enabled, and currently implementing WWP… but even when
> these are disabled the source files are still compiled
> twice.

> class=921241908-07072005>


>
on the
> first compilation attempt it says that there are errors in the
> directory… why could this be?


>

> class=921241908-07072005>


>
what’s the
> difference between BUILD: Compiling (NoSync) and BUILD:
> Compiling… ?


>

> class=921241908-07072005>


>
Could
> anyone shed some light as to what is happening here please? i am
> not too bothered about the undeclared identifier errors which are
> occurring (TWICE) since I have not implemented the methods required
> for a successful build…


>

> class=921241908-07072005>


>
> class=921241908-07072005>Regards


>
> class=921241908-07072005>James


>

> class=921241908-07072005>


>

> class=921241908-07072005>


>
> size=1>


>
------ Build started: Project: gsim-wdm,
> Configuration: Debug Win32 ------


>
Performing Makefile project actions


>
OSR DDKBUILD.BAT V6.3 - OSR, Open Systems Resources,
> Inc.


>
WXP 32 BIT BUILD using WXP DDK


>
build in directory . with arguments (basedir
> C:\WINDDK\3790.1830)


>
run build -Ze -MI for checked version in
> .
BUILD: Adding /Y to COPYCMD so xcopy
> ops won’t hang.


>
BUILD: Using 2 child processes


>
BUILD: Object root set to: ==>
> objchk_wnet_x86
BUILD: Compile and Link
> for i386
BUILD: Examining
> x:\common\common~1\media
~1\gsim_driver directory tree for files to
> compile.

> size=2>x:\common\common~1\media
~1\gsim_driver

>

> size=2>x:\common\common~1\media_~1\gsim_driver\driver

>

x:\common\common~1\media_~1\gsim_driver\test
>


>
BUILD: Compiling (NoSync)
> x:\common\common~1\media_~1\gsim_driver\driver directory


>
BUILD: Compiling (NoSync)
> x:\common\common~1\media_~1\gsim_driver\test directory


>
Compiling - pnp.cpp for i386


>
errors in directory
> x:\common\common~1\media_~1\gsim_driver\driver


>
> size=2>x:\common\common_services\media_interface\gsim_driver\driver\pnp
> .cpp(292)
>: error C2065: ‘GdukHandleInterrupt’ : undeclared
>: identifier

>
BUILD: Compiling
> x:\common\common~1\media_~1\gsim_driver\driver directory


>
Compiling - pnp.cpp for i386


>
> size=2>x:\common\common_services\media_interface\gsim_driver\driver\pnp
> .cpp(1852)
>: error C2065: ‘GdukHandleInterrupt’ : undeclared
>: identifier

>
BUILD: Compiling
> x:\common\common~1\media_~1\gsim_driver\test directory


>
BUILD: Compile errors: not linking
> x:\common\common~1\media_~1\gsim_driver\driver directory


>
BUILD: Linking
> x:\common\common~1\media_~1\gsim_driver\test directory


>
BUILD: Done


>
4 files compiled - 34 Errors


>
=============== build warnings
> ======================


>


>


>
build complete


>
building browse information files


>
Build log was saved at
> “file://x:\common\common_services\media_interface\gsim_driver\Debug\Bui
> ldLog.htm”
gsim-wdm - 35 error(s), 0
> warning(s)


>
---------------------- Done
> ----------------------


>
Build: 0 succeeded, 1 failed, 0
> skipped

>

> size=2>

>
>

This email and any files attached to it
> are of a confidential nature and intended for the exclusive use of the
> individual or entity to whom they are addressed. If you are not the
> intended recipient, please be advised that you have received this
> email in error and action should be taken to inform the originator and
> this email should be deleted immediately and any copies made should be
> destroyed. If you are not the intended recipient, any form of
> disclosure, distribution, printing, copying or any other use of this
> email or the information in it or in any attachments is strictly
> prohibited and may be unlawful. Any views, opinions or other
> information expressed in the email and any attachments are those of
> the originator and not given or endorsed by General Dynamics UK Ltd.In
> compliance with the various Regulations and Acts, please be aware that
> General Dynamics UK Ltd reserves the right to monitor all emails and
> email attachments, both inbound and outbound, allowing legitimate
> business practice to continue.In addition to monitoring, General
> Dynamics UK Ltd also provides appropriate Antivirus measures scanning
> all incoming and outgoing email and email attachments. However, email
> communications cannot be guaranteed to be secure or free of errors as
> information may be intercepted, corrupted, amended, lost, destroyed or
> contain viruses. General Dynamics UK Ltd do not accept liability or
> responsibility for any such matters or the consequences
> thereof.


>
> Attachment decoded: untitled-3.htm
> ------_=_NextPart_001_01C582CD.50F2418C–

James Dunning wrote:

I have managed to setup my visual studio .net environment to use
the ddkbuild.bat provided by OSR…

However I have noticed something odd with the build output, it appears
that the source files are compiled twice? I am confused… I do have
browse files enabled, and currently implementing WWP… but even when
these are disabled the source files are still compiled twice.

I have seen this duplication when there are compilation errors in the
build, especially when you are building a directory with
subdirectories. I assume it is caused by some complicated nmake
dependency loop somewhere. It isn’t worth worrying about, since it goes
away when the errors go away.

on the first compilation attempt it says that there are errors in the
directory… why could this be?

Because there ARE errors: undeclared identifier errors, to be specific.

what’s the difference between BUILD: Compiling (NoSync) and BUILD:
Compiling… ?

Could anyone shed some light as to what is happening here please? i
am not too bothered about the undeclared identifier errors which are
occurring (TWICE) since I have not implemented the methods required
for a successful build…

Then you shouldn’t be too bothered by the duplication.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.