I'm very new to this SCTP 1.0.6. I've been trying
to rebuild the sctp.lib and the demo programs in WinXP platform with VS
6.
Below is the error message i have. Please
advice.
cd sctplib\sctp
nmake -f Makefile.nmake cl -DWIN32 -DMBCS /Od /IC:\ethereal-win32-libs\glib-1.2-dev\src\glib-1.2 -Fd.\ -c adaptation.c auxiliary.c chunkHandler.c distribution.c adaptation.c adaptation.c(552) : error C2065: 'socklen_t' : undeclared identifier adaptation.c(552) : error C2146: syntax error : missing ';' before identifier 'opt_size' adaptation.c(552) : error C2065: 'opt_size' : undeclared identifier adaptation.c(554) : error C2143: syntax error : missing ';' before 'type' adaptation.c(567) : error C2065: 'me' : undeclared identifier adaptation.c(568) : error C2224: left of '.sin_family' must have struct/union type adaptation.c(572) : error C2224: left of '.sin_addr' must have struct/union type adaptation.c(777) : error C2146: syntax error : missing ';' before identifier 'opt_len' adaptation.c(777) : error C2065: 'opt_len' : undeclared identifier adaptation.c(778) : error C2143: syntax error : missing ';' before 'type' adaptation.c(793) : error C2065: 'tmp' : undeclared identifier adaptation.c(1153) : error C2143: syntax error : missing ')' before '*' adaptation.c(1153) : error C2081: 'socklen_t' : name in formal parameter list illegal adaptation.c(1153) : error C2143: syntax error : missing '{' before '*' adaptation.c(1153) : error C2059: syntax error : ')' adaptation.c(1154) : error C2054: expected '(' to follow 'from_len' adaptation.c(1174) : error C2146: syntax error : missing ';' before identifier 'src_len' adaptation.c(1174) : error C2065: 'src_len' : undeclared identifier adaptation.c(1175) : error C2143: syntax error : missing ';' before 'type' adaptation.c(1176) : error C2143: syntax error : missing ';' before 'type' adaptation.c(1177) : error C2275: 'guchar' : illegal use of this type as an _expression_ C:\ethereal-win32-libs\glib-1.2-dev\src\glib-1.2\glib.h(468) : see declaration of 'guchar' adaptation.c(1177) : error C2146: syntax error : missing ';' before identifier 'src_address' adaptation.c(1177) : error C2065: 'src_address' : undeclared identifier adaptation.c(1177) : error C2109: subscript requires array or pointer type adaptation.c(1178) : error C2143: syntax error : missing ';' before 'type' adaptation.c(1181) : error C2143: syntax error : missing ';' before 'type' adaptation.c(1185) : error C2143: syntax error : missing ';' before 'type' adaptation.c(1209) : error C2065: 'src' : undeclared identifier adaptation.c(1210) : error C4013: 'adl_get_message' undefined; assuming extern returning int adaptation.c(1212) : warning C4133: 'function' : incompatible types - from 'int *' to 'union sockunion *' adaptation.c(1212) : error C4047: 'function' : 'unsigned char *' differs in levels of indirection from 'int ' adaptation.c(1212) : warning C4024: 'adl_sockunion2str' : different types for formal and actual parameter 2 adaptation.c(1214) : error C2223: left of '->sa' must point to struct/union adaptation.c(1216) : error C2065: 'portnum' : undeclared identifier adaptation.c(1216) : error C2224: left of '.sin' must have struct/union type adaptation.c(1216) : error C2198: 'ntohs' : too few actual parameters adaptation.c(1227) : error C4047: 'function' : 'unsigned char *' differs in levels of indirection from 'int ' adaptation.c(1227) : warning C4024: 'function through pointer' : different types for formal and actual parameter 4 adaptation.c(1230) : warning C4133: 'function' : incompatible types - from 'int *' to 'union sockunion *' adaptation.c(1230) : error C2065: 'dest' : undeclared identifier adaptation.c(1230) : warning C4133: 'function' : incompatible types - from 'int *' to 'union sockunion *' adaptation.c(1235) : error C2223: left of '->sa' must point to struct/union adaptation.c(1237) : error C2223: left of '->sa' must point to struct/union adaptation.c(1239) : error C2065: 'src_in' : undeclared identifier adaptation.c(1239) : error C4047: '=' : 'int ' differs in levels of indirection from 'struct sockaddr_in *' adaptation.c(1241) : error C2223: left of '->sin_addr' must point to struct/union adaptation.c(1241) : error C2198: 'inet_ntoa' : too few actual parameters adaptation.c(1246) : error C2065: 'iph' : undeclared identifier adaptation.c(1246) : error C4047: '=' : 'int ' differs in levels of indirection from 'struct ip *' adaptation.c(1247) : error C2065: 'hlen' : undeclared identifier adaptation.c(1247) : error C2223: left of '->ip_verlen' must point to struct/union adaptation.c(1255) : error C2223: left of '->sin_addr' must point to struct/union adaptation.c(1255) : error C2198: 'inet_ntoa' : too few actual parameters adaptation.c(1258) : warning C4133: 'function' : incompatible types - from 'int *' to 'union sockunion *' adaptation.c(1258) : warning C4133: 'function' : incompatible types - from 'int *' to 'union sockunion *' adaptation.c(1273) : error C2223: left of '->sa' must point to struct/union adaptation.c(2048) : error C2065: 'gint32_t' : undeclared identifier adaptation.c(2048) : error C2064: term does not evaluate to a function adaptation.c(2049) : error C2064: term does not evaluate to a function auxiliary.c auxiliary.c(65) : error C2061: syntax error : identifier 'crc_c' auxiliary.c(65) : error C2059: syntax error : ';' auxiliary.c(65) : error C2059: syntax error : '[' auxiliary.c(194) : error C2065: 'uint32_t' : undeclared identifier auxiliary.c(194) : error C2146: syntax error : missing ';' before identifier 'a32' auxiliary.c(194) : error C2065: 'a32' : undeclared identifier auxiliary.c(213) : error C2061: syntax error : identifier 'generate_crc32c' auxiliary.c(213) : error C2059: syntax error : ';' auxiliary.c(213) : error C2059: syntax error : 'type' auxiliary.c(240) : error C2146: syntax error : missing ';' before identifier 'crc32c' auxiliary.c(240) : error C2065: 'crc32c' : undeclared identifier auxiliary.c(248) : error C4013: 'generate_crc32c' undefined; assuming extern returning int auxiliary.c(292) : error C2146: syntax error : missing ';' before identifier 'original_crc32' auxiliary.c(292) : error C2065: 'original_crc32' : undeclared identifier auxiliary.c(293) : error C2146: syntax error : missing ';' before identifier 'crc32' auxiliary.c(293) : error C2065: 'crc32' : undeclared identifier chunkHandler.c chunkHandler.c(247) : error C2065: 'gint32_t' : undeclared identifier chunkHandler.c(247) : error C2064: term does not evaluate to a function chunkHandler.c(248) : error C2064: term does not evaluate to a function distribution.c distribution.c(913) : error C2065: 'gint32_t' : undeclared identifier distribution.c(913) : error C2064: term does not evaluate to a function distribution.c(914) : error C2064: term does not evaluate to a function distribution.c(919) : error C2064: term does not evaluate to a function distribution.c(920) : error C2064: term does not evaluate to a function Generating Code... |
Archive powered by MHonArc 2.6.19+.