Hi,
I am new to device driver in windows. I was looking into the serial driver
source provided with DDK2K. I have included all the necessary files. While
building the serial driver by giving the build command , i am getting the
following error messages
E:\WINDDK\2600.1106\src\kernel\serial>build
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Object root set to: ==> objchk_wxp_x86
BUILD: Compile and Link for i386
BUILD: Loading E:\WINDDK\2600~1.110\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining e:\winddk\2600.1106\src\kernel\serial directory for files
to compile.
e:\winddk\2600.1106\src\kernel\serial - 16 source files (23,107 lines)
BUILD: Saving E:\WINDDK\2600~1.110\build.dat...
BUILD: Compiling e:\winddk\2600.1106\src\kernel\serial directory
Compiling - error.c for i386
error.c(69) : error C2065: 'DPFLTR_TRACE_LEVEL' : undeclared identifier
Compiling - flush.c for i386
flush.c(73) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
flush.c(76) : error C2065: 'DPFLTR_TRACE_LEVEL' : undeclared identifier
Compiling - immediat.c for i386
immediat.c(103) : error C2065: 'DPFLTR_TRACE_LEVEL' : undeclared identifier
immediat.c(171) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
Compiling - initunlo.c for i386
initunlo.c(179) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
initunlo.c(385) : error C2065: 'DPFLTR_TRACE_LEVEL' : undeclared identifier
initunlo.c(1113) : error C2065: 'DPFLTR_ERROR_LEVEL' : undeclared identifier
initunlo.c(1257) : error C2065: 'DPFLTR_WARNING_LEVEL' : undeclared
identifier
Compiling - ioctl.c for i386
ioctl.c(619) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
Compiling - modmflow.c for i386
modmflow.c(90) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
modmflow.c(1610) : error C2065: 'DPFLTR_TRACE_LEVEL' : undeclared identifier
Compiling - openclos.c for i386
openclos.c(137) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
openclos.c(499) : error C2065: 'DPFLTR_ERROR_LEVEL' : undeclared identifier
Compiling - qsfile.c for i386
qsfile.c(84) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
Compiling - read.c for i386
read.c(125) : error C2065: 'DPFLTR_TRACE_LEVEL' : undeclared identifier
read.c(131) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
Compiling - utils.c for i386
utils.c(328) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
utils.c(1109) : error C2065: 'DPFLTR_TRACE_LEVEL' : undeclared identifier
Compiling - waitmask.c for i386
waitmask.c(96) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
waitmask.c(639) : error C2065: 'DPFLTR_TRACE_LEVEL' : undeclared identifier
Compiling - write.c for i386
write.c(107) : error C2065: 'DPFLTR_TRACE_LEVEL' : undeclared identifier
write.c(113) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
Compiling - pnp.c for i386
pnp.c(128) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
pnp.c(3141) : error C2065: 'POOL_COLD_ALLOCATION' : undeclared identifier
Compiling - registry.c for i386
registry.c(313) : error C2065: 'DPFLTR_TRACE_LEVEL' : undeclared identifier
Compiling - legacy.c for i386
legacy.c(86) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
Compiling - power.c for i386
power.c(101) : error C2065: 'DPFLTR_INFO_LEVEL' : undeclared identifier
Compiling - generating code... for i386
BUILD: Compile errors: not linking e:\winddk\2600.1106\src\kernel\serial
directo
ry
BUILD: Done
17 files compiled - 28 Errors - 23107 LPS
Can anybody tell me where i am going wrong as i am unable to build the
serial driver.
Narendra