Date: Fri, 11 May 2001 18:21:44 +0300 From: Peter Pentchev <roam@orbitel.bg> To: stable@FreeBSD.org Cc: assar@FreeBSD.org Subject: Heimdal breakage - char * vs. const char * Message-ID: <20010511182143.A24224@ringworld.oblivion.bg>
next in thread | raw e-mail | index | archive | help
Hi, I just tried building a RELENG_4 world with both MAKE_KERBEROS4 and MAKE_KERBEROS5 set to yes and CFLAGS="-O -pipe" (if this is relevant). KRB5_HOME is undefined (as I guess it should be for Heimdal in the base system). I got the following: ===> libvers cc -O -pipe -I/usr/src/kerberos5/lib/libvers/../../../crypto/heimdal/include - I/usr/obj/usr/src/kerberos5/lib/libvers/../../lib/libroken -I/usr/src/kerberos5 /lib/libvers/../../../crypto/heimdal/lib/roken -I/usr/obj/usr/src/kerberos5/lib /libvers -Wall -I/usr/src/kerberos5/lib/libvers/../../include -I/usr/src/kerbero s5/lib/libvers/../../include -DHAVE_CONFIG_H -DKRB5_KRB4_COMPAT -DKRB4 -DINET6 - I/usr/obj/usr/src/i386/usr/include -static -o make-print-version /usr/src/kerber os5/lib/libvers/../../../crypto/heimdal/lib/vers/make-print-version.c In file included from /usr/src/kerberos5/lib/libvers/../../../crypto/heimdal/lib /vers/make-print-version.c:47: /usr/src/kerberos5/lib/libvers/../../include/version.h:3: conflicting types for `krb4_version' /usr/src/kerberos5/lib/libvers/../../../crypto/heimdal/lib/vers/make-print-versi on.c:45: previous declaration of `krb4_version' *** Error code 1 Stop in /usr/src/kerberos5/lib/libvers. Attached is a simple patch. G'luck, Peter -- I am the meaning of this sentence. Index: src/crypto/heimdal/lib/vers/make-print-version.c =================================================================== RCS file: /home/ncvs/src/crypto/heimdal/lib/vers/make-print-version.c,v retrieving revision 1.1.1.1.2.2 diff -u -r1.1.1.1.2.2 make-print-version.c --- src/crypto/heimdal/lib/vers/make-print-version.c 2001/05/08 15:12:01 1.1.1.1.2.2 +++ src/crypto/heimdal/lib/vers/make-print-version.c 2001/05/11 15:21:05 @@ -42,7 +42,7 @@ extern const char *heimdal_version; #endif #ifdef KRB4 -extern char *krb4_version; +extern const char *krb4_version; #endif #include <version.h> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010511182143.A24224>