On Friday 27 January 2012 18:33:07 Matijn Woudt wrote: > Right, Looking at context_heimdal.c, there's a note at line 44, saying > /* Must use the heimdal copy! */ > This means that gcc is wrong in including the libgssglue. While you > might be able to solve this by letting GCC know you want to prefer one > include directory over the other one (don't know if possible), it > might be easier to just remove the #include <gssapi.h> from line 44 of > context_heimdal.c. That should fix the problem. > > - Matijn
A) did the deletion like this cat context_heimdal.c | sed '44d' > testFILE.c mv -v testFILE.c context_heimdal.c B) ran ./configure and ran make; make ends like this:- ######## In file included from context_heimdal.c:48:0: gss_oids.h:36:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'krb5oid' gss_oids.h:37:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spkm3oid' In file included from context_heimdal.c:49:0: write_bytes.h:54:35: error: expected declaration specifiers or '...' before 'gss_buffer_desc' write_bytes.h: In function 'write_buffer': write_bytes.h:56:17: error: 'arg' undeclared (first use in this function) write_bytes.h:56:17: note: each undeclared identifier is reported only once for each function it appears in write_bytes.h: At top level: write_bytes.h:67:32: error: expected declaration specifiers or '...' before 'gss_OID_desc' write_bytes.h: In function 'write_oid': write_bytes.h:69:17: error: 'arg' undeclared (first use in this function) write_bytes.h: At top level: write_bytes.h:93:41: error: expected declaration specifiers or '...' before 'gss_buffer_desc' write_bytes.h: In function 'get_buffer': write_bytes.h:100:2: error: 'res' undeclared (first use in this function) write_bytes.h: At top level: write_bytes.h:121:55: error: expected declaration specifiers or '...' before 'gss_buffer_desc' write_bytes.h: In function 'xdr_get_buffer': write_bytes.h:128:2: error: 'res' undeclared (first use in this function) write_bytes.h: At top level: write_bytes.h:149:57: error: expected declaration specifiers or '...' before 'gss_buffer_desc' write_bytes.h: In function 'xdr_write_buffer': write_bytes.h:151:12: error: 'arg' undeclared (first use in this function) context_heimdal.c: In function 'write_heimdal_keyblock': context_heimdal.c:53:2: error: 'gss_buffer_desc' undeclared (first use in this function) context_heimdal.c:53:18: error: expected ';' before 'tmp' context_heimdal.c:57:2: error: 'tmp' undeclared (first use in this function) context_heimdal.c:59:2: error: too many arguments to function 'write_buffer' write_bytes.h:54:1: note: declared here context_heimdal.c: At top level: context_heimdal.c:65:48: error: expected declaration specifiers or '...' before 'gss_ctx_id_t' context_heimdal.c: In function 'write_heimdal_enc_key': context_heimdal.c:75:3: warning: implicit declaration of function 'gssd_k5_err_msg' context_heimdal.c:75:9: warning: assignment makes pointer from integer without a cast context_heimdal.c:81:7: error: 'ctx' undeclared (first use in this function) context_heimdal.c:82:9: warning: assignment makes pointer from integer without a cast context_heimdal.c:99:9: warning: assignment makes pointer from integer without a cast context_heimdal.c:106:16: warning: comparison between signed and unsigned integer expressions context_heimdal.c: At top level: context_heimdal.c:126:48: error: expected declaration specifiers or '...' before 'gss_ctx_id_t' context_heimdal.c: In function 'write_heimdal_seq_key': context_heimdal.c:135:9: warning: assignment makes pointer from integer without a cast context_heimdal.c:141:7: error: 'ctx' undeclared (first use in this function) context_heimdal.c:142:9: warning: assignment makes pointer from integer without a cast context_heimdal.c: At top level: context_heimdal.c:205:33: error: expected ')' before 'ctx' make[2]: *** [gssd-context_heimdal.o] Error 1 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
