[openib-general] problem compiling openib on Linux 2.6.12

Hal Rosenstock halr at voltaire.com
Wed Sep 21 08:07:46 PDT 2005


On Wed, 2005-09-21 at 11:03, Sacerdoti, Federico wrote:
> Hi,
> 
> Using the openib svn code from yesterday I am compiling the Linux kernel
> 2.6.12 (from kernel.org). When I finish and try to 'modprobe ib_ucm'
> 
> I see in dmsg: 
> 
> Unknown symbol class_destroy 
> (also for class_create, etc)
> 
> When compiling again I see the errors:
> 
>   CC [M]  drivers/infiniband/core/uat.o
> drivers/infiniband/core/uat.c: In function `ib_uat_init':
> drivers/infiniband/core/uat.c:830: warning: implicit declaration of
> function `class_create'
> drivers/infiniband/core/uat.c:830: warning: assignment makes pointer
> from integer without a c
> ast
> drivers/infiniband/core/uat.c:837: warning: implicit declaration of
> function `class_device_cr
> eate'
> drivers/infiniband/core/uat.c: In function `ib_uat_cleanup':
> drivers/infiniband/core/uat.c:853: warning: implicit declaration of
> function `class_device_de
> stroy'
> drivers/infiniband/core/uat.c:854: warning: implicit declaration of
> function `class_destroy'

A ucm backpatch for this is similar to the one for uat in
https://openib.org/svn/gen2/branches/backport/2.6.12/uat_3465_to_2_6_12.patch

I don't know if an explicit one for ucm exists.

-- Hal




More information about the general mailing list