News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Made a driver

Started by Magnum, August 09, 2013, 04:30:54 AM

Previous topic - Next topic

Magnum

Will Pelles C produce a driver as well from c code ?

Thanks.
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

Magnum

Got these error messages and the actual path is below them.
I can see that the path is missing some directories that I take are needed.

How can I get it to compile ? There are a few question in the next section.

Thanks.

x86
path contains nonexistant c:\winddk\tools\sdv\bin, removing
path contains nonexistant c:\winddk\bin\x86\oacr, removing
path contains nonexistant c:\winddk\tools\pfd\bin\bin\x86, removing
path contains nonexistant c:\winddk\tools\tracing\i386, removing
path contains nonexistant c:\winddk\bin\x86, removing
path contains nonexistant c:\winddk\bin\x86\x86, removing
path contains nonexistant c:\winddk\bin\selfsign, removing

PATH=c:\WinDDK\tools\sdv\bin;c:\WinDDK\bin\x86\oacr;c:\WinDDK\tools\pfd\bin\bin\x86;c:\WinDDK\tools\tracing\i386;c:\WinDDK\bin\x86;c:\WinDDK\bin\x86\x86;c:\WinDDK\bin\SelfSign;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;

makefile

This is someone elses makefile for the driver.

Does sources have to have the complete path ?

!INCLUDE $(NTMAKEENV)\makefile.def
sources

TARGETNAME=bangbangbust
TARGETTYPE=DRIVER
TARGETPATH=obj
SOURCES = bangbangbust.c
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

Magnum

As you'll see below, Build says DONE, but..

1. There is no driver
2. There is no log file
3. Microsoft compilers are stupid.


C:\WinDDK\7600.16385.1>REM invoke xpcheckedbuild environment
OACR monitor running already
.binaries
.obj
amd64
amd64mk.inc
bangbangbust.c
BlockDir
Buildit.bat
coffbase.txt
generic.mac
i386mk.inc
ia64
ia64mk.inc
makefile
makefile.ctrpp
makefile.def
makefile.new
makefile.plt
makefile.txt
newest.bat
oacr_base.ini
path.txt
projects.inc
selfsign
setenv.bat
setwdf.bat
t.bat
verify.src
WppConfig
x86
BUILD: Compile and Link for x86
BUILD: Start time: Thu Aug 08 19:06:31 2013
BUILD: Finish time: Thu Aug 08 19:06:31 2013
BUILD: Done

Install bang bang bust service in a vm with sc or osrloader and
start the service to enjoy a blue screen.

C:\WinDDK\7600.16385.1\bin>

Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org