[openib-general] problem compiling openib on Linux 2.6.12

Sacerdoti, Federico Federico.Sacerdoti at deshaw.com
Wed Sep 21 08:03:26 PDT 2005


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'
  CC [M]  drivers/infiniband/core/ucm.o

Here is the relevent parts of my kernel config:

[root at drdab000 kernel.org]# ggrep INFINIBAND config-2.6.12 
config-2.6.12:2224:# InfiniBand support
config-2.6.12:2226:CONFIG_INFINIBAND=y
config-2.6.12:2227:CONFIG_INFINIBAND_USER_MAD=m
config-2.6.12:2228:CONFIG_INFINIBAND_USER_ACCESS=m
config-2.6.12:2229:CONFIG_INFINIBAND_MTHCA=m
config-2.6.12:2230:# CONFIG_INFINIBAND_MTHCA_DEBUG is not set
config-2.6.12:2231:CONFIG_INFINIBAND_IPOIB=m
config-2.6.12:2232:# CONFIG_INFINIBAND_IPOIB_DEBUG is not set
config-2.6.12:2233:CONFIG_INFINIBAND_SDP=m
config-2.6.12:2234:# CONFIG_INFINIBAND_SDP_DEBUG is not set
config-2.6.12:2235:# CONFIG_INFINIBAND_SRP is not set

Thank you for your help,
-Federico



More information about the general mailing list