kdc-tester dependency on libheimbase

Russ Allbery <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.heimdal.general
Organization The Eyrie
Message-ID <[email protected]>
make[1]: Entering directory `/home/eagle/dvl/heimdal/kdc'
  CCLD   kdc-tester
/usr/bin/ld: kdc-tester.o: undefined reference to symbol 'heim_array_get_type_id@@HEIMDAL_BASE_1.0'
/usr/bin/ld: note: 'heim_array_get_type_id@@HEIMDAL_BASE_1.0' is defined in DSO /home/eagle/dvl/heimdal/base/.libs/libheimbase.so.1 so try adding it to the linker command line
/home/eagle/dvl/heimdal/base/.libs/libheimbase.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

kdc-tester uses symbols from libheimbase directly, so needs to be linked
with it explicitly.  Patch attached.

-- 
Russ Allbery ([email protected])             <http://www.eyrie.org/~eagle/>
0003-Link-kdc-tester-with-libheimbase-directly.patch (text/x-diff, 809 B)
From cd10af52835bb6a26b70e2be34a67699aaa157a3 Mon Sep 17 00:00:00 2001
From: Russ Allbery <[email protected]>
Date: Thu, 22 Dec 2011 12:29:39 -0800
Subject: [PATCH] Link kdc-tester with libheimbase directly

It directly uses symbols provided by that library.
---
 kdc/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kdc/Makefile.am b/kdc/Makefile.am
index 96ef4f8..5c51bde 100644
--- a/kdc/Makefile.am
+++ b/kdc/Makefile.am
@@ -123,7 +123,7 @@ digest_service_LDADD = \
 	$(top_builddir)/lib/ipc/libheim-ipcs.la \
 	$(LDADD) $(LIB_pidfile)
 kdc_replay_LDADD = libkdc.la $(LDADD) $(LIB_pidfile)
-kdc_tester_LDADD = libkdc.la $(LDADD) $(LIB_pidfile)
+kdc_tester_LDADD = libkdc.la $(LDADD) $(LIB_pidfile) $(LIB_heimbase)
 
 include_HEADERS = kdc.h kdc-protos.h
 
-- 
1.7.7.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.