从论坛下载了这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
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!