[openib-general] osm build errors gen1

Joe Damato damato at psc.edu
Thu Aug 11 12:44:43 PDT 2005


Hello -
   
    Sorry for the long email (lots of build errors).

    I am attempting to build osm as part of gen1 to allow me to test 
some openib gen1 code and compare to an openib gen2 port that I have 
been working on.

    When attempting to build osm in gen1 some build errors occur, it 
seems that the file osm_db.h and osm_db_pack.h are included but do not 
exist in the source tree...

    I am using openib-3022 (but from a quick glance at the newest 
revision, these files appear to be missing)...
   
    [root at frodo osm]# pwd
    /cluster/src/OPENIB_SRC/openib-3022/gen1/trunk/src/userspace/osm
    [root at frodo osm]# grep -R -H -n "osm_db.h" .
    ./opensm/osm_lid_mgr.h:97:#include "osm_db.h"
    ./opensm/osm_opensm.h:98:#include "osm_db.h"
    ./opensm/osm_sm.h:125:#include "osm_db.h"
    [root at frodo osm]# grep -R -H -n "osm_db_pack.h" .
    ./opensm/osm_lid_mgr.c:137:#include "osm_db_pack.h"


    snippet of build errors is below.

    Maybe I'm just supposed to use the OpenSM from gen2 with the gen1 stack?

Thanks,
Joe Damato


--------------------------------------------------------------------------------
 
cc -Wall  -Wimplicit -Wreturn-type -Wformat  -pipe -fno-strength-reduce  
-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG -g -O0 
-I/cluster/src/OPENIB_SRC/gen1_wtf/gen1/trunk/src/userspace/osm 
-I/cluster/src/OPENIB_SRC/gen1_wtf/gen1/trunk/src/userspace/osm/include 
-I. -I/include -I -I/ib/ts_api_ng/useraccess/include 
-DOSM_VENDOR_INTF_TS -DVENDOR_RMPP_SUPPORT=1 -Werror -DLINUX -DLINUX  
-fpic -c -o main.o main.c
In file included from osm_state_mgr.h:95,
                 from osm_node_info_rcv.h:100,
                 from osm_node_info_rcv_ctrl.h:97,
                 from osm_sm.h:104,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_lid_mgr.h:97:20: osm_db.h: No such file or directory
In file included from osm_state_mgr.h:95,
                 from osm_node_info_rcv.h:100,
                 from osm_node_info_rcv_ctrl.h:97,
                 from osm_sm.h:104,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_lid_mgr.h:134: error: syntax error before "osm_db_t"
osm_lid_mgr.h:134: warning: no semicolon at end of struct or union
osm_lid_mgr.h:139: error: syntax error before '*' token
osm_lid_mgr.h:139: warning: type defaults to `int' in declaration of `p_g2l'
osm_lid_mgr.h:139: warning: data definition has no type or storage class
osm_lid_mgr.h:142: error: syntax error before '}' token
osm_lid_mgr.h:142: warning: type defaults to `int' in declaration of 
`osm_lid_mgr_t'
osm_lid_mgr.h:142: warning: data definition has no type or storage class
osm_lid_mgr.h:188: error: syntax error before '*' token
osm_lid_mgr.h:220: error: syntax error before '*' token
osm_lid_mgr.h:253: error: syntax error before '*' token
osm_lid_mgr.h:299: error: syntax error before '*' token
osm_lid_mgr.h:329: error: syntax error before '*' token
In file included from osm_node_info_rcv.h:100,
                 from osm_node_info_rcv_ctrl.h:97,
                 from osm_sm.h:104,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_state_mgr.h:138: error: syntax error before "osm_lid_mgr_t"
