[Help-gnutls] Re: Help for Gnutls4win

Simon Josefsson simon at josefsson.org
Wed May 6 09:25:37 CEST 2009

"Yan, Patrick (NSN - CN/Beijing)" <patrick.yan at nsn.com> writes:

> Hi helper-guntls:
> I want to added a protocol dissectors in wireshark, this dissectors need Gcrypt. But when I compliing the code, here is some make error related to Gcrypt. Would you help to check that. 
> I used gnutls-2.6.3. 
> OS is windows XP, wireshark source code is last version of wireshark-1.0.7. 
> Checking for required applications:
>         cl: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/cl
>         link: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/link
>         nmake: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/nmake
>         bash: /usr/bin/bash
>         bison: /usr/bin/bison
>         flex: /usr/bin/flex
>         env: /usr/bin/env
>         grep: /usr/bin/grep
>         /usr/bin/find: /usr/bin/find
>         perl: /usr/bin/perl
>         C:\Python26\python.exe: /cygdrive/c/Python26/python.exe
>         sed: /usr/bin/sed
>         unzip: /usr/bin/unzip
>         wget: /usr/bin/wget 
> Here is the make error:
> packet-chlipx1.c
> C:\wireshark-libs-1.0\gnutls-2.6.3-1\include\gcrypt.h(206) : error C2061: syntax error : identifier 'ssize_t'

The problem is that Windows doesn't have ssize_t.  Add '#define ssize_t
long' or -Dssize_t=long somewhere in your build system.


More information about the Gnutls-help mailing list