problem building libassuan + pth

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

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

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

Yes, changing the 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/       (revision 4345)
+++ keyserver/       (working copy)
@@ -41,7 +41,7 @@
 gpg2keys_ldap_SOURCES = gpgkeys_ldap.c ksutil.c ksutil.h no-libgcrypt.c
-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)



More information about the Gnupg-users mailing list