osm_state_mgr.h:138: warning: no semicolon at end of struct or union
osm_state_mgr.h:156: error: syntax error before '}' token
osm_state_mgr.h:156: warning: type defaults to `int' in declaration of 
`osm_state_mgr_t'
osm_state_mgr.h:156: warning: data definition has no type or storage class
osm_state_mgr.h:282: error: syntax error before '*' token
osm_state_mgr.h:333: error: syntax error before '*' token
osm_state_mgr.h:365: error: syntax error before '*' token
osm_state_mgr.h:398: error: syntax error before '*' token
osm_state_mgr.h:480: error: syntax error before '*' token
In file included from osm_node_info_rcv_ctrl.h:97,
                 from osm_sm.h:104,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_node_info_rcv.h:137: error: syntax error before "osm_state_mgr_t"
osm_node_info_rcv.h:137: warning: no semicolon at end of struct or union
osm_node_info_rcv.h:140: error: syntax error before '}' token
osm_node_info_rcv.h:140: warning: type defaults to `int' in declaration 
of `osm_ni_rcv_t'
osm_node_info_rcv.h:140: warning: data definition has no type or storage 
class
osm_node_info_rcv.h:172: error: syntax error before '*' token
osm_node_info_rcv.h:204: error: syntax error before '*' token
osm_node_info_rcv.h:236: error: syntax error before '*' token
osm_node_info_rcv.h:284: warning: type defaults to `int' in declaration 
of `osm_ni_rcv_t'
osm_node_info_rcv.h:284: error: syntax error before '*' token
osm_node_info_rcv.h:313: warning: type defaults to `int' in declaration 
of `osm_ni_rcv_t'
osm_node_info_rcv.h:313: error: syntax error before '*' token
In file included from osm_sm.h:104,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_node_info_rcv_ctrl.h:131: error: syntax error before "osm_ni_rcv_t"
osm_node_info_rcv_ctrl.h:131: warning: no semicolon at end of struct or 
union
osm_node_info_rcv_ctrl.h:136: error: syntax error before '}' token
osm_node_info_rcv_ctrl.h:136: warning: type defaults to `int' in 
declaration of `osm_ni_rcv_ctrl_t'
osm_node_info_rcv_ctrl.h:136: warning: data definition has no type or 
storage class
osm_node_info_rcv_ctrl.h:166: error: syntax error before '*' token
osm_node_info_rcv_ctrl.h:199: error: syntax error before '*' token
osm_node_info_rcv_ctrl.h:231: error: syntax error before '*' token
osm_node_info_rcv_ctrl.h:271: warning: type defaults to `int' in 
declaration of `osm_ni_rcv_ctrl_t'
osm_node_info_rcv_ctrl.h:271: error: syntax error before '*' token
In file included from osm_port_info_rcv_ctrl.h:97,
                 from osm_sm.h:105,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_port_info_rcv.h:136: error: syntax error before "osm_state_mgr_t"
osm_port_info_rcv.h:136: warning: no semicolon at end of struct or union
osm_port_info_rcv.h:139: error: syntax error before '}' token
osm_port_info_rcv.h:139: warning: type defaults to `int' in declaration 
of `osm_pi_rcv_t'
osm_port_info_rcv.h:139: warning: data definition has no type or storage 
class
osm_port_info_rcv.h:171: error: syntax error before '*' token
osm_port_info_rcv.h:202: error: syntax error before '*' token
osm_port_info_rcv.h:234: error: syntax error before '*' token
osm_port_info_rcv.h:282: warning: type defaults to `int' in declaration 
of `osm_pi_rcv_t'
osm_port_info_rcv.h:282: error: syntax error before '*' token
In file included from osm_sm.h:105,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_port_info_rcv_ctrl.h:130: error: syntax error before "osm_pi_rcv_t"
osm_port_info_rcv_ctrl.h:130: warning: no semicolon at end of struct or 
union
osm_port_info_rcv_ctrl.h:135: error: syntax error before '}' token
osm_port_info_rcv_ctrl.h:135: warning: type defaults to `int' in 
declaration of `osm_pi_rcv_ctrl_t'
osm_port_info_rcv_ctrl.h:135: warning: data definition has no type or 
storage class
osm_port_info_rcv_ctrl.h:165: error: syntax error before '*' token
osm_port_info_rcv_ctrl.h:198: error: syntax error before '*' token
osm_port_info_rcv_ctrl.h:230: error: syntax error before '*' token
osm_port_info_rcv_ctrl.h:270: warning: type defaults to `int' in 
declaration of `osm_pi_rcv_ctrl_t'
osm_port_info_rcv_ctrl.h:270: error: syntax error before '*' token
In file included from osm_sw_info_rcv_ctrl.h:96,
                 from osm_sm.h:106,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_sw_info_rcv.h:135: error: syntax error before "osm_state_mgr_t"
