undefined reference to `aes_gcm_struct'

Kyle Schwarz zeranoe at gmail.com
Tue Feb 7 06:08:40 CET 2012


I'm getting an undefined reference to aes_gcm_struct when trying to 
compile gnutls 3.0.12 for Win64. I'm using MinGW-w64. I had no problem 
compiling the 32-bit version.

make[1]: Entering directory 
`/home/kyle/software/ffmpeg/packages/gnutls/build/src'
/bin/bash ../libtool  --tag=CC   --mode=link x86_64-w64-mingw32-gcc 
-std=gnu99 
-I/home/kyle/software/ffmpeg/packages/gmp/gmp-5.0.3-win64/include 
-L/home/kyle/software/ffmpeg/packages/gmp/gmp-5.0.3-win64/lib -o 
gnutls-serv.exe serv.o udp-serv.o common.o  ../lib/libgnutls.la 
libcmd-serv.la ../gl/libgnu.la  -lws2_32 -lws2_32
libtool: link: x86_64-w64-mingw32-gcc -std=gnu99 
-I/home/kyle/software/ffmpeg/packages/gmp/gmp-5.0.3-win64/include -o 
gnutls-serv.exe serv.o udp-serv.o common.o 
-L/home/kyle/software/ffmpeg/packages/gmp/gmp-5.0.3-win64/lib 
../lib/.libs/libgnutls.a 
-L/home/kyle/software/ffmpeg/packages/nettle/nettle-2.4-win64/lib 
-L/home/kyle/software/ffmpeg/packages/zlib/zlib-1.2.5-win64/lib -lnettle 
-lhogweed 
/home/kyle/software/ffmpeg/packages/gmp/gmp-5.0.3-win64/lib/libgmp.a -lz 
-lpthread ./.libs/libcmd-serv.a ../gl/.libs/libgnu.a -lws2_32
../lib/.libs/libgnutls.a(aes-x86.o):aes-x86.c:(.text+0x594): undefined 
reference to `aes_gcm_struct'
../lib/.libs/libgnutls.a(aes-x86.o):aes-x86.c:(.text+0x5e4): undefined 
reference to `aes_gcm_struct'
collect2: ld returned 1 exit status
make[1]: *** [gnutls-serv.exe] Error 1

Any ideas?

Best regards,
   Kyle Schwarz




More information about the Gnutls-devel mailing list