Norman Lam <[email protected]> writes: > Hi Simon > > > > I couldn't compile the gnutls for windows, using windows xp, vc2008++ > express > > > > I am getting all these exror, I basically follow the mod_dingaling from > freeswitch
Hi Norman -- it looks like a problem with ssize_t, you need to make sure it is available before including gnutls.h. Gnutls.h tries to do this itself, but it probably fails on your system. /Simon > > > http://wiki.freeswitch.org/wiki/Dingaling#Windows_using_MSVC_2008 > > > > Can you shed on some light > > > > Thanks in advance > > > > Norman > > > > 1>------ Rebuild All started: Project: iksemel, Configuration: Debug Win32 > ------ > > 1>Deleting intermediate and output files for project 'iksemel', > configuration 'Debug|Win32' > > 1>Compiling... > > 1>dom.c > > 1>filter.c > > 1>iks.c > > 1>ikstack.c > > 1>io-posix.c > > 1>jabber.c > > 1>md5.c > > 1>sax.c > > 1>sha.c > > 1>stream.c > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(730) : error C2061: > syntax error : identifier 'gnutls_record_send' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(730) : error C2059: > syntax error : ';' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(730) : error C2059: > syntax error : 'type' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(732) : error C2061: > syntax error : identifier 'gnutls_record_recv' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(732) : error C2059: > syntax error : ';' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(732) : error C2059: > syntax error : 'type' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(744) : error C2061: > syntax error : identifier 'gnutls_record_set_max_size' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(744) : error C2059: > syntax error : ';' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(744) : error C2059: > syntax error : 'type' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1197) : error > C2143: syntax error : missing ')' before '*' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1197) : error > C2143: syntax error : missing '{' before '*' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1197) : error > C2059: syntax error : ')' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1199) : error > C2143: syntax error : missing ')' before '*' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1199) : error > C2143: syntax error : missing '{' before '*' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1199) : error > C2059: syntax error : ')' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1216) : error > C2146: syntax error : missing ')' before identifier 'push_func' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1216) : error > C2081: 'gnutls_push_func' : name in formal parameter list illegal > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1216) : error > C2061: syntax error : identifier 'push_func' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1216) : error > C2059: syntax error : ';' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1216) : error > C2059: syntax error : ')' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1218) : error > C2146: syntax error : missing ')' before identifier 'pull_func' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1218) : error > C2081: 'gnutls_pull_func' : name in formal parameter list illegal > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1218) : error > C2061: syntax error : identifier 'pull_func' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1218) : error > C2059: syntax error : ';' > > 1>c:\program files\Gnutls-2.10.1\include\gnutls\gnutls.h(1218) : error > C2059: syntax error : ')' > > 1>..\..\iksemel\src\stream.c(105) : error C2146: syntax error : missing ')' > before identifier 'tls_push' > > 1>..\..\iksemel\src\stream.c(105) : error C2059: syntax error : ')' > > 1>..\..\iksemel\src\stream.c(106) : error C2146: syntax error : missing ')' > before identifier 'tls_pull' > > 1>..\..\iksemel\src\stream.c(106) : error C2059: syntax error : ')' > > 1>utility.c > > 1>base64.c > > 1>Generating Code... > > 1>Build log was saved at > "file://c:\FS_GIT2\libs\win32\iksemel\Debug\BuildLog.htm" > > 1>iksemel - 29 error(s), 0 warning(s) > > ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ========== > > _______________________________________________ Help-gnutls mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnutls
