Click here to Skip to main content
15,908,931 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: System Hang while using pen drive Pin
M.Nouri10-Mar-08 4:13
M.Nouri10-Mar-08 4:13 
QuestionBuild a DLL with DDK Pin
Member 41248731-Mar-08 3:41
Member 41248731-Mar-08 3:41 
GeneralRe: Build a DLL with DDK Pin
JudyL_MD3-Mar-08 2:23
JudyL_MD3-Mar-08 2:23 
GeneralRe: Build a DLL with DDK Pin
Member 41248733-Mar-08 8:14
Member 41248733-Mar-08 8:14 
GeneralRe: Build a DLL with DDK Pin
JudyL_MD3-Mar-08 8:43
JudyL_MD3-Mar-08 8:43 
GeneralRe: Build a DLL with DDK Pin
Member 412487322-Mar-08 0:18
Member 412487322-Mar-08 0:18 
GeneralRe: Build a DLL with DDK Pin
JudyL_MD24-Mar-08 4:05
JudyL_MD24-Mar-08 4:05 
GeneralRe: Build a DLL with DDK Pin
Member 412487324-Mar-08 4:43
Member 412487324-Mar-08 4:43 
I tried adding into my Sources file this line:

TARGETLIBS = C:\VirtualDiskTools\lib\ntdll.lib

Anyway, while compiling I get the same errors (I cut here all compiler output for your reference):


1>OSR DDKBUILD.BAT V6.11 - OSR, Open Systems Resources, Inc.
1>WXP BUILD using WNET DDK
1>build in directory C:\VirtualDiskTools with arguments -cZ (basedir C:\WinDDK\2600~1.110)
1>run build -Ze -cZ -MI for checked version in C:\VIRTUA~2
1>BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
1>BUILD: Using 2 child processes
1>BUILD: Object root set to: ==> objchk_wxp_x86
1>BUILD: Compile and Link for i386
1>BUILD: Examining c:\virtua~2 directory for files to compile.
1> c:\virtua~2
1>BUILD: Compiling c:\virtua~2 directory
1>Compiling - virtualdisktools.c for i386
1>Building Library - objchk_wxp_x86\i386\virtualdisktools.lib for i386
1>BUILD: Linking c:\virtua~2 directory
1>Linking Executable - objchk_wxp_x86\i386\virtualdisktools.dll for i386
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__ExFreePoolWithTag@8 referenced in function _DriverEntry@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__ExAllocatePoolWithTag@12 referenced in function _DriverEntry@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeSetEvent@12 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__ObReferenceObjectByHandle@24 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__IoDeleteDevice@4 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__PsCreateSystemThread@28 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeInitializeEvent@12 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeInitializeSpinLock@4 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__IoCreateDevice@28 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeGetCurrentIrql@0 referenced in function _FileDiskUnload@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__SeTokenType@4 referenced in function _FileDiskDeleteDevice@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp_@ObfDereferenceObject@4 referenced in function _FileDiskDeleteDevice@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeWaitForSingleObject@20 referenced in function _FileDiskDeleteDevice@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp_@IofCompleteRequest@8 referenced in function _FileDiskCreateClose@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp_@ExfInterlockedInsertTailList@12 referenced in function _FileDiskReadWrite@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__SeCreateClientSecurity@16 referenced in function _FileDiskDeviceControl@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol _KeGetCurrentThread@0 referenced in function _FileDiskDeviceControl@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__PsRevertToSelf@0 referenced in function _FileDiskThread@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__SeImpersonateClient@8 referenced in function _FileDiskThread@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__MmMapLockedPagesSpecifyCache@24 referenced in function _FileDiskThread@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp_@ExfInterlockedRemoveHeadList@8 referenced in function _FileDiskThread@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__PsTerminateSystemThread@4 referenced in function _FileDiskThread@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeSetPriorityThread@8 referenced in function _FileDiskThread@4
1>objchk_wxp_x86\i386\virtualdisktools.dll : error LNK1120: 23 unresolved externals
1>BUILD: Done
1> 2 files compiled
1> 1 library built
1> 1 executable built - 24 Errors
1>=============== build warnings ======================
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__ExFreePoolWithTag@8 referenced in function _DriverEntry@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__ExAllocatePoolWithTag@12 referenced in function _DriverEntry@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeSetEvent@12 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__ObReferenceObjectByHandle@24 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__IoDeleteDevice@4 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__PsCreateSystemThread@28 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeInitializeEvent@12 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeInitializeSpinLock@4 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__IoCreateDevice@28 referenced in function _FileDiskCreateDevice@12
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeGetCurrentIrql@0 referenced in function _FileDiskUnload@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__SeTokenType@4 referenced in function _FileDiskDeleteDevice@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp_@ObfDereferenceObject@4 referenced in function _FileDiskDeleteDevice@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeWaitForSingleObject@20 referenced in function _FileDiskDeleteDevice@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp_@IofCompleteRequest@8 referenced in function _FileDiskCreateClose@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp_@ExfInterlockedInsertTailList@12 referenced in function _FileDiskReadWrite@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__SeCreateClientSecurity@16 referenced in function _FileDiskDeviceControl@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol _KeGetCurrentThread@0 referenced in function _FileDiskDeviceControl@8
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__PsRevertToSelf@0 referenced in function _FileDiskThread@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__SeImpersonateClient@8 referenced in function _FileDiskThread@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__MmMapLockedPagesSpecifyCache@24 referenced in function _FileDiskThread@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp_@ExfInterlockedRemoveHeadList@8 referenced in function _FileDiskThread@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__PsTerminateSystemThread@4 referenced in function _FileDiskThread@4
1>virtualdisktools.obj : error LNK2019: unresolved external symbol __imp__KeSetPriorityThread@8 referenced in function _FileDiskThread@4
1>objchk_wxp_x86\i386\VirtualDiskTools.dll : fatal error LNK1120: 23 unresolved externals
1>
1>
1>build complete
1>building browse information files


