<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
Hi,</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
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.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
I looked in the kernel headers but didn't find any references to things like "dma_map_single_attrs" etc.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
<br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; "><span style="font-family: arial; font-size: small; "></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
According to the OFED_release_notes SLES 10u2 is mentioned as supported.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
<br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">Note that I'm able to successfully compile with OFED 1.3.1 on the same system.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
Here are the errors.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
Any ideas?</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1725: warning: âstruct dma_attrsâ declared inside parameter list</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
/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</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: In function âib_dma_map_single_attrsâ:</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1727: error: implicit declaration of function âdma_map_single_attrsâ</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: At top level:</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1734: warning: âstruct dma_attrsâ declared inside parameter list</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">/usr/src/ofa_kernel/include/rdma/ib_verbs.h: In function âib_dma_unmap_single_attrsâ:</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1736: error: implicit declaration of function âdma_unmap_single_attrsâ</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1737: warning: âreturnâ with a value, in function returning void</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">/usr/src/ofa_kernel/include/rdma/ib_verbs.h: At top level:</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1812: warning: âstruct dma_attrsâ declared inside parameter list</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: In function âib_dma_map_sg_attrsâ:</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1814: error: implicit declaration of function âdma_map_sg_attrsâ</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">/usr/src/ofa_kernel/include/rdma/ib_verbs.h: At top level:</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1820: warning: âstruct dma_attrsâ declared inside parameter list</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">
/usr/src/ofa_kernel/include/rdma/ib_verbs.h: In function âib_dma_unmap_sg_attrsâ:</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Consolas; ">/usr/src/ofa_kernel/include/rdma/ib_verbs.h:1822: error: implicit declaration of function âdma_unmap_sg_attrsâ</p>
</span>