osm_sw_info_rcv.h:135: warning: no semicolon at end of struct or union
osm_sw_info_rcv.h:138: error: syntax error before '}' token
osm_sw_info_rcv.h:138: warning: type defaults to `int' in declaration of 
`osm_si_rcv_t'
osm_sw_info_rcv.h:138: warning: data definition has no type or storage class
osm_sw_info_rcv.h:170: error: syntax error before '*' token
osm_sw_info_rcv.h:202: error: syntax error before '*' token
osm_sw_info_rcv.h:234: error: syntax error before '*' token
osm_sw_info_rcv.h:282: warning: type defaults to `int' in declaration of 
`osm_si_rcv_t'
osm_sw_info_rcv.h:282: error: syntax error before '*' token
osm_sw_info_rcv.h:311: warning: type defaults to `int' in declaration of 
`osm_si_rcv_t'
osm_sw_info_rcv.h:311: error: syntax error before '*' token
In file included from osm_sm.h:106,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_sw_info_rcv_ctrl.h:131: error: syntax error before "osm_si_rcv_t"
osm_sw_info_rcv_ctrl.h:131: warning: no semicolon at end of struct or union
osm_sw_info_rcv_ctrl.h:136: error: syntax error before '}' token
osm_sw_info_rcv_ctrl.h:136: warning: type defaults to `int' in 
declaration of `osm_si_rcv_ctrl_t'
osm_sw_info_rcv_ctrl.h:136: warning: data definition has no type or 
storage class
osm_sw_info_rcv_ctrl.h:166: error: syntax error before '*' token
osm_sw_info_rcv_ctrl.h:199: error: syntax error before '*' token
osm_sw_info_rcv_ctrl.h:231: error: syntax error before '*' token
osm_sw_info_rcv_ctrl.h:271: warning: type defaults to `int' in 
declaration of `osm_si_rcv_ctrl_t'
osm_sw_info_rcv_ctrl.h:271: error: syntax error before '*' token
In file included from osm_sm.h:109,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_state_mgr_ctrl.h:129: error: syntax error before "osm_state_mgr_t"
osm_state_mgr_ctrl.h:129: warning: no semicolon at end of struct or union
osm_state_mgr_ctrl.h:134: error: syntax error before '}' token
osm_state_mgr_ctrl.h:134: warning: type defaults to `int' in declaration 
of `osm_state_mgr_ctrl_t'
osm_state_mgr_ctrl.h:134: warning: data definition has no type or 
storage class
osm_state_mgr_ctrl.h:164: error: syntax error before '*' token
osm_state_mgr_ctrl.h:198: error: syntax error before '*' token
osm_state_mgr_ctrl.h:231: error: syntax error before '*' token
In file included from osm_sm.h:116,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_sweep_fail_ctrl.h:133: error: syntax error before "osm_state_mgr_t"
osm_sweep_fail_ctrl.h:133: warning: no semicolon at end of struct or union
osm_sweep_fail_ctrl.h:138: error: syntax error before '}' token
osm_sweep_fail_ctrl.h:138: warning: type defaults to `int' in 
declaration of `osm_sweep_fail_ctrl_t'
osm_sweep_fail_ctrl.h:138: warning: data definition has no type or 
storage class
osm_sweep_fail_ctrl.h:169: error: syntax error before '*' token
osm_sweep_fail_ctrl.h:202: error: syntax error before '*' token
osm_sweep_fail_ctrl.h:235: error: syntax error before '*' token
In file included from osm_sminfo_rcv_ctrl.h:95,
                 from osm_sm.h:117,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_sminfo_rcv.h:137: error: syntax error before "osm_state_mgr_t"
