error compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



H

I am porting an application from linux to windows. This application uses xlib so I downloaded cygwin/Xfree86 source code(from CVS) and then tried to compile the application I got lot of ewrrors in VC98/rpcdce.h files.

 

Errors list:

c:\msvs\vc98\include\rpcdce.h(166) : error C2143: syntax error : missing ')' before 'type'

c:\msvs\vc98\include\rpcdce.h(166) : error C2071: 'RPC_OBJECT_INQ_FN' : illegal storage class

c:\msvs\vc98\include\rpcdce.h(166) : error C2055: expected formal parameter list, not a type list

c:\msvs\vc98\include\rpcdce.h(166) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(172) : error C2085: 'RPC_IF_CALLBACK_FN' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(180) : error C2085: 'RPC_STATS_VECTOR' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(191) : error C2085: 'RPC_IF_ID_VECTOR' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(200) : error C2085: 'RpcBindingCopy' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(208) : error C2085: 'RpcBindingFree' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(216) : error C2085: 'RpcBindingSetOption' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(224) : error C2085: 'RpcBindingInqOption' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(236) : error C2085: 'RpcBindingFromStringBindingA' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(244) : error C2085: 'RpcBindingFromStringBindingW' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(271) : error C2085: 'RpcBindingInqObject' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(279) : error C2085: 'RpcBindingReset' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(291) : error C2085: 'RpcBindingSetObject' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(300) : error C2085: 'RpcMgmtInqDefaultProtectLevel' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(312) : error C2085: 'RpcBindingToStringBindingA' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(320) : error C2085: 'RpcBindingToStringBindingW' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(346) : error C2085: 'RpcBindingVectorFree' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(362) : error C2085: 'RpcStringBindingComposeA' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(374) : error C2085: 'RpcStringBindingComposeW' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(412) : error C2085: 'RpcStringBindingParseA' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(424) : error C2085: 'RpcStringBindingParseW' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(457) : error C2085: 'RpcStringFreeA' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(464) : error C2085: 'RpcStringFreeW' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(490) : error C2085: 'RpcIfInqId' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(501) : error C2085: 'RpcNetworkIsProtseqValidA' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(508) : error C2085: 'RpcNetworkIsProtseqValidW' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(534) : error C2085: 'RpcMgmtInqComTimeout' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(543) : error C2085: 'RpcMgmtSetComTimeout' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(551) : error C2085: 'RpcMgmtSetCancelTimeout' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(563) : error C2085: 'RpcNetworkInqProtseqsA' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(570) : error C2085: 'RpcNetworkInqProtseqsW' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(596) : error C2085: 'RpcObjectInqType' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(603) : error C2143: syntax error : missing ')' before '*'

c:\msvs\vc98\include\rpcdce.h(603) : error C2085: 'RpcObjectSetInqFn' : not in formal parameter list

c:\msvs\vc98\include\rpcdce.h(603) : error C2143: syntax error : missing ';' before '*'

c:\msvs\vc98\include\rpcdce.h(604) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(698) : error C2143: syntax error : missing ')' before '*'

c:\msvs\vc98\include\rpcdce.h(698) : error C2081: 'RPC_IF_CALLBACK_FN' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(698) : error C2143: syntax error : missing '{' before '*'

c:\msvs\vc98\include\rpcdce.h(699) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(988) : error C2143: syntax error : missing ')' before '*'

c:\msvs\vc98\include\rpcdce.h(988) : error C2143: syntax error : missing '{' before '*'

c:\msvs\vc98\include\rpcdce.h(989) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(997) : error C2143: syntax error : missing ')' before '*'

c:\msvs\vc98\include\rpcdce.h(997) : error C2081: 'RPC_STATS_VECTOR' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(997) : error C2143: syntax error : missing '{' before '*'

c:\msvs\vc98\include\rpcdce.h(998) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(1053) : error C2143: syntax error : missing ')' before '*'

c:\msvs\vc98\include\rpcdce.h(1053) : error C2081: 'RPC_IF_ID_VECTOR' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(1053) : error C2143: syntax error : missing '{' before '*'

c:\msvs\vc98\include\rpcdce.h(1054) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(1060) : error C2143: syntax error : missing ')' before '*'

c:\msvs\vc98\include\rpcdce.h(1060) : error C2143: syntax error : missing '{' before '*'

c:\msvs\vc98\include\rpcdce.h(1061) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(1294) : error C2143: syntax error : missing ')' before '*'

