help-gnutls
[Top][All Lists]
Advanced

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

[Help-gnutls] Re: Help for Gnutls4win


From: Simon Josefsson
Subject: [Help-gnutls] Re: Help for Gnutls4win
Date: Wed, 06 May 2009 09:25:37 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.93 (gnu/linux)

"Yan, Patrick (NSN - CN/Beijing)" <address@hidden> 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.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]