What are you trying to do exactly? Spawn a WDK build from VS? If so, you
might want to use DDKBUILD.BAT, available from either osronline.com or hollistech.com.
Good luck,
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.it
Sent: Sunday, October 23, 2011 2:39 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Makefile errors in wdk project build
Hi all, the question is simple: during the building of my wdk driver on vs,
those errors occurs:
Error 1 error U1087: cannot have : and :: dependents for same target
in c:\winddk\7600.16385.0\bin\makefile.new
!if $(USE_OBJECT_ROOT)
{$(OBJ_PATH)\$O}.cxx{$(OBJ_PATH)\$O}.obj::
$(CXX_COMPILER_NAME) @\<\<$(CL_RSP)
/Fo"$(OBJ_PATH)\$O/"
/FC
$(EX_CXX_COMPILER_FLAGS: =
)
$\<
\<\<$(BUILD_NOKEEP)
!endif \<--- here error
Error 2 error MSB3073: The command "call
C:\WINDDK\7600.16385.0\bin\setenv.bat C:\WINDDK\7600.16385.0 chk win7
cd /d C:\Users\Numa\Documents\Visual Studio
2010\Projects\Minifilter1\Minifilter1
build" exited with code 1.
in Microsoft.MakeFile.Target
<target name="Build">DependsOnTargets="PrepareForNMakeBuild;ResolveReferences;GetTargetPath"<br>Returns="$(NMakeManagedOutput)"><br> <vcmessage code="MSB8005" type="Warning">Arguments="NMakeBuildCommandLine"<br>Condition="'$(NMakeBuildCommandLine)'==''"/><br><exec command="$(NMakeBuildCommandLine)">Condition="'$(NMakeBuildCommandLine)'!=''"/> <-here error<br> </exec></vcmessage></target>
Go to Windows Start, select the WDK, select build environments, choose one, with or without egg roll. Navigate in the command line to your project directory, enter “bld -Zc” and press enter.
Or download DDKBUILD, unzip it, enter a command line, navigate to your project and run “ddkbuild - [checked|free] [path to source|.] [options]”
Take a look at the log file (build(chk|fre)(os)(arch).log).
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.it
Sent: Monday, October 24, 2011 4:57 PM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] Makefile errors in wdk project build
Hello, thanks for your reply!
Yes, it works, no more errors. But the out is weird: built in 0 sec?
What was the exact command line you typed (to run the build)?
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.it
Sent: Monday, October 24, 2011 5:55 PM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] Makefile errors in wdk project build
Hello mm, thanks for your reply
the command just gives me as output a text file with this string:
wrote in message news:xxxxx@ntfsd… > build free win7 x86 .log > > it just creates a file called buildfre_win7_x86.txt with: > > “BUILD: Computing Include file dependencies:” >
Also, just to be certain, you’re project directory contains EITHER a ‘dirs’
file or a SOURCES file (and possibly a Makefile) ?
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.it
Sent: Tuesday, October 25, 2011 3:49 AM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] Makefile errors in wdk project build
Hey Maxim, thanks for the reply.
Same stuff (see above), it just creates this strange text file, no .sys in
there.
(I navigate into my project folder the build -c right?)
I’m not sure what those error messages mean exactly, but it sounds like
you’re trying to do stuff with paths that you can’t.
How about posting the contents of your sources file?
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.it
Sent: Tuesday, October 25, 2011 5:08 AM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] Makefile errors in wdk project build
Hello mm,
well running build -ceZ -why gives me 2 errors in project directory
NMAKE: fatal error U1073: don’t know how to make C:…\ stdafx.obj (this
is not included in the project)