hxdlmnhx1
驱动牛犊
驱动牛犊
  • 注册日期2003-10-01
  • 最后登录2007-07-26
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1417回复:3

编译VdwLibs.dsw出错

楼主#
更多 发布于:2004-12-29 17:37
我在 编译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
yujianru
驱动牛犊
驱动牛犊
  • 注册日期2004-11-24
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2005-03-03 22:04
Errors in the build process.  
Cannot copy build result to DriverWorks\\lib.

出现这个问题??
AllenZh
驱动老牛
驱动老牛
  • 注册日期2001-08-19
  • 最后登录2015-11-27
  • 粉丝19
  • 关注10
  • 积分1316分
  • 威望2387点
  • 贡献值7点
  • 好评度321点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2005-01-16 21:44
呵呵,解决了,原来是2000ddk rc的问题,重装2000ddk sp1就行了

 

恭喜
1,承接Windows下驱动/应用开发 2,本人原创虚拟鼠标/键盘,触摸屏,虚拟显卡,Mirror驱动,XP无盘的SCSI虚拟磁盘驱动等 3,windows下有尝技术服务(包括BUG调试,员工培训等) 欢迎深圳和海外企业联系.msn:mfczmh@sina.com
hxdlmnhx1
驱动牛犊
驱动牛犊
  • 注册日期2003-10-01
  • 最后登录2007-07-26
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地板#
发布于:2005-01-15 21:52
呵呵,解决了,原来是2000ddk rc的问题,重装2000ddk sp1就行了

游客

返回顶部