[Winpcap-users] Compilation error during driver compilation.

Mygapula, Sudheer IN BLR SISL sudheer.mygapula at siemens.com
Sun Sep 12 23:31:52 PDT 2010


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20100913/dd48af7b/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildfre_w2K_x86.log
Type: application/octet-stream
Size: 4475 bytes
Desc: buildfre_w2K_x86.log
Url : http://www.winpcap.org/pipermail/winpcap-users/attachments/20100913/dd48af7b/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildfre_w2K_x86.log
Type: application/octet-stream
Size: 4475 bytes
Desc: buildfre_w2K_x86.log
Url : http://www.winpcap.org/pipermail/winpcap-users/attachments/20100913/dd48af7b/attachment-0003.obj 


More information about the Winpcap-users mailing list