[openib-general] error compiling kernel...

Denis Pilon dpilon at gmail.com
Fri Nov 4 13:11:41 PST 2005


I am trying to compile but keep getting errors...

linux-2.6.14(vanilla) plus latest svn release 3972.


LD drivers/infiniband/built-in.o
LD drivers/infiniband/core/built-in.o
CC [M] drivers/infiniband/core/addr.o
CC [M] drivers/infiniband/core/at.o
CC [M] drivers/infiniband/core/cm.o
drivers/infiniband/core/cm.c: In function `cm_alloc_msg':
drivers/infiniband/core/cm.c:179: error: `IB_MGMT_MAD_HDR' undeclared (first
use in this function)
drivers/infiniband/core/cm.c:179: error: (Each undeclared identifier is
reported only once
drivers/infiniband/core/cm.c:179: error: for each function it appears in.)
drivers/infiniband/core/cm.c:180: error: too few arguments to function
`ib_create_send_mad'
drivers/infiniband/core/cm.c:187: error: structure has no member named `ah'
drivers/infiniband/core/cm.c:188: error: structure has no member named
`retries'
drivers/infiniband/core/cm.c: In function `cm_alloc_response_msg':
drivers/infiniband/core/cm.c:209: error: `IB_MGMT_MAD_HDR' undeclared (first
use in this function)
drivers/infiniband/core/cm.c:210: error: too few arguments to function
`ib_create_send_mad'
drivers/infiniband/core/cm.c:215: error: structure has no member named `ah'
drivers/infiniband/core/cm.c: In function `cm_free_msg':
drivers/infiniband/core/cm.c:222: error: structure has no member named `ah'
drivers/infiniband/core/cm.c: In function `cm_insert_listen':
drivers/infiniband/core/cm.c:371: error: structure has no member named
`device'
drivers/infiniband/core/cm.c:371: error: structure has no member named
`device'
drivers/infiniband/core/cm.c:374: error: structure has no member named
`device'
drivers/infiniband/core/cm.c:374: error: structure has no member named
`device'
drivers/infiniband/core/cm.c:376: error: structure has no member named
`device'
drivers/infiniband/core/cm.c:376: error: structure has no member named
`device'
drivers/infiniband/core/cm.c: In function `cm_find_listen':
drivers/infiniband/core/cm.c:398: error: structure has no member named
`device'
drivers/infiniband/core/cm.c:401: error: structure has no member named
`device'
drivers/infiniband/core/cm.c:403: error: structure has no member named
`device'
drivers/infiniband/core/cm.c: At top level:
drivers/infiniband/core/cm.c:543: 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:543: 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:552: error: structure has no member named
`device'
drivers/infiniband/core/cm.c: In function `ib_destroy_cm_id':
drivers/infiniband/core/cm.c:679: warning: passing arg 2 of `ib_cancel_mad'
makes integer from pointer without a cast
drivers/infiniband/core/cm.c:690: warning: passing arg 2 of `ib_cancel_mad'
makes integer from pointer without a cast
drivers/infiniband/core/cm.c:707: 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_req':
drivers/infiniband/core/cm.c:933: error: structure has no member named
`timeout_ms'
drivers/infiniband/core/cm.c:942: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:942: 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:987: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:987: 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:1195: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1195: 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:1235: error: structure has no member named
`device'
drivers/infiniband/core/cm.c: In function `ib_send_cm_rep':
drivers/infiniband/core/cm.c:1381: error: structure has no member named
`timeout_ms'
drivers/infiniband/core/cm.c:1384: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1384: 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:1448: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1448: 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:1520: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1520: 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:1588: 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:1622: 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:1661: 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:1719: error: structure has no member named
`timeout_ms'
drivers/infiniband/core/cm.c:1722: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1722: 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:1785: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1785: 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:1820: warning: passing arg 2 of `ib_cancel_mad'
makes integer from pointer without a cast
drivers/infiniband/core/cm.c:1834: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1834: 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:1881: 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:1949: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:1949: 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:2025: warning: passing arg 2 of `ib_cancel_mad'
makes integer from pointer without a cast
drivers/infiniband/core/cm.c:2035: 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:2093: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2093: error: too few arguments to function
`ib_post_send_mad'
drivers/infiniband/core/cm.c:2106: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2106: error: too few arguments to function
`ib_post_send_mad'
drivers/infiniband/core/cm.c:2119: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2119: 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:2181: warning: passing arg 2 of `ib_modify_mad'
makes integer from pointer without a cast
drivers/infiniband/core/cm.c:2188: warning: passing arg 2 of `ib_modify_mad'
makes integer from pointer without a cast
drivers/infiniband/core/cm.c:2196: 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:2279: error: structure has no member named
`timeout_ms'
drivers/infiniband/core/cm.c:2282: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2282: 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:2359: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2359: 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:2437: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2437: 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:2476: 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:2573: error: structure has no member named
`timeout_ms'
drivers/infiniband/core/cm.c:2578: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2578: 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:2642: error: structure has no member named
`device'
drivers/infiniband/core/cm.c: In function `ib_send_cm_sidr_rep':
drivers/infiniband/core/cm.c:2713: warning: passing arg 1 of
`ib_post_send_mad' from incompatible pointer type
drivers/infiniband/core/cm.c:2713: 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:2766: 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:2834: 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


Am i missing something ?

DP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20051104/44a9c3a1/attachment.html>


More information about the general mailing list