help-gnutls
[Top][All Lists]
Advanced

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

Re: gnutls 2.10.1 doest't compile using MinGW


From: Simon Josefsson
Subject: Re: gnutls 2.10.1 doest't compile using MinGW
Date: Fri, 23 Sep 2011 04:59:12 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

steamx <address@hidden> writes:

> Hi all,
> I am trying to get gnutls-2.10.1 compiled on Windows XP SP2 with mingw (Gcc
> 4.5.2 + Msys 1.0.11).
> zlib1.2.3,libgpg-error1.8,libgcrypt 1.4.6,and libtasn1-2.7 all are compiled
> success.
> static version of gnutls-2.10.1 also compiled success,compiled steps are
> 1: ./configure --build=i686-pc-mingw32 --prefix=/mingw --enable-shared=no
> --enable-static=yes
> 2: make
> 3: make install
> but when i compiled shared version of gnutls-2.10.1,i got some error message
> after make.
> 1: ./configure --build=i686-pc-mingw32 --prefix=/mingw --enable-shared=yes
> --enable-static=no
> Creating library file: .libs/libgnutlsxx.dll.a
> .libs/libgnutlsxx_la-gnutlsxx.o:C:\MinGW\msys\1.0\home\gnutls-2.10.1\lib/gnutlsx
> x.cpp:881: undefined reference to `gnutls_strerror'

Do you really need the C++ library?  Try --disable-cxx.  There seems to
be some issue building the GnuTLS C++ library with MinGW.

/Simon



reply via email to

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