阅读:1417回复:3
编译VdwLibs.dsw出错
我在 编译VdwLibs.dsw出现很多错误,下面是一部分,好像都和kmemory.h有关:
\..\include\kmemory.h(84) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(87) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(301) : error C2065: 'MM_PAGE_PRIORITY' : undeclared identifier .\..\include\kmemory.h(301) : error C2146: syntax error : missing ')' before identifier 'priority' .\..\include\kmemory.h(301) : error C2433: 'MapToSystemSpaceSafe' : 'inline' not permitted on data declarations .\..\include\kmemory.h(301) : error C2350: 'KMemory::MapToSystemSpaceSafe' is not a static member .\..\include\kmemory.h(301) : error C2440: 'initializing' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast .\..\include\kmemory.h(301) : error C2059: syntax error : ')' .\..\include\kmemory.h(302) : error C2143: syntax error : missing ';' before '{' .\..\include\kmemory.h(302) : error C2447: missing function header (old-style formal list?) .\..\include\kmemory.h(308) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(322) : error C2065: 'MmMapLockedPagesSpecifyCache' : undeclared identifier .\..\include\kmemory.h(327) : error C2065: 'BugCheckOnFailure' : undeclared identifier .\..\include\kmemory.h(328) : error C2065: 'Priority' : undeclared identifier .\..\include\kmemory.h(328) : error C2440: '=' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast getnames.cpp .\..\include\kmemory.h(84) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(87) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(301) : error C2065: 'MM_PAGE_PRIORITY' : undeclared identifier .\..\include\kmemory.h(301) : error C2146: syntax error : missing ')' before identifier 'priority' .\..\include\kmemory.h(301) : error C2433: 'MapToSystemSpaceSafe' : 'inline' not permitted on data declarations .\..\include\kmemory.h(301) : error C2350: 'KMemory::MapToSystemSpaceSafe' is not a static member .\..\include\kmemory.h(301) : error C2440: 'initializing' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast .\..\include\kmemory.h(301) : error C2059: syntax error : ')' .\..\include\kmemory.h(302) : error C2143: syntax error : missing ';' before '{' .\..\include\kmemory.h(302) : error C2447: missing function header (old-style formal list?) .\..\include\kmemory.h(308) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(322) : error C2065: 'MmMapLockedPagesSpecifyCache' : undeclared identifier .\..\include\kmemory.h(327) : error C2065: 'BugCheckOnFailure' : undeclared identifier .\..\include\kmemory.h(328) : error C2065: 'Priority' : undeclared identifier .\..\include\kmemory.h(328) : error C2440: '=' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast k1394.cpp .\..\include\kmemory.h(84) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(87) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(301) : error C2065: 'MM_PAGE_PRIORITY' : undeclared identifier .\..\include\kmemory.h(301) : error C2146: syntax error : missing ')' before identifier 'priority' .\..\include\kmemory.h(301) : error C2433: 'MapToSystemSpaceSafe' : 'inline' not permitted on data declarations .\..\include\kmemory.h(301) : error C2350: 'KMemory::MapToSystemSpaceSafe' is not a static member .\..\include\kmemory.h(301) : error C2440: 'initializing' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast .\..\include\kmemory.h(301) : error C2059: syntax error : ')' .\..\include\kmemory.h(302) : error C2143: syntax error : missing ';' before '{' .\..\include\kmemory.h(302) : error C2447: missing function header (old-style formal list?) .\..\include\kmemory.h(308) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(322) : error C2065: 'MmMapLockedPagesSpecifyCache' : undeclared identifier .\..\include\kmemory.h(327) : error C2065: 'BugCheckOnFailure' : undeclared identifier .\..\include\kmemory.h(328) : error C2065: 'Priority' : undeclared identifier .\..\include\kmemory.h(328) : error C2440: '=' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast k1394Async.cpp .\..\include\kmemory.h(84) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(87) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(301) : error C2065: 'MM_PAGE_PRIORITY' : undeclared identifier .\..\include\kmemory.h(301) : error C2146: syntax error : missing ')' before identifier 'priority' .\..\include\kmemory.h(301) : error C2433: 'MapToSystemSpaceSafe' : 'inline' not permitted on data declarations .\..\include\kmemory.h(301) : error C2350: 'KMemory::MapToSystemSpaceSafe' is not a static member .\..\include\kmemory.h(301) : error C2440: 'initializing' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast .\..\include\kmemory.h(301) : error C2059: syntax error : ')' .\..\include\kmemory.h(302) : error C2143: syntax error : missing ';' before '{' .\..\include\kmemory.h(302) : error C2447: missing function header (old-style formal list?) .\..\include\kmemory.h(308) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(322) : error C2065: 'MmMapLockedPagesSpecifyCache' : undeclared identifier .\..\include\kmemory.h(327) : error C2065: 'BugCheckOnFailure' : undeclared identifier .\..\include\kmemory.h(328) : error C2065: 'Priority' : undeclared identifier .\..\include\kmemory.h(328) : error C2440: '=' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast K1394Isoc.cpp .\..\include\kmemory.h(84) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(87) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(301) : error C2065: 'MM_PAGE_PRIORITY' : undeclared identifier .\..\include\kmemory.h(301) : error C2146: syntax error : missing ')' before identifier 'priority' .\..\include\kmemory.h(301) : error C2433: 'MapToSystemSpaceSafe' : 'inline' not permitted on data declarations .\..\include\kmemory.h(301) : error C2350: 'KMemory::MapToSystemSpaceSafe' is not a static member .\..\include\kmemory.h(301) : error C2440: 'initializing' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast .\..\include\kmemory.h(301) : error C2059: syntax error : ')' .\..\include\kmemory.h(302) : error C2143: syntax error : missing ';' before '{' .\..\include\kmemory.h(302) : error C2447: missing function header (old-style formal list?) .\..\include\kmemory.h(308) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(322) : error C2065: 'MmMapLockedPagesSpecifyCache' : undeclared identifier .\..\include\kmemory.h(327) : error C2065: 'BugCheckOnFailure' : undeclared identifier .\..\include\kmemory.h(328) : error C2065: 'Priority' : undeclared identifier .\..\include\kmemory.h(328) : error C2440: '=' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast kadapter.cpp .\..\include\kmemory.h(84) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(87) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(301) : error C2065: 'MM_PAGE_PRIORITY' : undeclared identifier .\..\include\kmemory.h(301) : error C2146: syntax error : missing ')' before identifier 'priority' .\..\include\kmemory.h(301) : error C2433: 'MapToSystemSpaceSafe' : 'inline' not permitted on data declarations .\..\include\kmemory.h(301) : error C2350: 'KMemory::MapToSystemSpaceSafe' is not a static member .\..\include\kmemory.h(301) : error C2440: 'initializing' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast .\..\include\kmemory.h(301) : error C2059: syntax error : ')' .\..\include\kmemory.h(302) : error C2143: syntax error : missing ';' before '{' .\..\include\kmemory.h(302) : error C2447: missing function header (old-style formal list?) .\..\include\kmemory.h(308) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(322) : error C2065: 'MmMapLockedPagesSpecifyCache' : undeclared identifier .\..\include\kmemory.h(327) : error C2065: 'BugCheckOnFailure' : undeclared identifier .\..\include\kmemory.h(328) : error C2065: 'Priority' : undeclared identifier .\..\include\kmemory.h(328) : error C2440: '=' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast kaddress.cpp .\..\include\kmemory.h(84) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(87) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(301) : error C2065: 'MM_PAGE_PRIORITY' : undeclared identifier .\..\include\kmemory.h(301) : error C2146: syntax error : missing ')' before identifier 'priority' .\..\include\kmemory.h(301) : error C2433: 'MapToSystemSpaceSafe' : 'inline' not permitted on data declarations .\..\include\kmemory.h(301) : error C2350: 'KMemory::MapToSystemSpaceSafe' is not a static member .\..\include\kmemory.h(301) : error C2440: 'initializing' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast .\..\include\kmemory.h(301) : error C2059: syntax error : ')' .\..\include\kmemory.h(302) : error C2143: syntax error : missing ';' before '{' .\..\include\kmemory.h(302) : error C2447: missing function header (old-style formal list?) .\..\include\kmemory.h(308) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY' .\..\include\kmemory.h(322) : error C2065: 'MmMapLockedPagesSpecifyCache' : undeclared identifier 哪位大侠知道原因?编译环境2000sp4+ds3.1+2000ddk rc |
|
沙发#
发布于:2005-03-03 22:04
Errors in the build process.
Cannot copy build result to DriverWorks\\lib. 出现这个问题?? |
|
板凳#
发布于:2005-01-16 21:44
呵呵,解决了,原来是2000ddk rc的问题,重装2000ddk sp1就行了 恭喜 |
|
|
地板#
发布于:2005-01-15 21:52
呵呵,解决了,原来是2000ddk rc的问题,重装2000ddk sp1就行了
|
|