From: Mario Fetka Subject: Re: Heimdal compile error Date: Mon, 17 Jul 2006 10:56:01 +0200 Message-ID: <200607171056.01407.mario-fetka@gmx.at> References: <200607171049.31126.mario-fetka@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1G2Ovr-0008Dl-IC for nfs@lists.sourceforge.net; Mon, 17 Jul 2006 01:58:27 -0700 Received: from mail.gmx.de ([213.165.64.21] helo=mail.gmx.net) by mail.sourceforge.net with smtp (Exim 4.44) id 1G2Ovr-0003Z6-FM for nfs@lists.sourceforge.net; Mon, 17 Jul 2006 01:58:28 -0700 To: nfs@lists.sourceforge.net In-Reply-To: <200607171049.31126.mario-fetka@gmx.at> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net i forgot the error: if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../support/include -I../../support/include -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -pipe -O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse -I/usr/include/rpcsecgss -I/usr/include/gssglue -I/usr/include/heimdal -I/usr/athena/include -O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse -MT gssd-context_heimdal.o -MD -MP -MF ".deps/gssd-context_heimdal.Tpo" -c -o gssd-context_heimdal.o `test -f 'context_heimdal.c' || echo './'`context_heimdal.c; \ then mv -f ".deps/gssd-context_heimdal.Tpo" ".deps/gssd-context_heimdal.Po"; else rm -f ".deps/gssd-context_heimdal.Tpo"; exit 1; fi context_heimdal.c: In function 'write_heimdal_enc_key': context_heimdal.c:81: error: dereferencing pointer to incomplete type context_heimdal.c: In function 'write_heimdal_seq_key': context_heimdal.c:139: error: dereferencing pointer to incomplete type context_heimdal.c: In function 'serialize_krb5_ctx': context_heimdal.c:218: error: dereferencing pointer to incomplete type context_heimdal.c:218: error: 'LOCAL' undeclared (first use in this function) context_heimdal.c:218: error: (Each undeclared identifier is reported only once context_heimdal.c:218: error: for each function it appears in.) context_heimdal.c:241: error: dereferencing pointer to incomplete type context_heimdal.c:241: error: dereferencing pointer to incomplete type context_heimdal.c:244: error: dereferencing pointer to incomplete type context_heimdal.c:244: error: dereferencing pointer to incomplete type context_heimdal.c:247: warning: dereferencing type-punned pointer will break strict-aliasing rules make[2]: *** [gssd-context_heimdal.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/nfs-utils-1.0.9/work/nfs-utils-1.0.9/utils/gssd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/nfs-utils-1.0.9/work/nfs-utils-1.0.9/utils' make: *** [all-recursive] Error 1 Am Montag, 17. Juli 2006 10:49 schrieb Mario Fetka: > the following patch corrects the error. > > diff -urN nfs-utils-1.0.7.org/utils/gssd/context_heimdal.c > nfs-utils-1.0.7/utils/gssd/context_heimdal.c > --- nfs-utils-1.0.7.org/utils/gssd/context_heimdal.c 2005-07-10 > 12:14:01.526867000 +0200 > +++ nfs-utils-1.0.7/utils/gssd/context_heimdal.c 2005-07-10 > 12:14:32.815110736 +0200 > @@ -46,6 +46,20 @@ > #include "gss_oids.h" > #include "write_bytes.h" > > +typedef struct gss_ctx_id_t_desc_struct { > + struct krb5_auth_context_data *auth_context; > + gss_name_t source, target; > + OM_uint32 flags; > + enum { LOCAL = 1, OPEN = 2, > + COMPAT_OLD_DES3 = 4, > + COMPAT_OLD_DES3_SELECTED = 8, > + } more_flags; > + struct krb5_ticket *ticket; > + OM_uint32 lifetime; > + pthread_mutex_t ctx_id_mutex; > + struct gss_msg_order *order; > +} gss_ctx_id_t_desc; > + > #define MAX_CTX_LEN 4096 > > int write_heimdal_keyblock(char **p, char *end, krb5_keyblock *key) > > wfg > Mario > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > NFS maillist - NFS@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs