Minh Nguyen Huu <mr_mo...@hotmail.com> writes: > Hi, > > > I'm trying to compilre the gnutls library using MinGW on Windows 7 > (64bit). After some struggling, I've managed to compile Nettle (+GMP), > however I cannot make GNUTLS. When I run ./configure in the GNUTLS > everything seems ok, but when I try to make the library I keep getting > the same error, which I have pasted below. Does anyone have experience > making gnutls on Windows and can help me out?
Do you really have a shared library DLL for GMP? The messages below suggests you only have a static library. Also, sometimes it helps to do 'lt_cv_deplibs_check_method=pass_all ./configure ...' /Simon > Thanks in advance, > > Minh > > > > *** Warning: This system can not link to static lib archive > D:/MinGW/lib/libgmp. > la. > *** I have the capability to make that library automatically link in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have. > Creating library file: .libs/libgnutls.dll.a > nettle/.libs/libcrypto.a(mpi.o): In function `wrap_nettle_mpi_new': > D:\MinGW\msys\1.0\home\Minh\gnutls-3.0.22\lib\nettle/mpi.c:97: undefined > referen > ce to `___gmpz_init2' > nettle/.libs/libcrypto.a(mpi.o): In function `wrap_nettle_mpi_div': > D:\MinGW\msys\1.0\home\Minh\gnutls-3.0.22\lib\nettle/mpi.c:342: undefined > refere > nce to `___gmpz_cdiv_q' > nettle/.libs/libcrypto.a(ecc_make_key.o): In function `ecc_make_key': > D:\MinGW\msys\1.0\home\Minh\gnutls-3.0.22\lib\nettle/ecc_make_key.c:142: > undefin > ed reference to `___gmpz_set_str' > D:\MinGW\msys\1.0\home\Minh\gnutls-3.0.22\lib\nettle/ecc_make_key.c:143: > undefin > ed reference to `___gmpz_set_str' > D:\MinGW\msys\1.0\home\Minh\gnutls-3.0.22\lib\nettle/ecc_make_key.c:144: > undefin > ed reference to `___gmpz_set_str' > D:\MinGW\msys\1.0\home\Minh\gnutls-3.0.22\lib\nettle/ecc_make_key.c:145: > undefin > ed reference to `___gmpz_set_str' > D:\MinGW\msys\1.0\home\Minh\gnutls-3.0.22\lib\nettle/ecc_make_key.c:146: > undefin > ed reference to `___gmpz_set_str' > nettle/.libs/libcrypto.a(ecc_make_key.o):D:\MinGW\msys\1.0\home\Minh\gnutls-3.0. > 22\lib\nettle/ecc_make_key.c:147: more undefined references to > `___gmpz_set_str' > follow > nettle/.libs/libcrypto.a(ecc_projective_dbl_point_3.o): In function > `ecc_project > ive_dbl_point': > D:\MinGW\msys\1.0\home\Minh\gnutls-3.0.22\lib\nettle/ecc_projective_dbl_point_3. > c:113: undefined reference to `___gmpz_divexact_ui' > nettle/.libs/libcrypto.a(ecc_projective_add_point.o): In function > `ecc_projectiv > e_add_point': > D:\MinGW\msys\1.0\home\Minh\gnutls-3.0.22\lib\nettle/ecc_projective_add_point.c: > 214: undefined reference to `___gmpz_divexact_ui' > collect2.exe: error: ld returned 1 exit status > make[3]: *** [libgnutls.la] Error 1 > make[3]: Leaving directory `/home/Minh/gnutls-3.0.22/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/Minh/gnutls-3.0.22/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/Minh/gnutls-3.0.22' > make: *** [all] Error 2 > > _______________________________________________ > Help-gnutls mailing list > Help-gnutls@gnu.org > https://lists.gnu.org/mailman/listinfo/help-gnutls _______________________________________________ Help-gnutls mailing list Help-gnutls@gnu.org https://lists.gnu.org/mailman/listinfo/help-gnutls