osm_sminfo_rcv.h:137: warning: no semicolon at end of struct or union
osm_sminfo_rcv.h:141: error: syntax error before '}' token
osm_sminfo_rcv.h:141: warning: type defaults to `int' in declaration of 
`osm_sminfo_rcv_t'
osm_sminfo_rcv.h:141: warning: data definition has no type or storage class
osm_sminfo_rcv.h:179: error: syntax error before '*' token
osm_sminfo_rcv.h:210: error: syntax error before '*' token
osm_sminfo_rcv.h:242: error: syntax error before '*' token
osm_sminfo_rcv.h:298: warning: type defaults to `int' in declaration of 
`osm_sminfo_rcv_t'
osm_sminfo_rcv.h:298: error: syntax error before '*' token
In file included from osm_sm.h:117,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_sminfo_rcv_ctrl.h:129: error: syntax error before "osm_sminfo_rcv_t"
osm_sminfo_rcv_ctrl.h:129: warning: no semicolon at end of struct or union
osm_sminfo_rcv_ctrl.h:134: error: syntax error before '}' token
osm_sminfo_rcv_ctrl.h:134: warning: type defaults to `int' in 
declaration of `osm_sminfo_rcv_ctrl_t'
osm_sminfo_rcv_ctrl.h:134: warning: data definition has no type or 
storage class
osm_sminfo_rcv_ctrl.h:164: error: syntax error before '*' token
osm_sminfo_rcv_ctrl.h:196: error: syntax error before '*' token
osm_sminfo_rcv_ctrl.h:229: error: syntax error before '*' token
In file included from osm_trap_rcv_ctrl.h:95,
                 from osm_sm.h:118,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_trap_rcv.h:137: error: syntax error before "osm_state_mgr_t"
osm_trap_rcv.h:137: warning: no semicolon at end of struct or union
osm_trap_rcv.h:140: error: syntax error before '}' token
osm_trap_rcv.h:140: warning: type defaults to `int' in declaration of 
`osm_trap_rcv_t'
osm_trap_rcv.h:140: warning: data definition has no type or storage class
osm_trap_rcv.h:180: error: syntax error before '*' token
osm_trap_rcv.h:211: error: syntax error before '*' token
osm_trap_rcv.h:243: error: syntax error before '*' token
osm_trap_rcv.h:295: error: syntax error before '*' token
In file included from osm_sm.h:118,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_trap_rcv_ctrl.h:129: error: syntax error before "osm_trap_rcv_t"
osm_trap_rcv_ctrl.h:129: warning: no semicolon at end of struct or union
osm_trap_rcv_ctrl.h:134: error: syntax error before '}' token
osm_trap_rcv_ctrl.h:134: warning: type defaults to `int' in declaration 
of `osm_trap_rcv_ctrl_t'
osm_trap_rcv_ctrl.h:134: warning: data definition has no type or storage 
class
osm_trap_rcv_ctrl.h:164: error: syntax error before '*' token
osm_trap_rcv_ctrl.h:196: error: syntax error before '*' token
osm_trap_rcv_ctrl.h:229: error: syntax error before '*' token
In file included from osm_sm.h:119,
                 from osm_opensm.h:96,
                 from main.c:93:
