From owner-freebsd-current Tue Feb 13 15:52:38 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA18503 for current-outgoing; Tue, 13 Feb 1996 15:52:38 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA18497 for ; Tue, 13 Feb 1996 15:52:32 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA08438; Wed, 14 Feb 1996 00:51:44 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id AAA19354; Wed, 14 Feb 1996 00:51:43 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id AAA08967; Wed, 14 Feb 1996 00:41:50 +0100 (MET) From: J Wunsch Message-Id: <199602132341.AAA08967@uriah.heep.sax.de> Subject: Re: int'l kerberos build error To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Wed, 14 Feb 1996 00:41:49 +0100 (MET) Cc: mark@grondar.za Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199602131754.TAA02102@grumble.grondar.za> from "Mark Murray" at Feb 13, 96 07:54:28 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.org Precedence: bulk As Mark Murray wrote: > > > # find -L /usr/src/eBones -name 'k*.h' > > /usr/src/eBones/lib/libkadm/obj/kadm_err.h > > /usr/src/eBones/lib/libkrb/obj/krb_err.h > > Perhaps a missing ${.CURDIR} somewhere in the Makefiles? The above > > .h's are the offenders that prevent the successful build. > I am not much of a Makefile boffin, and will need help here. > :-( :-( Sorry! The following patch seems to fix my problems. It looks rather kludgy in some places, but i don't fully understand the various Makefile macros for the eBones stuff. Index: eBones/usr.bin/kadmin/Makefile =================================================================== RCS file: /home/cvs/src/eBones/usr.bin/kadmin/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 1995/09/26 06:19:40 1.6 +++ Makefile 1996/02/13 23:26:48 @@ -3,7 +3,7 @@ PROG= kadmin SRCS= ${KRBOBJDIR}/krb_err.h kadmin.c kadmin_cmds.c CLEANFILES+= kadmin_cmds.c krb_err.c -CFLAGS+= -DPOSIX -I${.CURDIR}/../../lib/libkadm +CFLAGS+= -DPOSIX -I${.CURDIR}/../../lib/libkadm -I${KRBOBJDIR} DPADD= ${LIBKRB} ${LIBDES} LDADD+= -L${KADMOBJDIR} -lkadm -L${KRBOBJDIR} -lkrb -L${DESOBJDIR} -ldes LDADD+= -lss -lcom_err Index: eBones/usr.bin/kadmin/kadmin.c =================================================================== RCS file: /home/cvs/src/eBones/usr.bin/kadmin/kadmin.c,v retrieving revision 1.3 diff -u -r1.3 kadmin.c --- kadmin.c 1995/09/13 16:11:04 1.3 +++ kadmin.c 1996/02/13 23:24:25 @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #define BAD_PW 1 Index: eBones/usr.sbin/kadmind/Makefile =================================================================== RCS file: /home/cvs/src/eBones/usr.sbin/kadmind/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 1995/09/26 06:20:08 1.5 +++ Makefile 1996/02/13 23:32:53 @@ -2,7 +2,7 @@ PROG= kadmind SRCS= admin_server.c kadm_funcs.c kadm_ser_wrap.c kadm_server.c -CFLAGS+=-DPOSIX -I${.CURDIR}/../../lib/libkadm +CFLAGS+=-DPOSIX -I${.CURDIR}/../../lib/libkadm -I${.CURDIR}/../../lib/libkadm/obj -I${KRBOBJDIR} DPADD= ${LIBKDB} ${LIBKRB} ${LIBDES} LDADD+= -L${KADMOBJDIR} -lkadm -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb \ -L${DESOBJDIR} -ldes -L${ACLOBJDIR} -lacl -lcom_err Index: eBones/usr.sbin/kadmind/admin_server.c =================================================================== RCS file: /home/cvs/src/eBones/usr.sbin/kadmind/admin_server.c,v retrieving revision 1.4 diff -u -r1.4 admin_server.c --- admin_server.c 1995/09/13 16:11:22 1.4 +++ admin_server.c 1996/02/13 23:27:59 @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include "kadm_server.h" Index: eBones/usr.sbin/kadmind/kadm_funcs.c =================================================================== RCS file: /home/cvs/src/eBones/usr.sbin/kadmind/kadm_funcs.c,v retrieving revision 1.3 diff -u -r1.3 kadm_funcs.c --- kadm_funcs.c 1995/09/13 16:11:24 1.3 +++ kadm_funcs.c 1996/02/13 23:31:38 @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include "kadm_server.h" Index: eBones/usr.sbin/kadmind/kadm_ser_wrap.c =================================================================== RCS file: /home/cvs/src/eBones/usr.sbin/kadmind/kadm_ser_wrap.c,v retrieving revision 1.4 diff -u -r1.4 kadm_ser_wrap.c --- kadm_ser_wrap.c 1995/09/13 16:11:26 1.4 +++ kadm_ser_wrap.c 1996/02/13 23:32:13 @@ -26,8 +26,8 @@ #include #include #include -#include -#include +#include +#include #include "kadm_server.h" Kadm_Server server_parm; Index: eBones/usr.sbin/kadmind/kadm_server.c =================================================================== RCS file: /home/cvs/src/eBones/usr.sbin/kadmind/kadm_server.c,v retrieving revision 1.3 diff -u -r1.3 kadm_server.c --- kadm_server.c 1995/09/13 16:11:27 1.3 +++ kadm_server.c 1996/02/13 23:25:13 @@ -16,7 +16,7 @@ #include #include -#include +#include #include "kadm_server.h" /* -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)