首页
社区
课程
招聘
[求助]A-Protect_0.4.3、0.4.4无法通过编译
发表于: 2013-5-9 14:32 5256

[求助]A-Protect_0.4.3、0.4.4无法通过编译

2013-5-9 14:32
5256
从论坛下载了这2个版本的A-Protect_0.4.3和0.4.4无法通过编译,为了它重装了系统,出现同一个错误,不知是什么原因。知道的朋友麻烦说一下,万分感谢!!!
A-Protect主程序能通过编译,但里面的0.43版的driver,和0.4.4版safesystem都出现这样的错误!!
Compiling - control.c
1>  1>errors in directory e:\360dow~1\a-prot~1.4\a-prot~1.4\src\safesy~1
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(215): error C2016: C requires that a struct or union has at least one member
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(215): error C2061: syntax error : identifier 'u_short'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(221): error C2059: syntax error : '}'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(231): error C2016: C requires that a struct or union has at least one member
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(231): error C2061: syntax error : identifier 'LPSOCKADDR'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(233): error C2059: syntax error : '}'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(240): error C2061: syntax error : identifier 'SOCKET_ADDRESS'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(241): error C2059: syntax error : '}'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(255): error C2016: C requires that a struct or union has at least one member
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(255): error C2061: syntax error : identifier 'SOCKET_ADDRESS'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(256): error C2061: syntax error : identifier 'RemoteAddr'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(256): error C2059: syntax error : ';'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(259): error C2059: syntax error : '}'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(641): error C2016: C requires that a struct or union has at least one member
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(641): error C2061: syntax error : identifier 'LPSOCKADDR'
1>c:\winddk\7600.16385.1\inc\api\ws2def.h(659): error C2059: syntax error : '}'
1>c:\winddk\7600.16385.1\inc\api\ws2ipdef.h(75): error C2079: 'Address' uses undefined struct 'sockaddr'
1>c:\winddk\7600.16385.1\inc\api\ws2ipdef.h(97): error C2061: syntax error : identifier 'SOCKET_ADDRESS'
1>c:\winddk\7600.16385.1\inc\api\ws2ipdef.h(98): error C2061: syntax error : identifier 'iiBroadcastAddress'
1>c:\winddk\7600.16385.1\inc\api\ws2ipdef.h(98): error C2059: syntax error : ';'
1>c:\winddk\7600.16385.1\inc\api\ws2ipdef.h(99): error C2061: syntax error : identifier 'iiNetmask'
1>c:\winddk\7600.16385.1\inc\api\ws2ipdef.h(99): error C2059: syntax error : ';'
1>c:\winddk\7600.16385.1\inc\api\ws2ipdef.h(100): error C2059: syntax error : '}'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1281): error C2146: syntax error : missing ')' before identifier 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1281): error C2061: syntax error : identifier 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1281): error C2059: syntax error : ';'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1281): error C2059: syntax error : ')'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1282): error C2449: found '{' at file scope (missing function header?)
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1289): error C2059: syntax error : '}'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1305): error C2143: syntax error : missing ')' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1305): error C2143: syntax error : missing '{' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1305): error C2059: syntax error : ')'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1306): error C2054: expected '(' to follow 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1317): error C2143: syntax error : missing ')' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1317): error C2143: syntax error : missing '{' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1317): error C2059: syntax error : ')'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1318): error C2054: expected '(' to follow 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1329): error C2143: syntax error : missing ')' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1329): error C2143: syntax error : missing '{' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1329): error C2059: syntax error : ')'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1330): error C2054: expected '(' to follow 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1364): error C2143: syntax error : missing ')' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1364): error C2143: syntax error : missing '{' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1364): error C2143: syntax error : missing ';' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1364): error C2059: syntax error : ')'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1365): error C2054: expected '(' to follow 'b'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1380): error C2143: syntax error : missing ')' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1380): error C2143: syntax error : missing '{' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1380): error C2059: syntax error : ')'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1381): error C2054: expected '(' to follow 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1406): error C2143: syntax error : missing ')' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1406): error C2143: syntax error : missing '{' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1406): error C2059: syntax error : ')'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1407): error C2054: expected '(' to follow 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1418): error C2143: syntax error : missing ')' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1418): error C2143: syntax error : missing '{' before '*'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1418): error C2059: syntax error : ')'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1419): error C2054: expected '(' to follow 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1430): error C2146: syntax error : missing ')' before identifier 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1430): error C2061: syntax error : identifier 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1430): error C2059: syntax error : ';'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1430): error C2059: syntax error : ','
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1430): error C2059: syntax error : ')'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1437): error C2146: syntax error : missing ')' before identifier 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1437): error C2061: syntax error : identifier 'a'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1437): error C2059: syntax error : ';'
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1437): error C2059: syntax error : ','
1>c:\winddk\7600.16385.1\inc\api\mstcpip.h(1437): error C2059: syntax error : ')'
1>c:\winddk\7600.16385.1\inc\ddk\wsk.h(129): error C2061: syntax error : identifier 'PCMSGHDR'
1>c:\winddk\7600.16385.1\inc\ddk\wsk.h(131): error C2061: syntax error : identifier 'RemoteAddress'
1>c:\winddk\7600.16385.1\inc\ddk\wsk.h(131): error C2059: syntax error : ';'
1>c:\winddk\7600.16385.1\inc\ddk\wsk.h(132): error C2059: syntax error : '}'
1>c:\winddk\7600.16385.1\inc\ddk\wsk.h(194): error C2146: syntax error : missing ')' before identifier 'DataIndication'
1>c:\winddk\7600.16385.1\inc\ddk\wsk.h(194): error C2081: 'PWSK_DATAGRAM_INDICATION' : name in formal parameter list illegal

