Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: [hwloc-users] hwloc - Build problem.
From: Anatoly G (anatolyrishon_at_[hidden])
Date: 2012-05-20 09:14:45


Dear HWLOC.
I downloaded 1.4.2 version (tar file).
Performed
1) *./configure --enable-static*
2) *make*
3) *Wrote program*
#include "hwloc.h"
link with ($hwloc_dir)/src/.libhwloc.a
4) *In link stage I get following errors:*
Linking EXE:
/space/home/anatol-g/Grape/release_4.6_FH/core/bin/linux64/rhe6/g++4.4.4/debug/mpi_rcv_waitany
...
/product/grape-data/hwloc-1.4.2/src/.libs/libhwloc.a(topology-xml.o): In
function `hwloc_libxml2_disable_stderrwarnings':
topology-xml.c:(.text+0x2d9): undefined reference to `__xmlGenericError'
topology-xml.c:(.text+0x2f0): undefined reference to
`xmlSetGenericErrorFunc'
/product/grape-data/hwloc-1.4.2/src/.libs/libhwloc.a(topology-xml.o): In
function `hwloc_backend_xml_init':
topology-xml.c:(.text+0x34f): undefined reference to `xmlCheckVersion'
topology-xml.c:(.text+0x37c): undefined reference to `xmlReadFile'
.....
.....

Attached program file + error report.
I use
OS: Red Hat 6.0 Santiago
gcc 4.4.4-13

Can you please help me?
Sorry if my question looks stupid.
Anatoly.