[OpenAFS-devel] 1.4.2rc1 fails on RHEL4 2.6.9 kernel: missing keyring defines?
Jim Rees
rees@umich.edu
Thu, 24 Aug 2006 10:58:24 -0400
I got the following build error on RHEL4/x86. First, it looks like
struct ubik_client isn't defined (although that's just a warning).
I think this was reported earlier, but I'm reporting it again.
I fixed this in cvs head. I suppose the fix could be merged to 1.4.x branch
but I don't like to perturb the branch when we're in release candidate mode.
Also my fix isn't the right fix. The warning should be relatively harmless.
Index: src/rxgen/rpc_main.c
===================================================================
RCS file: /cvs/openafs/src/rxgen/rpc_main.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- src/rxgen/rpc_main.c 3 Jul 2006 18:58:38 -0000 1.24
+++ src/rxgen/rpc_main.c 10 Aug 2006 20:50:40 -0000 1.25
@@ -37,7 +37,7 @@
#include <afs/param.h>
RCSID
- ("$Header: /cvs/openafs/src/rxgen/rpc_main.c,v 1.24 2006/07/03 18:58:38 shadow Exp $");
+ ("$Header: /cvs/openafs/src/rxgen/rpc_main.c,v 1.25 2006/08/10 20:50:40 rees Exp $");
#include <limits.h>
#include <stdio.h>
@@ -478,6 +478,7 @@
f_print(fout, "#ifndef SOCK_DGRAM /* XXXXX */\n");
f_print(fout, "#include \"h/socket.h\"\n");
f_print(fout, "#endif\n");
+ f_print(fout, "struct ubik_client;\n");
f_print(fout, "#ifndef DTYPE_SOCKET /* XXXXX */\n");
f_print(fout, "#ifndef AFS_LINUX22_ENV\n");
f_print(fout, "#include \"h/file.h\"\n");