c:\msvs\vc98\include\rpcdce.h(1294) : error C2081: 'RPC_AUTHZ_HANDLE' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(1294) : error C2143: syntax error : missing '{' before '*'

c:\msvs\vc98\include\rpcdce.h(1295) : error C2059: syntax error : 'type'

c:\msvs\vc98\include\rpcdce.h(1299) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(1306) : error C2143: syntax error : missing ')' before '*'

c:\msvs\vc98\include\rpcdce.h(1306) : error C2081: 'RPC_AUTHZ_HANDLE' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(1306) : error C2143: syntax error : missing '{' before '*'

c:\msvs\vc98\include\rpcdce.h(1307) : error C2059: syntax error : 'type'

c:\msvs\vc98\include\rpcdce.h(1311) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(1321) : error C2143: syntax error : missing ')' before '*'

c:\msvs\vc98\include\rpcdce.h(1321) : error C2081: 'RPC_AUTH_IDENTITY_HANDLE' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(1321) : error C2143: syntax error : missing '{' before '*'

c:\msvs\vc98\include\rpcdce.h(1322) : error C2059: syntax error : 'type'

c:\msvs\vc98\include\rpcdce.h(1323) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(1333) : error C2143: syntax error : missing ')' before '*'

c:\msvs\vc98\include\rpcdce.h(1333) : error C2081: 'RPC_AUTH_IDENTITY_HANDLE' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(1333) : error C2143: syntax error : missing '{' before '*'

c:\msvs\vc98\include\rpcdce.h(1334) : error C2059: syntax error : 'type'

c:\msvs\vc98\include\rpcdce.h(1335) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(1345) : error C2146: syntax error : missing ')' before identifier 'AuthIdentity'

c:\msvs\vc98\include\rpcdce.h(1345) : error C2081: 'RPC_AUTH_IDENTITY_HANDLE' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(1345) : error C2061: syntax error : identifier 'AuthIdentity'

c:\msvs\vc98\include\rpcdce.h(1345) : error C2059: syntax error : ';'

c:\msvs\vc98\include\rpcdce.h(1345) : error C2059: syntax error : ','

c:\msvs\vc98\include\rpcdce.h(1347) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(1357) : error C2146: syntax error : missing ')' before identifier 'AuthIdentity'

c:\msvs\vc98\include\rpcdce.h(1357) : error C2081: 'RPC_AUTH_IDENTITY_HANDLE' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(1357) : error C2061: syntax error : identifier 'AuthIdentity'

c:\msvs\vc98\include\rpcdce.h(1357) : error C2059: syntax error : ';'

c:\msvs\vc98\include\rpcdce.h(1357) : error C2059: syntax error : ','

c:\msvs\vc98\include\rpcdce.h(1360) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(1370) : error C2146: syntax error : missing ')' before identifier 'AuthIdentity'

c:\msvs\vc98\include\rpcdce.h(1370) : error C2081: 'RPC_AUTH_IDENTITY_HANDLE' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(1370) : error C2061: syntax error : identifier 'AuthIdentity'

c:\msvs\vc98\include\rpcdce.h(1370) : error C2059: syntax error : ';'

c:\msvs\vc98\include\rpcdce.h(1370) : error C2059: syntax error : ','

c:\msvs\vc98\include\rpcdce.h(1372) : error C2059: syntax error : ')'

c:\msvs\vc98\include\rpcdce.h(1382) : error C2146: syntax error : missing ')' before identifier 'AuthIdentity'

c:\msvs\vc98\include\rpcdce.h(1382) : error C2081: 'RPC_AUTH_IDENTITY_HANDLE' : name in formal parameter list illegal

c:\msvs\vc98\include\rpcdce.h(1382) : error C2061: syntax error : identifier 'AuthIdentity'

c:\msvs\vc98\include\rpcdce.h(1382) : error C2059: syntax error : ';'

c:\msvs\vc98\include\rpcdce.h(1382) : error C2059: syntax error : ','

c:\msvs\vc98\include\rpcdce.h(1385) : error C2059: syntax error : ')'

 

Please give me some tips for resolvinf these errors. I have got MS studio 6.0 installed in c:\Microsoft Visual Studio\ and I have DirectX SDK 8.0 installed in c:\mssdk.

Thanks and regards,

Ashish

 




Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

[Index of Archives]     [XFree86]     [Xfree86 Xpert]     [X.org]     [IETF Annouce]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Picture Sharing]     [Linux Security]     [Linux RAID]

  Powered by Linux