[openib-general] Errors in compilation with 2.6.14.4!!

Devesh Sharma devesh28 at gmail.com
Fri Dec 23 04:25:35 PST 2005


Hi I have downloaded openib stack from svn with Revision 4595 and
trying to compile it with 2.6.14.4. I am getting following errors


[root at infini00 linux-2.6.14.4]# make
  CHK     include/linux/version.h
  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  CC [M]  drivers/infiniband/core/cm.o
drivers/infiniband/core/cm.c: In function `cm_alloc_msg':
drivers/infiniband/core/cm.c:180: error: `IB_MGMT_MAD_HDR' undeclared
(first use in this function)
drivers/infiniband/core/cm.c:180: error: (Each undeclared identifier
is reported only once
drivers/infiniband/core/cm.c:180: error: for each function it appears in.)
drivers/infiniband/core/cm.c:181: error: too few arguments to function
`ib_create_send_mad'
drivers/infiniband/core/cm.c:188: error: structure has no member named `ah'
drivers/infiniband/core/cm.c:189: error: structure has no member named `retries'
drivers/infiniband/core/cm.c: In function `cm_alloc_response_msg':
drivers/infiniband/core/cm.c:210: error: `IB_MGMT_MAD_HDR' undeclared
(first use in this function)
drivers/infiniband/core/cm.c:211: error: too few arguments to function
`ib_create_send_mad'
drivers/infiniband/core/cm.c:216: error: structure has no member named `ah'
drivers/infiniband/core/cm.c: In function `cm_free_msg':
drivers/infiniband/core/cm.c:223: error: structure has no member named `ah'
drivers/infiniband/core/cm.c: In function `cm_mask_compare_data':
drivers/infiniband/core/cm.c:363: error:
`IB_CM_PRIVATE_DATA_COMPARE_SIZE' undeclared (first use in this
function)
drivers/infiniband/core/cm.c: In function `cm_compare_data':
drivers/infiniband/core/cm.c:370: error:
`IB_CM_PRIVATE_DATA_COMPARE_SIZE' undeclared (first use in this
function)
drivers/infiniband/core/cm.c:376: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:376: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:377: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:377: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:370: warning: unused variable `src'
drivers/infiniband/core/cm.c:371: warning: unused variable `dst'
drivers/infiniband/core/cm.c: In function `cm_compare_private_data':
drivers/infiniband/core/cm.c:384: error:
`IB_CM_PRIVATE_DATA_COMPARE_SIZE' undeclared (first use in this
function)
drivers/infiniband/core/cm.c:389: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:390: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:384: warning: unused variable `src'
drivers/infiniband/core/cm.c: In function `cm_insert_listen':
drivers/infiniband/core/cm.c:410: error: structure has no member named `device'
drivers/infiniband/core/cm.c:410: error: structure has no member named `device'
drivers/infiniband/core/cm.c:414: error: structure has no member named `device'
drivers/infiniband/core/cm.c:414: error: structure has no member named `device'
drivers/infiniband/core/cm.c:416: error: structure has no member named `device'
drivers/infiniband/core/cm.c:416: error: structure has no member named `device'
drivers/infiniband/core/cm.c: In function `cm_find_listen':
drivers/infiniband/core/cm.c:446: error: structure has no member named `device'
drivers/infiniband/core/cm.c:449: error: structure has no member named `device'
drivers/infiniband/core/cm.c:451: error: structure has no member named `device'
drivers/infiniband/core/cm.c: At top level:
drivers/infiniband/core/cm.c:595: error: conflicting types for 'ib_create_cm_id'
include/rdma/ib_cm.h:306: error: previous declaration of
'ib_create_cm_id' was here
drivers/infiniband/core/cm.c:595: error: conflicting types for 'ib_create_cm_id'
include/rdma/ib_cm.h:306: error: previous declaration of
'ib_create_cm_id' was here
drivers/infiniband/core/cm.c: In function `ib_create_cm_id':
drivers/infiniband/core/cm.c:604: error: structure has no member named `device'
drivers/infiniband/core/cm.c: In function `ib_destroy_cm_id':
drivers/infiniband/core/cm.c:731: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c:739: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c:749: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c:764: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c: At top level:
drivers/infiniband/core/cm.c:790: error: conflicting types for 'ib_cm_listen'
include/rdma/ib_cm.h:334: error: previous declaration of 'ib_cm_listen' was here
drivers/infiniband/core/cm.c:790: error: conflicting types for 'ib_cm_listen'
include/rdma/ib_cm.h:334: error: previous declaration of 'ib_cm_listen' was here
drivers/infiniband/core/cm.c: In function `ib_cm_listen':
drivers/infiniband/core/cm.c:807: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:811: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:812: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:812: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:813: error:
`IB_CM_PRIVATE_DATA_COMPARE_SIZE' undeclared (first use in this
function)
drivers/infiniband/core/cm.c:813: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:813: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:813: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c:813: error: dereferencing pointer to
incomplete type
drivers/infiniband/core/cm.c: In function `ib_send_cm_req':
drivers/infiniband/core/cm.c:1003: error: structure has no member
named `timeout_ms'
drivers/infiniband/core/cm.c:1012: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1012: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_issue_rej':
drivers/infiniband/core/cm.c:1057: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1057: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_dup_req_handler':
drivers/infiniband/core/cm.c:1265: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1265: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_match_req':
drivers/infiniband/core/cm.c:1305: error: structure has no member named `device'
drivers/infiniband/core/cm.c: In function `ib_send_cm_rep':
drivers/infiniband/core/cm.c:1452: error: structure has no member
named `timeout_ms'
drivers/infiniband/core/cm.c:1455: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1455: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `ib_send_cm_rtu':
drivers/infiniband/core/cm.c:1519: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1519: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_dup_rep_handler':
drivers/infiniband/core/cm.c:1591: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1591: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_rep_handler':
drivers/infiniband/core/cm.c:1659: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `cm_establish_handler':
drivers/infiniband/core/cm.c:1693: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `cm_rtu_handler':
drivers/infiniband/core/cm.c:1732: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_dreq':
drivers/infiniband/core/cm.c:1790: error: structure has no member
named `timeout_ms'
drivers/infiniband/core/cm.c:1793: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1793: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `ib_send_cm_drep':
drivers/infiniband/core/cm.c:1856: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1856: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_dreq_handler':
drivers/infiniband/core/cm.c:1891: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c:1905: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1905: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_drep_handler':
drivers/infiniband/core/cm.c:1952: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_rej':
drivers/infiniband/core/cm.c:2020: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2020: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_rej_handler':
drivers/infiniband/core/cm.c:2096: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c:2106: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_mra':
drivers/infiniband/core/cm.c:2164: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2164: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c:2177: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2177: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c:2190: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2190: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_mra_handler':
drivers/infiniband/core/cm.c:2252: warning: passing arg 2 of
`ib_modify_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c:2259: warning: passing arg 2 of
`ib_modify_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c:2267: warning: passing arg 2 of
`ib_modify_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_lap':
drivers/infiniband/core/cm.c:2350: error: structure has no member
named `timeout_ms'
drivers/infiniband/core/cm.c:2353: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2353: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_lap_handler':
drivers/infiniband/core/cm.c:2430: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2430: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `ib_send_cm_apr':
drivers/infiniband/core/cm.c:2508: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2508: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_apr_handler':
drivers/infiniband/core/cm.c:2547: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `ib_send_cm_sidr_req':
drivers/infiniband/core/cm.c:2644: error: structure has no member
named `timeout_ms'
drivers/infiniband/core/cm.c:2649: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2649: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_sidr_req_handler':
drivers/infiniband/core/cm.c:2713: error: structure has no member named `device'
drivers/infiniband/core/cm.c: In function `ib_send_cm_sidr_rep':
drivers/infiniband/core/cm.c:2785: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2785: error: too few arguments to
function `ib_post_send_mad'
drivers/infiniband/core/cm.c: In function `cm_sidr_rep_handler':
drivers/infiniband/core/cm.c:2838: warning: passing arg 2 of
`ib_cancel_mad' makes integer from pointer without a cast
drivers/infiniband/core/cm.c: In function `cm_send_handler':
drivers/infiniband/core/cm.c:2906: error: structure has no member
named `send_buf'
make[3]: *** [drivers/infiniband/core/cm.o] Error 1
make[2]: *** [drivers/infiniband/core] Error 2
make[1]: *** [drivers/infiniband] Error 2
make: *** [drivers] Error 2


What is the issue??



More information about the general mailing list