Hi folks

Anyone can tell me how to compile codes in orte/test/system? There is a 
Makefile under the directory.  When I try to compile these test case with that 
Makefile, I got the following errors.
It seems  the header file of hwloc and libevent is missing.

=========================================
ortecc -g    sigusr_trap.c   -o sigusr_trap
In file included from 
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc142.h:20,
                 from /usr/local/include/openmpi/opal/mca/hwloc/hwloc.h:148,
                 from /usr/local/include/openmpi/orte/util/proc_info.h:44,
                 from sigusr_trap.c:13:
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:49:34: 
error:

/autogen/config.h: No such file or directory
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:58:26: 
error: hwloc/rename.h: No such file or directory
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:64:26: 
error: hwloc/bitmap.h: No such file or directory
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:65:26: 
error: hwloc/cpuset.h: No such file or directory
In file included from 
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc142.h:20,
                 from /usr/local/include/openmpi/opal/mca/hwloc/hwloc.h:148,
                 from /usr/local/include/openmpi/orte/util/proc_info.h:44,
                 from sigusr_trap.c:13:
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:81: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘unsigned’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:128: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hwloc_cpuset_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:130: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘hwloc_const_cpuset_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:145: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hwloc_nodeset_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:148: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘hwloc_const_nodeset_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:292: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
In file included from 
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc142.h:20,
                 from /usr/local/include/openmpi/opal/mca/hwloc/hwloc.h:148,
                 from /usr/local/include/openmpi/orte/util/proc_info.h:44,
                 from sigusr_trap.c:13:
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:310: 
error: expected specifier-qualifier-list before ‘hwloc_uint64_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:370: 
error: expected specifier-qualifier-list before ‘hwloc_cpuset_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:476: 
error: expected specifier-qualifier-list before ‘hwloc_uint64_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:570: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:584: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:590: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:603: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:639: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:649: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:658: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:726: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:742: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:768: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:794: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:817: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:840: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:851: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:870: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:954: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:970: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:981: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:984: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:997: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hwloc_obj_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1011: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hwloc_obj_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1044: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1063: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘unsigned’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1084: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1098: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘hwloc_obj_type_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1102: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘unsigned’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1109: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1111: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1129: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1145: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hwloc_obj_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1153: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hwloc_obj_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1155: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hwloc_obj_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1175: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1181: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘hwloc_obj_type_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1193: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1207: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1230: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1241: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1249: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1251: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1268: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1388: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1395: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1404: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1417: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1427: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1438: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1448: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1466: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1681: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1696: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1738: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1785: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1796: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1807: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1845: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1886: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1894: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1902: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1926: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1952: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1961: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1972: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1983: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:1988: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:2020: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:2038: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hwloc_obj_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc142/hwloc/include/hwloc.h:2050:26:
 error: hwloc/helper.h: No such file or directory
In file included from /usr/local/include/openmpi/orte/util/proc_info.h:44,
                 from sigusr_trap.c:13:
/usr/local/include/openmpi/opal/mca/hwloc/hwloc.h:159: error: expected 
specifier-qualifier-list before ‘hwloc_cpuset_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc.h:177: error: expected 
specifier-qualifier-list before ‘hwloc_cpuset_t’
/usr/local/include/openmpi/opal/mca/hwloc/hwloc.h:221: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘opal_hwloc_my_cpuset’
In file included from 
/usr/local/include/openmpi/opal/mca/event/libevent2019/libevent2019.h:57,
                 from /usr/local/include/openmpi/opal/mca/event/event.h:94,
                 from /usr/local/include/openmpi/opal/runtime/opal_cr.h:28,
                 from /usr/local/include/openmpi/opal/threads/condition.h:40,
                 from /usr/local/include/openmpi/opal/threads/threads.h:38,
                 from 
/usr/local/include/openmpi/opal/class/opal_ring_buffer.h:29,
                 from /usr/local/include/openmpi/orte/runtime/orte_globals.h:41,
                 from sigusr_trap.c:14:
/usr/local/include/openmpi/opal/mca/event/libevent2019/libevent/event.h:57:20: 
error: evutil.h: No such file or directory
In file included from /usr/local/include/event2/event_struct.h:52,
                 from 
/usr/local/include/openmpi/opal/mca/event/libevent2019/libevent/event.h:70,
                 from 
/usr/local/include/openmpi/opal/mca/event/libevent2019/libevent2019.h:57,
                 from /usr/local/include/openmpi/opal/mca/event/event.h:94,
                 from /usr/local/include/openmpi/opal/runtime/opal_cr.h:28,
                 from /usr/local/include/openmpi/opal/threads/condition.h:40,
                 from /usr/local/include/openmpi/opal/threads/threads.h:38,
                 from 
/usr/local/include/openmpi/opal/class/opal_ring_buffer.h:29,
                 from /usr/local/include/openmpi/orte/runtime/orte_globals.h:41,
                 from sigusr_trap.c:14:
/usr/local/include/event2/util.h:41:25: error: opal_rename.h: No such file or 
directory
In file included from /usr/local/include/openmpi/orte/runtime/orte_globals.h:45,
                 from sigusr_trap.c:14:
/usr/local/include/openmpi/opal/mca/hwloc/base/base.h:94: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘opal_hwloc_base_given_cpus’
/usr/local/include/openmpi/opal/mca/hwloc/base/base.h:173: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘opal_hwloc_base_get_available_cpus’
/usr/local/include/openmpi/opal/mca/hwloc/base/base.h:193: error: expected ‘)’ 
before ‘cpus’
/usr/local/include/openmpi/opal/mca/hwloc/base/base.h:211: error: expected ‘)’ 
before ‘cpuset’
/usr/local/include/openmpi/opal/mca/hwloc/base/base.h:219: error: expected 
declaration specifiers or ‘...’ before ‘hwloc_cpuset_t’
/usr/local/include/openmpi/opal/mca/hwloc/base/base.h:270: error: expected 
declaration specifiers or ‘...’ before ‘hwloc_cpuset_t’
/usr/local/include/openmpi/opal/mca/hwloc/base/base.h:280: error: expected 
declaration specifiers or ‘...’ before ‘hwloc_cpuset_t’
In file included from sigusr_trap.c:14:
/usr/local/include/openmpi/orte/runtime/orte_globals.h:78: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘orte_proc_applied_binding’
make: *** [sigusr_trap] Error 1
====================================================

Thanks
Jimmy

Reply via email to