Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Problem with build

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Hi all,
I am building a filter driver using the command line below :
build -cZe

and I am getting following output

BUILD: Compile and Link for i386
BUILD: Compiling c:\filter directory
Compiling - filter.c for i386
BUILD: Linking c:\filter directory
Compiling - filter.c for i386
Linking Executable - i386\checked\filter.sys for i386
BUILD: Done

1 files compiled
1 executables built

This output shows that build was successful but I could not find filter.sys
file on my harddisk.

Can anybody suggest the problem.

makefile is standard makefile.def supplied with DDK and source file is as:
TARGETNAME=filter
TARGETPATH=.
TARGETTYPE=DRIVER
INCLUDES=.


SOURCES=pdefilter.c

Thanks
Ashish

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Problem with buildAshish,

    It should be in your DDK directory. Is your DDK on the disk you are
    searching? Check ddk/lib/i386/checked for NT4. The directory structure is
    a little different for Win2000.

    -Evan Hillman

    -----Original Message-----
    From: [email protected]
    [mailto:[email protected]]On Behalf Of Ashish_Goyal
    Sent: Saturday, April 22, 2000 5:04 AM
    To: NT Developers Interest List
    Subject: [ntdev] Problem with build


    Hi all,
    I am building a filter driver using the command line below :
    build -cZe

    and I am getting following output

    BUILD: Compile and Link for i386
    BUILD: Compiling c:\filter directory
    Compiling - filter.c for i386
    BUILD: Linking c:\filter directory
    Compilng - filter.c for i386
    Linking Executable - i386\checked\filter.sys for i386
    BUILD: Done

    1 files compiled
    1 executables built

    This output shows that build was successful but I could not find
    filter.sys file on my harddisk.

    Can anybody suggest the problem.

    makefile is standard makefile.def supplied with DDK and source file is as:
    TARGETNAME=filter
    TARGETPATH=.
    TARGETTYPE=DRIVER
    INCLUDES=.



    SOURCES=pdefilter.c

    Thanks
    Ashish
  • Mark_RoddyMark_Roddy Member - All Emails Posts: 4,662
    Problem with buildFor W2K: TARGETPATH=obj

    For NT4 try taking a look at any of the sources files supplied with the ddk
    sample drivers.

    Mark Roddy
    Windows 2000/NT Consultant
    Hollis Technology Solutions
    www.hollistech.com

    -----Original Message-----
    From: [email protected]
    [mailto:[email protected]]On Behalf Of Ashish_Goyal
    Sent: Saturday, April 22, 2000 7:04 AM
    To: NT Developers Interest List
    Subject: [ntdev] Problem with build


    Hi all,
    I am building a filter driver using the command line below :
    build -cZe

    and I am getting following output

    BUILD: Compile and Link for i386
    BUILD: Compiling c:\filter directory
    Compiling - filter.c for i386
    BUILD: Linking c:\filter directory
    Compiling - filter.c for i386
    Linking Executable - i386\checked\filter.sys for i386
    BUILD: Done

    1 files compiled
    1 executables built

    This output shows that build was successful but I could not find
    filter.sys file on my harddisk.

    Can anybody suggest the problem.

    makefile is standard makefile.def supplied with DDK and source file is as:
    TARGETNAME=filter
    TARGETPATH=.
    TARGETTYPE=DRIVER
    INCLUDES=.



    SOURCES=pdefilter.c

    Thanks
    Ashish
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 16-20 October 2023 Live, Online
Developing Minifilters 13-17 November 2023 Live, Online
Internals & Software Drivers 4-8 Dec 2023 Live, Online
Writing WDF Drivers 10-14 July 2023 Live, Online