sc_wolf
驱动小牛
驱动小牛
  • 注册日期2006-09-03
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分35分
  • 威望278点
  • 贡献值1点
  • 好评度150点
  • 原创分0分
  • 专家分0分
阅读:2233回复:2

使用DDK编译出现错误前有乱码,错误重复,怎么解决

楼主#
更多 发布于:2010-05-15 20:04
不知道我上面的形容准确不,我使用DDK编译时,输入build,编译如果有错误,会显示如下:
1、错误的行号前,会有一个1>  101> 100>之类的东西;
2、错误会重复二次;

虽然这个不影响使用,但是这样放在这里,总是让人觉得不太好;请各位高手帮帮忙;谢谢。。刚上搜了一大堆,没有解决办法;

BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Using 2 child processes
BUILD: Object root set to: ==> objfre_wxp_x86
BUILD: Compile and Link for i386
BUILD: Loading d:\WINDDK\3790~1.121\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining g:\sys directory for files to compile.
    g:\sys - 1 source files (209 lines)
BUILD: Compiling (NoSync) g:\sys directory
1>Compiling - filedisk.c for i386    //编译结果,前面多了一个1>导致在IDE环境下,无法双击直接定位
1>errors in directory g:\sys
1>filedisk.c(26) : error C2054: expected '(' to follow 'a'
1>filedisk.c(29) : error C2085: 'DriverEntry' : not in formal parameter list
1>filedisk.c(35) : error C2085: 'FileDiskUnload' : not in formal parameter list
1>filedisk.c(46) : error C2085: 'DriverEntry' : not in formal parameter list
1>filedisk.c(46) : error C2143: syntax error : missing ';' before '{'
BUILD: Compiling  g:\sys directory
101>Compiling - filedisk.c for i386
101>filedisk.c(26) : error C2054: expected '(' to follow 'a'   //错误结果二次重复
101>filedisk.c(29) : error C2085: 'DriverEntry' : not in formal parameter list
101>filedisk.c(35) : error C2085: 'FileDiskUnload' : not in formal parameter lis
t
101>filedisk.c(46) : error C2085: 'DriverEntry' : not in formal parameter list
101>filedisk.c(46) : error C2143: syntax error : missing ';' before '{'
BUILD: Compile errors: not linking g:\sys directory
BUILD: Done

    4 files compiled - 10 Errors
sc_wolf
驱动小牛
驱动小牛
  • 注册日期2006-09-03
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分35分
  • 威望278点
  • 贡献值1点
  • 好评度150点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2010-05-15 20:26
高手,帮帮我吧。。。这个问题,让我伤心了一年了。
eleqi
驱动小牛
驱动小牛
  • 注册日期2005-12-20
  • 最后登录2014-01-03
  • 粉丝4
  • 关注2
  • 积分172分
  • 威望1475点
  • 贡献值0点
  • 好评度115点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2010-05-17 01:29
猜测有可能是filedisk.c里面指定要输出导致的
游客

返回顶部