osm_sm_state_mgr.h:141: error: syntax error before "osm_state_mgr_t"
osm_sm_state_mgr.h:141: warning: no semicolon at end of struct or union
osm_sm_state_mgr.h:146: error: syntax error before '}' token
osm_sm_state_mgr.h:146: warning: type defaults to `int' in declaration 
of `osm_sm_state_mgr_t'
osm_sm_state_mgr.h:146: warning: data definition has no type or storage 
class
osm_sm_state_mgr.h:191: error: syntax error before '*' token
osm_sm_state_mgr.h:223: error: syntax error before '*' token
osm_sm_state_mgr.h:256: error: syntax error before '*' token
osm_sm_state_mgr.h:302: error: syntax error before '*' token
osm_sm_state_mgr.h:334: error: syntax error before '*' token
osm_sm_state_mgr.h:361: error: syntax error before '*' token
In file included from osm_opensm.h:96,
                 from main.c:93:
osm_sm.h:166: error: syntax error before "osm_db_t"
osm_sm.h:166: warning: no semicolon at end of struct or union
osm_sm.h:177: error: syntax error before "ni_rcv"
osm_sm.h:177: warning: type defaults to `int' in declaration of `ni_rcv'
osm_sm.h:177: warning: data definition has no type or storage class
osm_sm.h:178: error: syntax error before "ni_rcv_ctrl"
osm_sm.h:178: warning: type defaults to `int' in declaration of 
`ni_rcv_ctrl'
osm_sm.h:178: warning: data definition has no type or storage class
osm_sm.h:179: error: syntax error before "pi_rcv"
osm_sm.h:179: warning: type defaults to `int' in declaration of `pi_rcv'
osm_sm.h:179: warning: data definition has no type or storage class
osm_sm.h:180: error: syntax error before "pi_rcv_ctrl"
osm_sm.h:180: warning: type defaults to `int' in declaration of 
`pi_rcv_ctrl'
osm_sm.h:180: warning: data definition has no type or storage class
osm_sm.h:184: error: syntax error before "si_rcv"
osm_sm.h:184: warning: type defaults to `int' in declaration of `si_rcv'
osm_sm.h:184: warning: data definition has no type or storage class
osm_sm.h:185: error: syntax error before "si_rcv_ctrl"
osm_sm.h:185: warning: type defaults to `int' in declaration of 
`si_rcv_ctrl'
osm_sm.h:185: warning: data definition has no type or storage class
osm_sm.h:186: error: syntax error before "state_mgr_ctrl"
osm_sm.h:186: warning: type defaults to `int' in declaration of 
`state_mgr_ctrl'
osm_sm.h:186: warning: data definition has no type or storage class
osm_sm.h:187: error: syntax error before "lid_mgr"
osm_sm.h:187: warning: type defaults to `int' in declaration of `lid_mgr'
osm_sm.h:187: warning: data definition has no type or storage class
osm_sm.h:190: error: syntax error before "state_mgr"
osm_sm.h:190: warning: type defaults to `int' in declaration of `state_mgr'
osm_sm.h:190: warning: data definition has no type or storage class
osm_sm.h:196: error: syntax error before "sweep_fail_ctrl"
osm_sm.h:196: warning: type defaults to `int' in declaration of 
`sweep_fail_ctrl'
osm_sm.h:196: warning: data definition has no type or storage class
osm_sm.h:197: error: syntax error before "sm_info_rcv"
osm_sm.h:197: warning: type defaults to `int' in declaration of 
`sm_info_rcv'
osm_sm.h:197: warning: data definition has no type or storage class
osm_sm.h:198: error: syntax error before "sm_info_rcv_ctrl"
osm_sm.h:198: warning: type defaults to `int' in declaration of 
`sm_info_rcv_ctrl'
osm_sm.h:198: warning: data definition has no type or storage class
osm_sm.h:199: error: syntax error before "trap_rcv"
osm_sm.h:199: warning: type defaults to `int' in declaration of `trap_rcv'
osm_sm.h:199: warning: data definition has no type or storage class
osm_sm.h:200: error: syntax error before "trap_rcv_ctrl"
osm_sm.h:200: warning: type defaults to `int' in declaration of 
`trap_rcv_ctrl'
osm_sm.h:200: warning: data definition has no type or storage class
osm_sm.h:201: error: syntax error before "sm_state_mgr"
osm_sm.h:201: warning: type defaults to `int' in declaration of 
`sm_state_mgr'
osm_sm.h:201: warning: data definition has no type or storage class
osm_sm.h:211: error: syntax error before '}' token
osm_sm.h:211: warning: type defaults to `int' in declaration of `osm_sm_t'
osm_sm.h:211: warning: data definition has no type or storage class
osm_sm.h:283: error: syntax error before '*' token
osm_sm.h:314: error: syntax error before '*' token
osm_sm.h:344: error: syntax error before '*' token
osm_sm.h:404: error: syntax error before '*' token
osm_sm.h:430: error: syntax error before '*' token
osm_sm.h:464: error: syntax error before '*' token
osm_sm.h:504: error: syntax error before '*' token
osm_sm.h:537: error: syntax error before '*' token
osm_sm.h: In function `osm_sm_wait_for_subnet_up':
osm_sm.h:541: error: `p_sm' undeclared (first use in this function)
osm_sm.h:541: error: (Each undeclared identifier is reported only once
osm_sm.h:541: error: for each function it appears in.)
osm_sm.h:542: error: `wait_us' undeclared (first use in this function)
osm_sm.h:542: error: `interruptible' undeclared (first use in this function)
In file included from osm_sa_mcmember_record_ctrl.h:97,
                 from osm_sa.h:108,
                 from osm_opensm.h:97,
                 from main.c:93:
