problem building libassuan + pth

Werner Koch wk at gnupg.org
Wed Nov 22 09:09:38 CET 2006


On Tue, 21 Nov 2006 16:46, s_angelov at filibeto.org said:

> sorry to bother you again - i have applied the patch you sent me. i
> have also modified the g10/Makefile.in otherwise the g10/Makefile was
> not changed. i run in another problem:

Yes, changing the Makefile.am requires all the autotools and they need
to be pretty recent.

> gpg2keys_ldap-gpgkeys_ldap.o: In function `build_attrs':
> /root/gnupg-2.0.0/keyserver/gpgkeys_ldap.c:367: undefined reference to
> `strsep'

Here is the next exercise on how to do automake's job by hand:

--- keyserver/Makefile.am       (revision 4345)
+++ keyserver/Makefile.am       (working copy)
@@ -41,7 +41,7 @@
 
 gpg2keys_ldap_SOURCES = gpgkeys_ldap.c ksutil.c ksutil.h no-libgcrypt.c
 gpg2keys_ldap_CPPFLAGS = $(LDAP_CPPFLAGS) $(AM_CPPFLAGS)
-gpg2keys_ldap_LDADD = $(LDAPLIBS) $(NETLIBS) $(other_libs)
+gpg2keys_ldap_LDADD = ../jnlib/libjnlib.a $(LDAPLIBS) $(NETLIBS) $(other_libs)
 
 gpg2keys_finger_SOURCES = gpgkeys_finger.c ksutil.c ksutil.h no-libgcrypt.c
 gpg2keys_finger_CPPFLAGS = $(AM_CPPFLAGS)



Salam-Shalom,

   Werner




More information about the Gnupg-users mailing list