On Friday 27 January 2012 17:46:44 luxInteg wrote:
> here is my updated build sequence (i.e. fresh build) (everything in
> /usr/local )
>
> --1--heimdal-1.5.2
> --2--libevent2
> --3--libnfsidmap
> --4--libgssapi (omitted)
> --5--libgssglue
> --6--librpcsecgss
> --7--nfs-utils-1.2.5
>
> the nub of the problem seems to be:-
>
> --4--libgssapi can be safely omitted but nfs-utils-1.2.5 calls for
> --5--libgssglue and this also provides a ~/gssapi.h that seems to be
> preferred to that provided by heimdal.
>
---update
######## case A
gssapi.h provided by heimdal removed and a symbolic link made to that
provided by libgssglue
In file included from /usr/local/include/rpcsecgss/rpc/auth.h:230:0,
from /usr/local/include/rpcsecgss/rpc/rpc.h:50,
from context.c:39:
/usr/local/include/rpcsecgss/rpc/auth_gss.h:62:2: error: expected specifier-
qualifier-list before 'gss_OID'
/usr/local/include/rpcsecgss/rpc/auth_gss.h:71:2: error: expected specifier-
qualifier-list before 'gss_ctx_id_t'
/usr/local/include/rpcsecgss/rpc/auth_gss.h:82:2: error: expected specifier-
qualifier-list before 'gss_buffer_desc'
/usr/local/include/rpcsecgss/rpc/auth_gss.h:87:2: error: expected specifier-
qualifier-list before 'gss_buffer_desc'
/usr/local/include/rpcsecgss/rpc/auth_gss.h:100:30: error: expected
declaration specifiers or '...' before 'gss_buffer_desc'
/usr/local/include/rpcsecgss/rpc/auth_gss.h:102:25: error: expected
declaration specifiers or '...' before 'gss_ctx_id_t'
/usr/local/include/rpcsecgss/rpc/auth_gss.h:102:25: error: expected
declaration specifiers or '...' before 'gss_qop_t'
/usr/local/include/rpcsecgss/rpc/auth_gss.h:107:25: error: expected
declaration specifiers or '...' before 'gss_name_t'
/usr/local/include/rpcsecgss/rpc/auth_gss.h:120:25: error: expected
declaration specifiers or '...' before 'OM_uint32'
/usr/local/include/rpcsecgss/rpc/auth_gss.h:120:25: error: expected
declaration specifiers or '...' before 'OM_uint32'
In file included from gss_util.h:36:0,
from context.c:41:
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)
In file included from context.c:41:0:
gss_util.h: At top level:
gss_util.h:38:22: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'gssd_creds'
gss_util.h:40:48: warning: type defaults to 'int' in declaration of 'gss_OID'
gss_util.h:40:56: error: expected ';', ',' or ')' before 'oid'
gss_util.h:42:8: warning: type defaults to 'int' in declaration of 'gss_OID'
gss_util.h:42:16: error: expected ';', ',' or ')' before 'mech'
In file included from context.c:42: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.c:44:0:
context.h:44:47: error: expected ')' before 'ctx'
context.h:46:38: error: expected ')' before 'ctx'
context.h:48:37: error: expected ')' before 'ctx'
context.c:47:43: error: expected ')' before 'ctx'
make[2]: *** [gssd-context.o] Error 1
######## case B
gssapi.h provided by gssglue removed and a symbolic link made to that
provided by heimdal
context_heimdal.c: In function 'serialize_krb5_ctx':
context_heimdal.c:215:31: error: 'MAX_CTX_LEN' undeclared (first use in this
function)
context_heimdal.c:215:31: note: each undeclared identifier is reported only
once for each function it appears in
context_heimdal.c:222:9: error: dereferencing pointer to incomplete type
context_heimdal.c:222:24: error: 'LOCAL' undeclared (first use in this
function)
context_heimdal.c:245:6: error: dereferencing pointer to incomplete type
context_heimdal.c:245:6: error: dereferencing pointer to incomplete type
context_heimdal.c:248:17: error: dereferencing pointer to incomplete type
context_heimdal.c:251:6: error: dereferencing pointer to incomplete type
context_heimdal.c:251:6: error: dereferencing pointer to incomplete type
make[2]: *** [gssd-context_heimdal.o] Error 1
-------suggestions welcomed
luxInteg
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page