I am trying to compile but keep getting errors...<br><br>linux-2.6.14(vanilla) plus latest svn release 3972.<br><br><br> LD drivers/infiniband/built-in.o<br> LD drivers/infiniband/core/built-in.o<br> CC [M] drivers/infiniband/core/addr.o
<br> CC [M] drivers/infiniband/core/at.o<br> CC [M] drivers/infiniband/core/cm.o<br>drivers/infiniband/core/cm.c: In function `cm_alloc_msg':<br>drivers/infiniband/core/cm.c:179: error: `IB_MGMT_MAD_HDR' undeclared (first use in this function)
<br>drivers/infiniband/core/cm.c:179: error: (Each undeclared identifier is reported only once<br>drivers/infiniband/core/cm.c:179: error: for each function it appears in.)<br>drivers/infiniband/core/cm.c:180: error: too few arguments to function `ib_create_send_mad'
<br>drivers/infiniband/core/cm.c:187: error: structure has no member named `ah'<br>drivers/infiniband/core/cm.c:188: error: structure has no member named `retries'<br>drivers/infiniband/core/cm.c: In function `cm_alloc_response_msg':
<br>drivers/infiniband/core/cm.c:209: error: `IB_MGMT_MAD_HDR' undeclared (first use in this function)<br>drivers/infiniband/core/cm.c:210: error: too few arguments to function `ib_create_send_mad'<br>drivers/infiniband/core/cm.c:215: error: structure has no member named `ah'
<br>drivers/infiniband/core/cm.c: In function `cm_free_msg':<br>drivers/infiniband/core/cm.c:222: error: structure has no member named `ah'<br>drivers/infiniband/core/cm.c: In function `cm_insert_listen':<br>drivers/infiniband/core/cm.c:371: error: structure has no member named `device'
<br>drivers/infiniband/core/cm.c:371: error: structure has no member named `device'<br>drivers/infiniband/core/cm.c:374: error: structure has no member named `device'<br>drivers/infiniband/core/cm.c:374: error: structure has no member named `device'
<br>drivers/infiniband/core/cm.c:376: error: structure has no member named `device'<br>drivers/infiniband/core/cm.c:376: error: structure has no member named `device'<br>drivers/infiniband/core/cm.c: In function `cm_find_listen':
<br>drivers/infiniband/core/cm.c:398: error: structure has no member named `device'<br>drivers/infiniband/core/cm.c:401: error: structure has no member named `device'<br>drivers/infiniband/core/cm.c:403: error: structure has no member named `device'
<br>drivers/infiniband/core/cm.c: At top level:<br>drivers/infiniband/core/cm.c:543: error: conflicting types for 'ib_create_cm_id'<br>include/rdma/ib_cm.h:306: error: previous declaration of 'ib_create_cm_id' was here<br>
drivers/infiniband/core/cm.c:543: error: conflicting types for 'ib_create_cm_id'<br>include/rdma/ib_cm.h:306: error: previous declaration of 'ib_create_cm_id' was here<br>drivers/infiniband/core/cm.c: In function `ib_create_cm_id':
<br>drivers/infiniband/core/cm.c:552: error: structure has no member named `device'<br>drivers/infiniband/core/cm.c: In function `ib_destroy_cm_id':<br>drivers/infiniband/core/cm.c:679: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast
<br>drivers/infiniband/core/cm.c:690: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast<br>drivers/infiniband/core/cm.c:707: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast
<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_req':<br>drivers/infiniband/core/cm.c:933: error: structure has no member named `timeout_ms'<br>drivers/infiniband/core/cm.c:942: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:942: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_issue_rej':<br>drivers/infiniband/core/cm.c:987: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:987: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_dup_req_handler':<br>drivers/infiniband/core/cm.c:1195: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:1195: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_match_req':<br>drivers/infiniband/core/cm.c:1235: error: structure has no member named `device'
<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_rep':<br>drivers/infiniband/core/cm.c:1381: error: structure has no member named `timeout_ms'<br>drivers/infiniband/core/cm.c:1384: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:1384: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_rtu':<br>drivers/infiniband/core/cm.c:1448: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:1448: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_dup_rep_handler':<br>drivers/infiniband/core/cm.c:1520: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:1520: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_rep_handler':<br>drivers/infiniband/core/cm.c:1588: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast
<br>drivers/infiniband/core/cm.c: In function `cm_establish_handler':<br>drivers/infiniband/core/cm.c:1622: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast<br>drivers/infiniband/core/cm.c: In function `cm_rtu_handler':
<br>drivers/infiniband/core/cm.c:1661: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_dreq':<br>drivers/infiniband/core/cm.c:1719: error: structure has no member named `timeout_ms'
<br>drivers/infiniband/core/cm.c:1722: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type<br>drivers/infiniband/core/cm.c:1722: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_drep':
<br>drivers/infiniband/core/cm.c:1785: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type<br>drivers/infiniband/core/cm.c:1785: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_dreq_handler':
<br>drivers/infiniband/core/cm.c:1820: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast<br>drivers/infiniband/core/cm.c:1834: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:1834: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_drep_handler':<br>drivers/infiniband/core/cm.c:1881: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast
<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_rej':<br>drivers/infiniband/core/cm.c:1949: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type<br>drivers/infiniband/core/cm.c:1949: error: too few arguments to function `ib_post_send_mad'
<br>drivers/infiniband/core/cm.c: In function `cm_rej_handler':<br>drivers/infiniband/core/cm.c:2025: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast<br>drivers/infiniband/core/cm.c:2035: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast
<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_mra':<br>drivers/infiniband/core/cm.c:2093: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type<br>drivers/infiniband/core/cm.c:2093: error: too few arguments to function `ib_post_send_mad'
<br>drivers/infiniband/core/cm.c:2106: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type<br>drivers/infiniband/core/cm.c:2106: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c:2119: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:2119: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_mra_handler':<br>drivers/infiniband/core/cm.c:2181: warning: passing arg 2 of `ib_modify_mad' makes integer from pointer without a cast
<br>drivers/infiniband/core/cm.c:2188: warning: passing arg 2 of `ib_modify_mad' makes integer from pointer without a cast<br>drivers/infiniband/core/cm.c:2196: warning: passing arg 2 of `ib_modify_mad' makes integer from pointer without a cast
<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_lap':<br>drivers/infiniband/core/cm.c:2279: error: structure has no member named `timeout_ms'<br>drivers/infiniband/core/cm.c:2282: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:2282: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_lap_handler':<br>drivers/infiniband/core/cm.c:2359: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:2359: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_apr':<br>drivers/infiniband/core/cm.c:2437: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:2437: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_apr_handler':<br>drivers/infiniband/core/cm.c:2476: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast
<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_sidr_req':<br>drivers/infiniband/core/cm.c:2573: error: structure has no member named `timeout_ms'<br>drivers/infiniband/core/cm.c:2578: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type
<br>drivers/infiniband/core/cm.c:2578: error: too few arguments to function `ib_post_send_mad'<br>drivers/infiniband/core/cm.c: In function `cm_sidr_req_handler':<br>drivers/infiniband/core/cm.c:2642: error: structure has no member named `device'
<br>drivers/infiniband/core/cm.c: In function `ib_send_cm_sidr_rep':<br>drivers/infiniband/core/cm.c:2713: warning: passing arg 1 of `ib_post_send_mad' from incompatible pointer type<br>drivers/infiniband/core/cm.c:2713: error: too few arguments to function `ib_post_send_mad'
<br>drivers/infiniband/core/cm.c: In function `cm_sidr_rep_handler':<br>drivers/infiniband/core/cm.c:2766: warning: passing arg 2 of `ib_cancel_mad' makes integer from pointer without a cast<br>drivers/infiniband/core/cm.c: In function `cm_send_handler':
<br>drivers/infiniband/core/cm.c:2834: error: structure has no member named `send_buf'<br>make[3]: *** [drivers/infiniband/core/cm.o] Error 1<br>make[2]: *** [drivers/infiniband/core] Error 2<br>make[1]: *** [drivers/infiniband] Error 2
<br>make: *** [drivers] Error 2<br><br><br>Am i missing something ?<br><br>DP<br>