[ofa-general] Compilation errors with OFED 1.4.1/ 1.4
Rajouri Jammu
rajouri.jammu at gmail.com
Tue Jun 16 19:53:18 PDT 2009
Hi,
I'm trying to build a kernel module using OFED 1.4.1 on SLES 10 Update 2
(2.6.16.60-0.21-smp) and I get the below compilation errors.
I looked in the kernel headers but didn't find any references to things like
"dma_map_single_attrs" etc.
According to the OFED_release_notes SLES 10u2 is mentioned as supported.
Note that I'm able to successfully compile with OFED 1.3.1 on the same
system.
Here are the errors.
Any ideas?
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1725: warning: âstruct
dma_attrsâ declared inside parameter list
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1725: warning: its scope is only
this definition or declaration, which is probably not what you want
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: In function
âib_dma_map_single_attrsâ:
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1727: error: implicit
declaration of function âdma_map_single_attrsâ
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: At top level:
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1734: warning: âstruct
dma_attrsâ declared inside parameter list
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: In function
âib_dma_unmap_single_attrsâ:
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1736: error: implicit
declaration of function âdma_unmap_single_attrsâ
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1737: warning: âreturnâ with a
value, in function returning void
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: At top level:
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1812: warning: âstruct
dma_attrsâ declared inside parameter list
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: In function
âib_dma_map_sg_attrsâ:
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1814: error: implicit
declaration of function âdma_map_sg_attrsâ
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: At top level:
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1820: warning: âstruct
dma_attrsâ declared inside parameter list
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: In function
âib_dma_unmap_sg_attrsâ:
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1822: error: implicit
declaration of function âdma_unmap_sg_attrsâ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090616/df7ab0e4/attachment.html>
More information about the general
mailing list