[Winpcap-users] Compilation error during driver compilation.
Gianluca Varenni
gianluca.varenni at cacetech.com
Mon Sep 13 09:12:52 PDT 2010
You need to use WDK 6000 or WDK 6001.18002,
http://www.winpcap.org/docs/docs_412/html/group__compilation.html
GV
From: Mygapula, Sudheer IN BLR SISL
Sent: Sunday, September 12, 2010 11:31 PM
To: winpcap-users at winpcap.org
Subject: [Winpcap-users] Compilation error during driver compilation.
Hello,
When I am compiling the driver compilation errors coming as attached in mail.
What might be problem?
C:\WINDDK\3790~1.183>E:
E:\>cd winpcap
E:\winpcap>cd packetNtx
E:\winpcap\packetNtx>CompileDriver.bat x86
******************************************************
* Compiling the driver for Windows NT5.x 32 bit *
******************************************************
-----------------------------------------------------------------------------
Microsoft (R) PREfast Version 1.5.2402 for 80x86.
Copyright (C) Microsoft Corporation. All rights reserved.
-----------------------------------------------------------------------------
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Using 2 child processes
BUILD: Object root set to: ==> objfre_w2K_x86
BUILD: Compile and Link for i386
BUILD: Loading C:\WINDDK\3790~1.183\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining e:\winpcap\packetntx directory tree for files to compile.
e:\winpcap\packetntx
e:\winpcap\packetntx\driver
e:\winpcap\packetntx\driver - 8 source files (7,277 lines)
BUILD: Saving C:\WINDDK\3790~1.183\build.dat...
BUILD: Compiling (NoSync) e:\winpcap\packetntx\driver directory
1>Compiling - npf.rc for i386
1>cl : warning D4002 : ignoring unknown option '/hotpatch'
1>Compiling - packet.c for i386
1>Compiling - openclos.c for i386
1>Compiling - read.c for i386
1>Compiling - write.c for i386
1>Compiling - dump.c for i386
1>errors in directory e:\winpcap\packetntx\driver
1>driver\dump.c(252) : error C2065: 'PsThreadType' : undeclared identifier
1>driver\dump.c(252) : error C2100: illegal indirection
1>Compiling - win_bpf_filter.c for i386
1>Compiling - jitter.c for i386
1>Compiling - packet.c for i386
1>Compiling - openclos.c for i386
1>Compiling - read.c for i386
1>Compiling - write.c for i386
1>Compiling - dump.c for i386
1>driver\dump.c(252) : error C2065: 'PsThreadType' : undeclared identifier
1>driver\dump.c(252) : error C2100: illegal indirection
1>driver\dump.c(252) : error C4047: 'function' : 'POBJECT_TYPE' differs in level
s of indirection from 'int'
1>Compiling - win_bpf_filter.c for i386
1>Compiling - jitter.c for i386
1>Compiling - generating code... for i386
BUILD: Compiling e:\winpcap\packetntx\driver directory
100>cl : warning D4002 : ignoring unknown option '/hotpatch'
100>Compiling - dump.c for i386
100>driver\dump.c(252) : error C2065: 'PsThreadType' : undeclared identifier
100>driver\dump.c(252) : error C2100: illegal indirection
100>Compiling - dump.c for i386
100>driver\dump.c(252) : error C2065: 'PsThreadType' : undeclared identifier
100>driver\dump.c(252) : error C2100: illegal indirection
100>driver\dump.c(252) : error C4047: 'function' : 'POBJECT_TYPE' differs in lev
els of indirection from 'int'
BUILD: Compile errors: not linking e:\winpcap\packetntx\driver directory
BUILD: Done
19 files compiled - 2 Warnings - 10 Errors - 5240 LPS
Error: The build command 'build' returned status '1'.
-----------------------------------------------------------------------------
Removing duplicate defects from the log...
-----------------------------------------------------------------------------
PREfast reported 5 defects during execution of the command.
-----------------------------------------------------------------------------
Enter PREFAST LIST to list the defect log as text within the console.
Enter PREFAST VIEW to display the defect log user interface.
--------------------------------------------------------------------------------
Important notice: This e-mail and any attachment there to contains corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system.
Thank You.
--------------------------------------------------------------------------------
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20100913/17a4f19e/attachment-0001.htm
More information about the Winpcap-users
mailing list