On Thu, May 8, 2014 at 8:39 AM, korada venkata ramana
<vrkor...@yahoo.co.in>wrote:

> Hi,
> While building the vncviewer under MinGW, I am gettign the following
> errors:
>
> ----------------------------
> In file included from
> c:/MinGW/tigervnc/tigervnc-1.3.80-20140404/common/os/tls.cxx:23:0:
> C:/MinGW/tigervnc/tigervnc-1.3.80-20140404/common/os/tls.h:45:29: error:
> redeclaration of 'GNUTLS_CRT_PRINT_ONELINE'
>   GNUTLS_CRT_PRINT_ONELINE = 1
>                              ^
> In file included from
> C:/MinGW/tigervnc/tigervnc-1.3.80-20140404/common/os/tls.h:27:0,
>                  from
> c:/MinGW/tigervnc/tigervnc-1.3.80-20140404/common/os/tls.cxx:23:
> C:/MinGW/GnuTLS/include/gnutls/gnutls.h:546:5: note: previous declaration
> 'gnutls_certificate_print_formats GNUTLS_CRT_PRINT_ONELINE'
>      GNUTLS_CRT_PRINT_ONELINE = 1,
>      ^
> In file included from
> c:/MinGW/tigervnc/tigervnc-1.3.80-20140404/common/os/tls.cxx:23:0:
> C:/MinGW/tigervnc/tigervnc-1.3.80-20140404/common/os/tls.h:46:3: error:
> conflicting declaration 'typedef enum gnutls_certificate_print_formats_t
> gnutls_certificate_print_formats_t'
>  } gnutls_certificate_print_formats_t;
>    ^
> In file included from
> C:/MinGW/tigervnc/tigervnc-1.3.80-20140404/common/os/tls.h:27:0,
>                  from
> c:/MinGW/tigervnc/tigervnc-1.3.80-20140404/common/os/tls.cxx:23:
> C:/MinGW/GnuTLS/include/gnutls/gnutls.h:548:5: error:
> 'gnutls_certificate_print_formats_t' has a previous declaration as 'typedef
> enum gnutls_certificate_print_formats gnutls_certificate_print_formats_t'
>    } gnutls_certificate_print_formats_t;
>      ^
> make[2]: *** [common/os/CMakeFiles/os.dir/tls.cxx.obj] Error 1
> make[1]: *** [common/os/CMakeFiles/os.dir/all] Error 2
> make: *** [all] Error 2
> koradav@TURBOKAT /MinGW/tigervnc/Build-1.3.80$
>
> ---------------------------------------------------------------------------------------------------
>
> However, I am able to build 1.3.0 and 1.3.1 without any issues and I don't
> see any changes in tls.* files between 1.3.0 and the nightly build.
>
> I am using GnuTls for windows from http://josefsson.org/gnutls4win/ (ver
> 2.10.1)
>

This suggests to me that Cmake is not really finding gnutls.  Commit r5160
added support for specifying the path to the GnuTLS libraries explicitly.
Please try setting the path with the cmake variables GNUTLS_LIBRARIES and
GNUTLS_INCLUDE_DIR.  Same thing goes for your gettext issue.  What version
of cmake are you using?

-brian
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Tigervnc-users mailing list
Tigervnc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to