osm_sa_mcmember_record.h: At top level:
osm_sa_mcmember_record.h:138: error: syntax error before "osm_sm_t"
osm_sa_mcmember_record.h:138: warning: no semicolon at end of struct or 
union
osm_sa_mcmember_record.h:145: error: syntax error before '}' token
osm_sa_mcmember_record.h:145: warning: type defaults to `int' in 
declaration of `osm_mcmr_recv_t'
osm_sa_mcmember_record.h:145: warning: data definition has no type or 
storage class
osm_sa_mcmember_record.h:176: error: syntax error before '*' token
osm_sa_mcmember_record.h:207: error: syntax error before '*' token
osm_sa_mcmember_record.h:239: error: syntax error before '*' token
osm_sa_mcmember_record.h:287: error: syntax error before '*' token
osm_sa_mcmember_record.h:322: error: syntax error before '*' token
In file included from osm_sa.h:108,
                 from osm_opensm.h:97,
                 from main.c:93:
osm_sa_mcmember_record_ctrl.h:131: error: syntax error before 
"osm_mcmr_recv_t"
osm_sa_mcmember_record_ctrl.h:131: warning: no semicolon at end of 
struct or union
osm_sa_mcmember_record_ctrl.h:136: error: syntax error before '}' token
osm_sa_mcmember_record_ctrl.h:136: warning: type defaults to `int' in 
declaration of `osm_mcmr_rcv_ctrl_t'
osm_sa_mcmember_record_ctrl.h:136: warning: data definition has no type 
or storage class
osm_sa_mcmember_record_ctrl.h:166: error: syntax error before '*' token
osm_sa_mcmember_record_ctrl.h:199: error: syntax error before '*' token
osm_sa_mcmember_record_ctrl.h:231: error: syntax error before '*' token
osm_sa_mcmember_record_ctrl.h:271: warning: type defaults to `int' in 
declaration of `osm_mcmr_rcv_ctrl_t'
osm_sa_mcmember_record_ctrl.h:271: error: syntax error before '*' token
In file included from osm_opensm.h:97,
                 from main.c:93:
