gnutls 3.0.4 and mingw-w64 build issues
Hoyt, David
hoyt6 at llnl.gov
Tue Oct 25 21:40:57 CEST 2011
> I've added COFF assembly files in the git master. Could you try them?
Build went much smoother w/ hardware optimizations. However, it looks like there's a lingering linker issue. I got the following error:
[...]
CC gnutls_srp.lo
CC gnutls_psk.lo
CCLD libgnutls.la
Creating library file: .libs/libgnutls.dll.a
accelerated/.libs/libaccelerated.a(accelerated.o): In function `gnutls_register_accel_crypto':
~\native\build\gnutls-3.0.4-git\lib\accelerated/../../../../pkgs/gnutls-3.0.4-git/lib/accelerated/accelerated.c:33: undefined reference to `_gnutls_have_cpuid'
accelerated/.libs/libaccelerated.a(aes-padlock.o): In function `check_via':
~\native\build\gnutls-3.0.4-git\lib\accelerated\x86/../../../../../pkgs/gnutls-3.0.4-git/lib/accelerated/x86/aes-padlock.c:217: undefined reference to `_gnutls_cpuid'
accelerated/.libs/libaccelerated.a(aes-x86.o): In function `check_intel_or_amd':
~\native\build\gnutls-3.0.4-git\lib\accelerated\x86/../../../../../pkgs/gnutls-3.0.4-git/lib/accelerated/x86/aes-x86.c:149: undefined reference to `_gnutls_cpuid'
accelerated/.libs/libaccelerated.a(aes-x86.o): In function `check_optimized_aes':
~\native\build\gnutls-3.0.4-git\lib\accelerated\x86/../../../../../pkgs/gnutls-3.0.4-git/lib/accelerated/x86/aes-x86.c:129: undefined reference to `_gnutls_cpuid'
collect2: ld returned 1 exit status
make[3]: *** [libgnutls.la] Error 1
make[3]: Leaving directory `/home/hoyt/native/build/gnutls-3.0.4-git/lib'
[...]
My configure looks like:
lt_cv_deplibs_check_method=pass_all CC="gcc -mtune=i686 -mthreads" LDFLAGS="-Wl,--enable-auto-image-base" ../../pkgs/gnutls-3.0.4-git/configure --prefix=/home/hoyt6/native/staging --disable-guile --disable-cxx --disable-openssl-compatibility
More information about the Gnutls-help
mailing list