阅读:1728回复:4
使用DriverStudio碰到的问题
用过DriverWorks的朋友知道,一般DriverWorks Wizard向导会生成两个工程,一个是.sys,一个是.exe,我现在的.sys工程已经顺利通过编译并生成.sys,我已在2000下将其安装好。但用于测试.sys的exe工程,在编译时却碰到一些问题,编译器提示:#error NTVERSION symbol must be defined to one of the following: 400, \'WDM\',编译器提示NTVERSION的定义在vdw.h文件中,我打开这个文件,发现有关NTVERSION的定义如下:
#error NTVERSION symbol must be defined to one of the following: 400, \'WDM\',错误出在vdw.h,我打开vdw.h看到有几行关于NTVERSION的: #ifdef _IA64_ extern \"C\" void __cdecl __mf(void); #pragma intrinsic(__mf) #endif #ifndef __VDW_VERSION__ #define __VDW_VERSION__ 250 #ifndef NTVERSION #error NTVERSION symbol must be defined to one of the following: 400, \'WDM\' #endif #define _WDM_ (NTVERSION == \'WDM\') #define _NT400_ (NTVERSION == 400) 于是我在这个头文件中加上一行#define NTVERSION 400,再编译,但发现编译器报更多地错误: --------------------Configuration: Test_RegSample - Win32 Release-------------------- Compiling... RegSampleDevice.cpp E:\\NTDDK\\INC\\DDK\\ntddk.h(370) : error C2146: syntax error : missing \';\' before identifier \'Lock\' E:\\NTDDK\\INC\\DDK\\ntddk.h(370) : error C2501: \'PULONG_PTR\' : missing storage-class or type specifiers E:\\NTDDK\\INC\\DDK\\ntddk.h(370) : error C2501: \'Lock\' : missing storage-class or type specifiers E:\\NTDDK\\INC\\DDK\\ntddk.h(7914) : error C2146: syntax error : missing \';\' before identifier \'InterruptTime\' E:\\NTDDK\\INC\\DDK\\ntddk.h(7914) : error C2501: \'InterruptTime\' : missing storage-class or type specifiers E:\\NTDDK\\INC\\DDK\\ntddk.h(7928) : error C2146: syntax error : missing \';\' before identifier \'SystemTime\' E:\\NTDDK\\INC\\DDK\\ntddk.h(7928) : error C2086: \'KSYSTEM_TIME\' : redefinition E:\\NTDDK\\INC\\DDK\\ntddk.h(7928) : error C2501: \'SystemTime\' : missing storage-class or type specifiers E:\\NTDDK\\INC\\DDK\\ntddk.h(7935) : error C2146: syntax error : missing \';\' before identifier \'TimeZoneBias\' E:\\NTDDK\\INC\\DDK\\ntddk.h(7935) : error C2086: \'KSYSTEM_TIME\' : redefinition E:\\NTDDK\\INC\\DDK\\ntddk.h(7935) : error C2501: \'TimeZoneBias\' : missing storage-class or type specifiers E:\\NTDDK\\INC\\DDK\\ntddk.h(9101) : error C2146: syntax error : missing \';\' before identifier \'ContextRecord\' E:\\NTDDK\\INC\\DDK\\ntddk.h(9101) : error C2501: \'PCONTEXT\' : missing storage-class or type specifiers E:\\NTDDK\\INC\\DDK\\ntddk.h(9101) : error C2501: \'ContextRecord\' : missing storage-class or type specifiers E:\\NTDDK\\INC\\DDK\\ntddk.h(10051) : error C2146: syntax error : missing \';\' before identifier \'KeTickCount\' E:\\NTDDK\\INC\\DDK\\ntddk.h(10051) : fatal error C1004: unexpected end of file found Error executing cl.exe. Test_RegSample.exe - 16 error(s), 0 warning(s) 不知是何故,不知有没有朋友碰到类似的问题,请指教。 我用的是DriverSuites2.7+Win2000DDK, |
|
沙发#
发布于:2005-05-04 23:22
我也有同样的问题
--------------------Configuration: 8139 - Win32 Debug-------------------- Compiling... driver.c e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(354) : error C2061: syntax error : identifier \'PULONG_PTR\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(355) : error C2059: syntax error : \'}\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(594) : error C2061: syntax error : identifier \'KSPIN_LOCK\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(594) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(595) : error C2143: syntax error : missing \'{\' before \'*\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2469) : error C2061: syntax error : identifier \'ULONG_PTR\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2470) : error C2059: syntax error : \'}\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2488) : error C2146: syntax error : missing \')\' before identifier \'IoStatusBlock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2488) : error C2081: \'PIO_STATUS_BLOCK\' : name in formal parameter list illegal e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2488) : error C2061: syntax error : identifier \'IoStatusBlock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2488) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2488) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2490) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5496) : error C2061: syntax error : identifier \'ULONG_PTR\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5497) : error C2059: syntax error : \'}\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5499) : error C2143: syntax error : missing \'{\' before \'*\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5525) : error C2061: syntax error : identifier \'PEXCEPTION_RECORD\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5527) : error C2059: syntax error : \'}\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5623) : error C2061: syntax error : identifier \'KSPIN_LOCK\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5625) : error C2059: syntax error : \'}\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5694) : error C2146: syntax error : missing \')\' before identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5694) : error C2061: syntax error : identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5694) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5694) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5697) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5702) : error C2146: syntax error : missing \')\' before identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5702) : error C2061: syntax error : identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5702) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5702) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5705) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5710) : error C2146: syntax error : missing \')\' before identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5710) : error C2061: syntax error : identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5710) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5711) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5720) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5720) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5720) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5721) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5726) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5726) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5726) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5726) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5728) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5733) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5733) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5733) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5733) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5736) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5741) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5741) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5741) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5742) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5747) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5747) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5747) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5747) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5749) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5754) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5754) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5754) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5754) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5756) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5918) : error C2146: syntax error : missing \')\' before identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5918) : error C2081: \'PKDPC\' : name in formal parameter list illegal e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5918) : error C2061: syntax error : identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5918) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5919) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5927) : error C2146: syntax error : missing \')\' before identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5927) : error C2081: \'PKDPC\' : name in formal parameter list illegal e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5927) : error C2061: syntax error : identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5927) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5928) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5980) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5980) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5980) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5981) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6027) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6027) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6027) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6028) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6033) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6033) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6033) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6034) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6039) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6039) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6039) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6040) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6045) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6045) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6045) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6046) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6054) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6054) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6054) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6054) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6056) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6114) : error C2146: syntax error : missing \')\' before identifier \'BugCheckParameter1\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6114) : error C2081: \'ULONG_PTR\' : name in formal parameter list illegal e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6114) : error C2061: syntax error : identifier \'BugCheckParameter1\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6114) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6114) : fatal error C1003: error count exceeds 100; stopping compilation ioctrl.c e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(354) : error C2061: syntax error : identifier \'PULONG_PTR\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(355) : error C2059: syntax error : \'}\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(594) : error C2061: syntax error : identifier \'KSPIN_LOCK\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(594) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(595) : error C2143: syntax error : missing \'{\' before \'*\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2469) : error C2061: syntax error : identifier \'ULONG_PTR\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2470) : error C2059: syntax error : \'}\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2488) : error C2146: syntax error : missing \')\' before identifier \'IoStatusBlock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2488) : error C2081: \'PIO_STATUS_BLOCK\' : name in formal parameter list illegal e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2488) : error C2061: syntax error : identifier \'IoStatusBlock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2488) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2488) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(2490) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5496) : error C2061: syntax error : identifier \'ULONG_PTR\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5497) : error C2059: syntax error : \'}\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5499) : error C2143: syntax error : missing \'{\' before \'*\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5525) : error C2061: syntax error : identifier \'PEXCEPTION_RECORD\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5527) : error C2059: syntax error : \'}\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5623) : error C2061: syntax error : identifier \'KSPIN_LOCK\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5625) : error C2059: syntax error : \'}\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5694) : error C2146: syntax error : missing \')\' before identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5694) : error C2061: syntax error : identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5694) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5694) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5697) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5702) : error C2146: syntax error : missing \')\' before identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5702) : error C2061: syntax error : identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5702) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5702) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5705) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5710) : error C2146: syntax error : missing \')\' before identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5710) : error C2061: syntax error : identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5710) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5711) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5720) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5720) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5720) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5721) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5726) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5726) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5726) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5726) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5728) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5733) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5733) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5733) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5733) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5736) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5741) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5741) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5741) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5742) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5747) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5747) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5747) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5747) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5749) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5754) : error C2146: syntax error : missing \')\' before identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5754) : error C2061: syntax error : identifier \'DeviceQueue\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5754) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5754) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5756) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5918) : error C2146: syntax error : missing \')\' before identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5918) : error C2081: \'PKDPC\' : name in formal parameter list illegal e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5918) : error C2061: syntax error : identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5918) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5919) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5927) : error C2146: syntax error : missing \')\' before identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5927) : error C2081: \'PKDPC\' : name in formal parameter list illegal e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5927) : error C2061: syntax error : identifier \'Dpc\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5927) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5928) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5980) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5980) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5980) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(5981) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6027) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6027) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6027) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6028) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6033) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6033) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6033) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6034) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6039) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6039) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6039) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6040) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6045) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6045) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6045) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6046) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6054) : error C2146: syntax error : missing \')\' before identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6054) : error C2061: syntax error : identifier \'SpinLock\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6054) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6054) : error C2059: syntax error : \',\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6056) : error C2059: syntax error : \')\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6114) : error C2146: syntax error : missing \')\' before identifier \'BugCheckParameter1\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6114) : error C2081: \'ULONG_PTR\' : name in formal parameter list illegal e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6114) : error C2061: syntax error : identifier \'BugCheckParameter1\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6114) : error C2059: syntax error : \';\' e:\\新建文件夹\\nic driver(rtl8139&sis900 for win2k)\\8139\\wdm.h(6114) : fatal error C1003: error count exceeds 100; stopping compilation Error executing cl.exe. 8139.exe - 204 error(s), 0 warning(s) |
|
板凳#
发布于:2005-05-05 09:10
楼主的问题可能是VC的tools->include的包括路径的顺序不太对,
调整一下顺序试试,,(如果装了SDK,就将SDK的include放在VC的上面) 一楼的应该是路径的问题了,,(编译的路径中不能友汉字,空格,之类的符号的。。改路径试试了,,数字,,括号最好也不要用) |
|
|
地板#
发布于:2005-05-05 11:43
才注意到。。老帖子了。。。 :o
|
|
|
地下室#
发布于:2005-05-05 17:19
呵呵,aiwadgj
果然很负责啊,能不能帮帮我啊? http://www.driverdevelop.com/forum/viewthread.php?tid=91618 谢谢 |
|