osm_sa.h:191: error: syntax error before "osm_mcmr_recv_t"
osm_sa.h:191: warning: no semicolon at end of struct or union
osm_sa.h:192: warning: type defaults to `int' in declaration of 
`mcmr_rcv_ctlr'
osm_sa.h:192: warning: data definition has no type or storage class
osm_sa.h:216: error: syntax error before '}' token
osm_sa.h:216: warning: type defaults to `int' in declaration of `osm_sa_t'
osm_sa.h:216: warning: data definition has no type or storage class
osm_sa.h:282: error: syntax error before '*' token
osm_sa.h:312: error: syntax error before '*' token
osm_sa.h:341: error: syntax error before '*' token
osm_sa.h:397: warning: type defaults to `int' in declaration of `osm_sa_t'
osm_sa.h:397: error: syntax error before '*' token
osm_sa.h:426: error: syntax error before '*' token
osm_sa.h:460: error: syntax error before '*' token
osm_sa.h:494: error: syntax error before '*' token
In file included from main.c:93:
osm_opensm.h:137: error: syntax error before "osm_sm_t"
osm_opensm.h:137: warning: no semicolon at end of struct or union
osm_opensm.h:138: warning: type defaults to `int' in declaration of `sa'
osm_opensm.h:138: warning: data definition has no type or storage class
osm_opensm.h:139: error: syntax error before "db"
osm_opensm.h:139: warning: type defaults to `int' in declaration of `db'
osm_opensm.h:139: warning: data definition has no type or storage class
osm_opensm.h:143: warning: built-in function 'log' declared as non-function
osm_opensm.h:148: error: syntax error before '}' token
osm_opensm.h:148: warning: type defaults to `int' in declaration of 
`osm_opensm_t'
osm_opensm.h:148: warning: data definition has no type or storage class
osm_opensm.h:199: error: syntax error before '*' token
osm_opensm.h:229: error: syntax error before '*' token
osm_opensm.h:259: error: syntax error before '*' token
osm_opensm.h:290: error: syntax error before '*' token
osm_opensm.h: In function `osm_opensm_sweep':
osm_opensm.h:292: error: `p_osm' undeclared (first use in this function)
osm_opensm.h: At top level:
osm_opensm.h:321: error: syntax error before '*' token
osm_opensm.h: In function `osm_opensm_set_log_flags':
osm_opensm.h:324: error: `p_osm' undeclared (first use in this function)
osm_opensm.h:324: error: `log_flags' undeclared (first use in this function)
osm_opensm.h: At top level:
osm_opensm.h:353: error: syntax error before '*' token
osm_opensm.h:383: error: syntax error before '*' token
osm_opensm.h: In function `osm_opensm_wait_for_subnet_up':
osm_opensm.h:387: error: `p_osm' undeclared (first use in this function)
osm_opensm.h:387: error: `wait_us' undeclared (first use in this function)
osm_opensm.h:387: error: `interruptible' undeclared (first use in this 
function)
main.c: At top level:
main.c:108: error: syntax error before "osm"
main.c:108: warning: type defaults to `int' in declaration of `osm'
main.c:108: warning: data definition has no type or storage class
main.c:267: error: syntax error before '*' token
main.c: In function `get_port_guid':
main.c:282: error: `p_osm' undeclared (first use in this function)
main.c: At top level:
main.c:345: error: syntax error before "osm_opensm_t"
main.c: In function `parse_ignore_guids_file':
main.c:354: error: `p_osm' undeclared (first use in this function)
main.c:356: error: `guids_file_name' undeclared (first use in this function)
main.c: In function `main':
main.c:725: error: request for member `p_updn_ucast_routing' in 
something not a structure or union
main.c:725: error: request for member `subn' in something not a 
structure or union
main.c:758: error: request for member `mad_pool' in something not a 
structure or union
main.c:761: error: request for member `mad_pool' in something not a 
structure or union
make[1]: *** [main.o] Error 1
make[1]: Leaving directory 
`/cluster/src/OPENIB_SRC/gen1_wtf/gen1/trunk/src/userspace/osm/opensm'
make: *** [all_targets] Error 2

   
   



More information about the general mailing list