[gnutls-dev] Compile problem and missing symbol gc_pkcs5_pbkdf2_sha1 and a possible fix?

Mats Rojestal mats.rojestal at bredband.net
Thu Apr 14 15:30:05 CEST 2005


I get a missing symbol when i try to build gnutls-1.2.1
and the missing symbols is gc_pkcs5_pbkdf2_sha1 however i added
this patch to Makefile.in and did a configure and now it
compiles and links cleanly.

--Mats R

--- Makefile.in.orig    Mon Apr  4 17:37:12 2005
+++ Makefile.in Mon Apr 11 21:50:04 2005
@@ -127,7 +127,8 @@
         auth_dhe.lo gnutls_dh_primes.lo ext_max_record.lo \
         gnutls_alert.lo gnutls_str.lo gnutls_state.lo gnutls_x509.lo \
         ext_cert_type.lo gnutls_rsa_export.lo auth_rsa_export.lo \
-       ext_server_name.lo auth_dh_common.lo memmem.lo
+       ext_server_name.lo auth_dh_common.lo memmem.lo \
+       ../crypto/pkcs5.lo ../crypto/gc-libgcrypt.lo
  am__objects_3 = ext_srp.lo gnutls_srp.lo auth_srp.lo \
         auth_srp_passwd.lo auth_srp_sb64.lo auth_srp_rsa.lo
  am_libgnutls_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
@@ -343,7 +344,8 @@
         gnutls_ui.c gnutls_sig.c auth_dhe.c gnutls_dh_primes.c          \
         ext_max_record.c gnutls_alert.c gnutls_str.c gnutls_state.c     \
         gnutls_x509.c ext_cert_type.c gnutls_rsa_export.c               \
-       auth_rsa_export.c ext_server_name.c auth_dh_common.c memmem.c
+       auth_rsa_export.c ext_server_name.c auth_dh_common.c memmem.c   \
+       ../crypto/pkcs5.c ../crypto/gc-libgcrypt.c

  HFILES = debug.h gnutls_compress.h defines.h gnutls_cipher.h           \
         gnutls_buffers.h gnutls_errors.h gnutls_int.h                   \
@@ -360,7 +362,7 @@
         gnutls_alert.h gnutls_str.h gnutls_state.h gnutls_x509.h        \
         ext_cert_type.h gnutls_rsa_export.h ext_server_name.h           \
         auth_dh_common.h ext_srp.h gnutls_srp.h auth_srp.h              \
-       auth_srp_passwd.h memmem.h
+       auth_srp_passwd.h memmem.h ../crypto/utils.h


  # Separate so we can create the documentation




More information about the Gnutls-dev mailing list