[OpenAFS-devel] Ubik: kernel module compile error

Ludovico Giammarino l.giammarino@caspur.it
Wed, 26 Jul 2006 17:56:44 +0200


--=-q5o7AeKsLevDVME+pFip
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Dear OpenAFS mailing list,

I'm actually developing a little DB server that uses the ubik
framework. 
The DB works well, ubik too.
However, I need the cache manager to be able to make requests to
this DB server, thus using ubik. While attempting to include the
necessary
code into the cache manager, I
end up having the following error (which do not appear when I compile
all the rest
not into a kernel module):

> In file included from openafs-1.4.0
++/src/my_project_dir/include/proj_util.h:10,
>      from /.../openafs-1.4.0
++/src/libafs/MODLOAD-2.6.9-11.EL.cern-SP/proj_lib.c:40:
> openafs-1.4.0++/include/ubik.h:158: error: field `versionLock' has
incomplete type

My simple question is: is the ubik framework useable inside a kernel
module as is?
Thx to all,

Ludovico "BlackICE" Giammarino

--=-q5o7AeKsLevDVME+pFip
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.2">
</HEAD>
<BODY>
Dear OpenAFS mailing list,<BR>
<BR>
I'm actually developing a little DB server that uses the ubik framework. <BR>
The DB works well, ubik too.<BR>
However, I need the cache manager to be able to make requests to<BR>
this DB server, thus using ubik. While attempting to include the necessary<BR>
code into the cache manager, I<BR>
end up having the following error (which do not appear when I compile all the rest<BR>
not into a kernel module):<BR>
<BR>
&gt; In file included from openafs-1.4.0++/src/my_project_dir/include/proj_util.h:10,<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /.../openafs-1.4.0++/src/libafs/MODLOAD-2.6.9-11.EL.cern-SP/proj_lib.c:40:<BR>
&gt; openafs-1.4.0++/include/ubik.h:158: error: field `versionLock' has incomplete type<BR>
<BR>
My simple question is: is the ubik framework useable inside a kernel module as is?<BR>
Thx to all,<BR>
<BR>
Ludovico &quot;BlackICE&quot; Giammarino
</BODY>
</HTML>

--=-q5o7AeKsLevDVME+pFip--