[ofa-general] kdapl build error on ppc64

snagai at jp.ibm.com snagai at jp.ibm.com
Mon Sep 3 07:31:27 PDT 2007


I have trouble with building kdapl module on ppc64 machine. I saw a lot of error messages during building it using any version of dapl source code downloaded from sourceforge (http://sourceforge.net/projects/dapl). 
I tried to build the module on both RHEL5 and Fedora Core6 using kernel 2.6.20, gcc 4.1.1.

Did anyone succeed to build kdapl module on ppc64 machine ? If anyone has an idea about this issue, please advise me. 

<error message>
--------------------------------------------------------------------------
In file included from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:76,
                 from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:44:
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:44:24: error: vapi_types.h: No such file or directory
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:45:18: error: vapi.h: No such file or directory
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:46:19: error: evapi.h: No such file or directory
In file included from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:76,
                 from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:44:
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_hca_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_cq_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_kcq_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_qp_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_pd_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_mr_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_mw_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_qp_state_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_hca_name_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_error_record_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_work_completion_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_notification_type_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_async_handler_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_comp_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_data_segment_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_async_event_type’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_bool_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:100: error: expected specifier-qualifier-list before ‘ib_cq_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:125: error: expected specifier-qualifier-list before ‘ib_mr_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:130: error: expected ‘)’ before ‘*’ token
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:133: error: expected ‘)’ before ‘*’ token
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:136: error: expected ‘)’ before ‘*’ token
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:140: error: expected specifier-qualifier-list before ‘ib_bool_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h: In function ‘dapl_ib_status_convert’:
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:195: error: ‘VAPI_OK’ undeclared (first use in this function)
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:195: error: (Each undeclared identifier is reported only once
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:195: error: for each function it appears in.)
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:199: error: ‘VAPI_EAGAIN’ undeclared (first use in this function)
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:200: error: ‘VAPI_EBUSY’ undeclared (first use in this function)
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:204: error: ‘VAPI_ENOMEM’ undeclared (first use in this function)
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:208: error: ‘VAPI_EINVAL_CQ_HNDL’ undeclared (first use in this function)
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:209: error: ‘VAPI_EINVAL_HCA_HNDL’ undeclared (first use in this function)
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:213: error: ‘VAPI_CQ_EMPTY’ undeclared (first use in this function)
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:217: error: ‘VAPI_ETIMEOUT’ undeclared (first use in this function)
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:221: error: ‘VAPI_EINTR’ undeclared (first use in this function)
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h: At top level:
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:238: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dapls_modify_qp_state_to_init’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:243: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dapls_modify_qp_state_to_error’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_util.h:247: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dapls_modify_qp_state_to_reset’
In file included from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:77,
                 from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:44:
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm.h:61:29: error: ts_ib_sa_client.h: No such file or directory
In file included from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm.h:62,
                 from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:77,
                 from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:44:
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:36:59: error: ts_ib_useraccess_cm.h: No such file or directory
In file included from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm.h:62,
                 from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:77,
                 from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:44:
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:39: error: expected ‘)’ before ‘comm_id’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:41: error: expected ‘)’ before ‘comm_id’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:46: error: expected ‘)’ before ‘comm_id’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:48: error: expected ‘)’ before ‘comm_id’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:51: error: expected ‘)’ before ‘listen_handle’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:54: error: expected ‘)’ before ‘service_id’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:62: error: expected ‘)’ before ‘hca_handle’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:76: error: expected ‘)’ before ‘comm_id’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:80: error: expected ‘)’ before ‘hca_handle’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm_util.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_cm_vapi_service_assign’
In file included from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:77,
                 from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:44:
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_cm_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ib_cm_srvc_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm.h:102: error: expected ‘)’ before ‘consumer_qp’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../openib_gen_one/dapl_openib_cm.h:108: error: expected ‘)’ before ‘consumer_qp’
In file included from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:44:
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:192:5: warning: "NDEBUG" is not defined
In file included from /home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:44:
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:283: error: expected specifier-qualifier-list before ‘ib_hca_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:359: error: expected specifier-qualifier-list before ‘ib_cq_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:443: error: expected specifier-qualifier-list before ‘ib_qp_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:496: error: expected specifier-qualifier-list before ‘ib_pd_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:505: error: expected specifier-qualifier-list before ‘ib_mr_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:521: error: expected specifier-qualifier-list before ‘ib_mw_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:548: error: expected specifier-qualifier-list before ‘ib_cm_srvc_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/../include/dapl.h:565: error: expected specifier-qualifier-list before ‘ib_cm_handle_t’
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:54: error: expected ‘)’ before string constant
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:58: error: expected ‘)’ before string constant
/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.c:61: error: expected ‘)’ before string constant
make[4]: *** [/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl/dapl_module.o] Error 1
make[3]: *** [_module_/home/user/archives/ppc64/dapl-RHEL5/dapl_gamma3.2/dapl/kdapl] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make: *** [all] Error 2

--------------------------------------------------------------------------


--
This message was sent on behalf of snagai at jp.ibm.com at openSubscriber.com
http://www.opensubscriber.com/messages/openib-general@openib.org/topic.html



More information about the general mailing list