[openib-general] Compilation issues on rhel4 u3 ppc64 sysfs.o

Paul Lundin paul.lundin at gmail.com
Tue May 23 12:34:09 PDT 2006


Hi All,
     I just started working with openIB in the past week. I am having an
issue getting the kernel modules to compile with the stock rhel4 u3 kernel.
I have applied the patches found at
https://openib.org/svn/gen2/branches/backport/2.6.9_U3/ and followed the
instructions from
https://openib.org/tiki/tiki-index.php?page=Installation+Cheat+Sheet but I
have been getting the following error:

LD /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/built-in.o
LD /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/built-in.o
CC [M] /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/index.o
CC [M] /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/addr.o
CC [M] /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/cm.o
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/cm.c: In function
`ib_cm_cleanup':
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/cm.c:3367:
warning: implicit declaration of function `idr_destroy'
CC [M] /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/packer.o
CC [M] /usr/src/kernels/2.6.9-34.EL-ppc64
/drivers/infiniband/core/ud_header.o
CC [M] /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/verbs.o
CC [M] /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/sysfs.o
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/sysfs.c:693:
error: unknown field `uevent' specified in initializer
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/sysfs.c:693:
warning: initialization from incompatible pointer type
make[2]: *** [/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/sysfs.o]
Error 1
make[1]: *** [/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core]
Error 2
make: *** [_module_/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband]
Error 2
make: Leaving directory `/usr/src/kernels/2.6.9-34.EL-ppc64'

Any help would be appreciated. As noted this is on a ppc64 machine. The
rhel4 u3 install does *NOT* configure openIB by default like it does on
intel architectures. I was wondering if openIB has been tested at all on
ppc64 and if this was even possible at this point.

Regards.
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060523/2fa87a95/attachment.html>


More information about the general mailing list