spf-discuss
[Top] [All Lists]

libspf2 on win32 build error

2004-10-25 04:23:40
Getting this error:

spf_dns_windns.c(130): error C2065: 'PDNS_RECORDA' : undeclared identifier
spf_dns_windns.c(130): error C2146: syntax error : missing ';' before identifier 'pDnsRecord' spf_dns_windns.c(130): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' spf_dns_windns.c(130): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' spf_dns_windns.c(130): error C2143: syntax error : missing ';' before 'identifier'
spf_dns_windns.c(130): error C2065: 'pDnsRecord' : undeclared identifier
spf_dns_windns.c(132): error C2275: 'DNS_STATUS' : illegal use of this type as an expression spf_dns_windns.c(132): error C2146: syntax error : missing ';' before identifier 'status' spf_dns_windns.c(132): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' spf_dns_windns.c(132): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' spf_dns_windns.c(132): error C2143: syntax error : missing ';' before 'identifier'
spf_dns_windns.c(132): error C2065: 'status' : undeclared identifier
spf_dns_windns.c(133): error C2275: 'LPSTR' : illegal use of this type as an expression spf_dns_windns.c(133): error C2146: syntax error : missing ';' before identifier 'error_message' spf_dns_windns.c(133): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' spf_dns_windns.c(133): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' spf_dns_windns.c(133): error C2143: syntax error : missing ';' before 'identifier'
spf_dns_windns.c(133): error C2065: 'error_message' : undeclared identifier
spf_dns_windns.c(135): error C2143: syntax error : missing ';' before 'type'
spf_dns_windns.c(136): error C2143: syntax error : missing ';' before 'type'
spf_dns_windns.c(138): error C2143: syntax error : missing ';' before 'type'
spf_dns_windns.c(140): error C2275: 'DNS_A_DATA' : illegal use of this type as an expression
spf_dns_windns.c(140): error C2065: 'pA_data' : undeclared identifier
spf_dns_windns.c(141): error C2275: 'DNS_AAAA_DATA' : illegal use of this type as an expression
spf_dns_windns.c(141): error C2065: 'pAAAA_data' : undeclared identifier
spf_dns_windns.c(142): error C2065: 'DNS_MX_DATAA' : undeclared identifier
spf_dns_windns.c(142): error C2065: 'pMX_data' : undeclared identifier
spf_dns_windns.c(142): warning C4552: '*' : operator has no effect; expected operator with side-effect
spf_dns_windns.c(143): error C2065: 'DNS_TXT_DATAA' : undeclared identifier
spf_dns_windns.c(143): error C2065: 'pTXT_data' : undeclared identifier
spf_dns_windns.c(143): warning C4552: '*' : operator has no effect; expected operator with side-effect
spf_dns_windns.c(144): error C2065: 'DNS_PTR_DATAA' : undeclared identifier
spf_dns_windns.c(144): error C2065: 'pPTR_data' : undeclared identifier
spf_dns_windns.c(144): warning C4552: '*' : operator has no effect; expected operator with side-effect spf_dns_windns.c(146): error C2275: 'size_t' : illegal use of this type as an expression spf_dns_windns.c(146): error C2146: syntax error : missing ';' before identifier 'txt_data_len' spf_dns_windns.c(146): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' spf_dns_windns.c(146): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' spf_dns_windns.c(146): error C2143: syntax error : missing ';' before 'identifier'
spf_dns_windns.c(146): error C2065: 'txt_data_len' : undeclared identifier
spf_dns_windns.c(147): error C2143: syntax error : missing ';' before 'type'
spf_dns_windns.c(198): warning C4047: 'function' : 'PDNS_RECORD * ' differs in levels of indirection from 'int *__w64 ' spf_dns_windns.c(204): warning C4047: '=' : 'int' differs in levels of indirection from 'LPSTR' spf_dns_windns.c(209): warning C4047: 'function' : 'LPSTR' differs in levels of indirection from 'int'
spf_dns_windns.c(226): error C2065: 'rdlen' : undeclared identifier
spf_dns_windns.c(226): error C2223: left of '->wDataLength' must point to struct/union spf_dns_windns.c(230): error C2223: left of '->pName' must point to struct/union spf_dns_windns.c(230): error C2223: left of '->wType' must point to struct/union spf_dns_windns.c(231): error C2223: left of '->dwTtl' must point to struct/union spf_dns_windns.c(235): error C2223: left of '->pNext' must point to struct/union spf_dns_windns.c(240): error C2223: left of '->wType' must point to struct/union spf_dns_windns.c(242): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(246): error C2223: left of '->dwStringCount' must point to struct/union spf_dns_windns.c(247): error C2223: left of '->pStringArray' must point to struct/union spf_dns_windns.c(248): error C2198: 'SPF_dns_txt_get_length_windns' : too few actual parameters spf_dns_windns.c(248): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data spf_dns_windns.c(253): error C2223: left of '->wType' must point to struct/union spf_dns_windns.c(257): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(260): error C2223: left of '->IpAddress' must point to struct/union
spf_dns_windns.c(261): error C2065: 'ip4_buf' : undeclared identifier
spf_dns_windns.c(261): warning C4022: 'inet_ntop' : pointer mismatch for actual parameter 2 spf_dns_windns.c(261): warning C4047: 'function' : 'char *' differs in levels of indirection from 'size_t'
spf_dns_windns.c(261): error C2198: 'inet_ntop' : too few actual parameters
spf_dns_windns.c(266): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(269): error C2223: left of '->Ip6Address' must point to struct/union
spf_dns_windns.c(270): error C2065: 'ip6_buf' : undeclared identifier
spf_dns_windns.c(270): warning C4022: 'inet_ntop' : pointer mismatch for actual parameter 2 spf_dns_windns.c(270): warning C4047: 'function' : 'char *' differs in levels of indirection from 'size_t'
spf_dns_windns.c(270): error C2198: 'inet_ntop' : too few actual parameters
spf_dns_windns.c(275): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(280): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(285): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(288): error C2223: left of '->wPreference' must point to struct/union spf_dns_windns.c(288): error C2223: left of '->pNameExchange' must point to struct/union
spf_dns_windns.c(293): error C2065: 'txt_concat' : undeclared identifier
spf_dns_windns.c(293): warning C4047: '=' : 'int' differs in levels of indirection from 'void *' spf_dns_windns.c(295): warning C4047: '==' : 'int' differs in levels of indirection from 'void *' spf_dns_windns.c(301): warning C4047: 'function' : 'char *' differs in levels of indirection from 'int' spf_dns_windns.c(302): error C2223: left of '->dwStringCount' must point to struct/union spf_dns_windns.c(303): error C2223: left of '->pStringArray' must point to struct/union spf_dns_windns.c(304): error C2198: 'SPF_dns_txt_concat_windns' : too few actual parameters spf_dns_windns.c(312): warning C4022: 'free' : pointer mismatch for actual parameter 1 spf_dns_windns.c(318): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(320): error C2223: left of '->pNameHost' must point to struct/union spf_dns_windns.c(324): error C2223: left of '->wType' must point to struct/union spf_dns_windns.c(330): error C2223: left of '->Flags' must point to struct/union spf_dns_windns.c(334): error C2223: left of '->pNext' must point to struct/union spf_dns_windns.c(340): error C2223: left of '->wType' must point to struct/union spf_dns_windns.c(341): error C2223: left of '->wType' must point to struct/union spf_dns_windns.c(345): error C2223: left of '->wType' must point to struct/union spf_dns_windns.c(346): error C2223: left of '->pNext' must point to struct/union spf_dns_windns.c(350): error C2223: left of '->wType' must point to struct/union spf_dns_windns.c(354): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(357): error C2223: left of '->IpAddress' must point to struct/union spf_dns_windns.c(358): error C2198: 'SPF_dns_rr_buf_malloc' : too few actual parameters spf_dns_windns.c(361): error C2223: left of '->IpAddress' must point to struct/union spf_dns_windns.c(362): error C2223: left of '->IpAddress' must point to struct/union
spf_dns_windns.c(362): error C2198: 'memmove' : too few actual parameters
spf_dns_windns.c(369): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(372): error C2223: left of '->Ip6Address' must point to struct/union spf_dns_windns.c(373): error C2198: 'SPF_dns_rr_buf_malloc' : too few actual parameters spf_dns_windns.c(376): error C2223: left of '->Ip6Address' must point to struct/union spf_dns_windns.c(377): error C2223: left of '->Ip6Address' must point to struct/union
spf_dns_windns.c(377): error C2198: 'memmove' : too few actual parameters
spf_dns_windns.c(391): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(394): error C2223: left of '->pNameExchange' must point to struct/union
spf_dns_windns.c(394): error C2198: 'strlen' : too few actual parameters
spf_dns_windns.c(398): error C2223: left of '->pNameExchange' must point to struct/union
spf_dns_windns.c(398): error C2198: 'strcpy' : too few actual parameters
spf_dns_windns.c(412): error C2223: left of '->dwStringCount' must point to struct/union spf_dns_windns.c(413): error C2223: left of '->pStringArray' must point to struct/union spf_dns_windns.c(414): error C2198: 'SPF_dns_txt_concat_windns' : too few actual parameters spf_dns_windns.c(422): error C2223: left of '->Data' must point to struct/union spf_dns_windns.c(425): error C2223: left of '->pNameHost' must point to struct/union
spf_dns_windns.c(425): error C2198: 'strlen' : too few actual parameters
spf_dns_windns.c(429): error C2223: left of '->pNameHost' must point to struct/union spf_dns_windns.c(429): fatal error C1003: error count exceeds 100; stopping compilation

Gerrit


<Prev in Thread] Current Thread [Next in Thread>