samgh1230 / likwid

Automatically exported from code.google.com/p/likwid
GNU General Public License v3.0
0 stars 0 forks source link

Missing header files in libwid; missing symbol in linking #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was trying to compile likwid (HG commit 579:2da5deaf40f0) and ran into 
several problems:

1) missing header files in src/libwid/includes:
   - strUtil.h
   - tree.h

I copied these files, the compilation went fine.

2) later at the linking stage of `likwid-perfctr' I encountered more severe 
linker error (missing symbols) which I could not resolve:

ext/hwloc/libhwloc.a(components.o): In function `hwloc_components_init':
components.c:(.text+0xfd): undefined reference to `hwloc_xml_callbacks_register'
ext/hwloc/libhwloc.a(components.o): In function `hwloc_components_destroy_all':
components.c:(.text+0x421): undefined reference to `hwloc_xml_callbacks_reset'
ext/hwloc/libhwloc.a(components.o):(.rodata+0x28): undefined reference to 
`hwloc_xml_component'
ext/hwloc/libhwloc.a(components.o):(.rodata+0x40): undefined reference to 
`hwloc_xml_nolibxml_component'

Could you please look into this and explain why? Or perhaps fix the code, if 
appropriate.

Thanks,
Wirawan

Original issue reported on code.google.com by wiraw...@gmail.com on 21 Apr 2014 at 5:29

GoogleCodeExporter commented 9 years ago
Here's my config.mk and include_GCC.mk. The system is Fedora 18 and compiler is 
GCC 4.7.2.

Original comment by wiraw...@gmail.com on 21 Apr 2014 at 5:33

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

there is a major restructuring in LIKWID at the moment. During this phase we 
cannot guarantee that the  repository default branch is usable or even builds. 
Still you may use the V3 branch. This branch already includes bug fixes on the 
current stable release. After you clone the repository update to the V3 branch.

Original comment by jan.trei...@gmail.com on 22 Apr 2014 at 8:17