[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 13
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
问题已解决!使用的是ddkwizard
1>------ 已启动生成: 项目: SafeSystem.W7, 配置: W7 free Win32 ------
1>  OSR DDKBUILD.CMD V7.4/r60 (2009-11-28) - OSR, Open Systems Resources, Inc.
1>  
1>  DDKBLD: W7 (free) using the Windows 7/Windows 2008 Server R2 DDK and %W7BASE%
1>  DDKBLD: Directory: E:\360云盘\编程\源码\A-PROT~1.4\src\SAFESY~1
1>  DDKBLD: W7BASE: C:\WinDDK\760016~1.1
1>  DDKBLD: Run build -MI -Ze for free version in .
1>  path contains nonexistant c:\program files (x86)\microsoft visual studio 10.0\common7\tools\bin, removing
1>  BUILD: Compile and Link for x86
1>  
1>  BUILD: Start time: Fri May 10 10:53:53 2013
1>  BUILD: Examining e:\360云盘\编程\源码\a-prot~1.4\src\safesy~1 directory for files to compile.
1>  
1>      e:\360云盘\编程\源码\a-prot~1.4\src\safesy~1
1>  
1>  BUILD: Compiling and Linking e:\360云盘\编程\源码\a-prot~1.4\src\safesy~1 directory
1>  
1>  Compiling - safesystem.c
1>  Compiling - ntos.c
1>  Compiling - ntfs.c
1>  Compiling - kbdclass.c
1>  Compiling - filesystem.c
1>  Compiling - inlinehook.c
1>  Compiling - initwindowsversion.c
1>  Compiling - kernelreload.c
1>  Compiling - control.c
1>  Compiling - reloadssdttablehook.c
1>  Compiling - ssdt.c
1>  Compiling - shadowssdt.c
1>  Compiling - ldasm.c
1>  Compiling - libdasm.c
1>  Compiling - sysmodule.c
1>  Compiling - port.c
1>  Compiling - tcpip.c
1>  Compiling - nsiproxy.c
1>  Compiling - killprocess.c
1>  Compiling - process.c
1>  Compiling - generating code...
1>  Compiling - services.c
1>  Compiling - deletefile.c
1>  Compiling - processmodule.c
1>  Compiling - kernelhookcheck.c
1>  Compiling - antiinlinehook.c
1>  Compiling - protect.c
1>  Compiling - function.c
1>  Compiling - win32k.c
1>  Compiling - networkdefense.c
1>  Compiling - dump.c
1>  Compiling - file.c
1>  Compiling - driverhips.c
1>  Compiling - objecthookcheck.c
1>  Compiling - kernelfilterdriver.c
1>  Compiling - systemthread.c
1>  Compiling - kernelthread.c
1>  Compiling - fixrelocation.c
1>  Compiling - mouclass.c
1>  Compiling - atapi.c
1>  Compiling - dpctimer.c
1>  Compiling - generating code...
1>  Compiling - systemnotify.c
1>  Compiling - startup.c
1>  Compiling - workqueue.c
1>  Compiling - lookupkerneldata.c
1>  Compiling - funcaddrvalid.c
1>  Compiling - reloadshadowssdttablehook.c
1>  Compiling - iotimer.c
1>  Compiling - msghook.c
1>  Compiling - generating code...
1>  Linking Executable - objfre_win7_x86\i386\a-protect.sys
1>  BUILD: Finish time: Fri May 10 10:54:03 2013
1>  BUILD: Done
1>  
1>  
1>  
1>      50 files compiled - 1 Warning
1>  
1>      1 executable built
1>  
1>  
1>  DDKBLD: Build complete
1>  DDKBLD: Building browse information files
========== 生成: 成功 1 个,失败 0 个,最新 0 个,跳过 0 个 ==========
2013-5-10 10:57
0
游客
登录 | 注册 方可回帖
返回
//