This is, if it can be usefull, the command line that I use to compile the project:
C:\ddkbuild\ddkbuild -WNETXP chk C:\VirtualDiskTools -cZ

I'm new in driver developing and I'm not able to find out the cause of my troubles compiling this project.

If you need more information on my source, project etc., please ask me.

Thanks in advance
GeneralRe: Build a DLL with DDK Pin
JudyL_MD24-Mar-08 5:18
JudyL_MD24-Mar-08 5:18 
Generalrobotics..... Pin
kanza azhar29-Feb-08 6:24
kanza azhar29-Feb-08 6:24 
GeneralRe: robotics..... Pin
Paul Conrad7-Mar-08 14:29
professionalPaul Conrad7-Mar-08 14:29 
AnswerRe: robotics..... Pin
M.Nouri10-Mar-08 4:22
M.Nouri10-Mar-08 4:22 
GeneralRe: robotics..... Pin
kanza azhar10-Mar-08 5:27
kanza azhar10-Mar-08 5:27 
AnswerRe: robotics..... Pin
M.Nouri10-Mar-08 18:41
M.Nouri10-Mar-08 18:41 
GeneralRe: robotics..... Pin
kanza azhar11-Mar-08 3:16
kanza azhar11-Mar-08 3:16 
AnswerRe: robotics..... Pin
M.Nouri11-Mar-08 3:33
M.Nouri11-Mar-08 3:33 
GeneralRe: robotics..... Pin
kanza azhar5-Apr-08 8:37
kanza azhar5-Apr-08 8:37 
GeneralRe: robotics..... Pin
M.Nouri5-Apr-08 22:31
M.Nouri5-Apr-08 22:31 
GeneralExtra driver entries viewed in device manager (with yellow exclamation mark) Pin
Manasi D28-Feb-08 18:28
Manasi D28-Feb-08 18:28 
GeneralRe: Extra driver entries viewed in device manager (with yellow exclamation mark) Pin
fat_boy6-Mar-08 7:22
fat_boy6-Mar-08 7:22 
GeneralRe: Extra driver entries viewed in device manager (with yellow exclamation mark) Pin
Manasi D7-Mar-08 1:52
Manasi D7-Mar-08 1:52 
GeneralRe: Extra driver entries viewed in device manager (with yellow exclamation mark) Pin
fat_boy7-Mar-08 2:04
fat_boy7-Mar-08 2:04 
GeneralComputer Not Booting.... Pin
aj.esler27-Feb-08 12:14
aj.esler27-Feb-08 12:14 
GeneralRe: Computer Not Booting.... Pin
Sebastian Schneider27-Feb-08 22:36
Sebastian Schneider27-Feb-08 22:36 
AnswerRe: Computer Not Booting.... Pin
M.Nouri12-Mar-08 1:44
M.Nouri12-Mar-08 1:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.