Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: [hwloc-devel] hwloc trunk nightly 1.3a1r3511 fails to build on CentOS 5.6 & RHEL 5.6
From: Christopher Samuel (samuel_at_[hidden])
Date: 2011-06-11 21:42:42


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

Just had a quick play with 1.3a1r3511 and found that whilst
it builds happily on Ubuntu 11.04 it fails to compile (link)
on CentOS 5.6 & RHEL 5.6 with:

  CCLD lstopo
/tmp/hwloc-1.3a1r3511/src/.libs/libhwloc.so: undefined reference to `__res_query'

It needs to link in libresolv.so to get it to compile (verified
by doing make V=1 and adding -lresolv to the libtool line).

cheers,
Chris
- --
    Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: samuel_at_[hidden] Phone: +61 (0)3 903 55545
         http://www.vlsci.unimelb.edu.au/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk30GZIACgkQO2KABBYQAh/k2ACglBbylmeVN5FTFivkQ4/1Etxy
3BgAn3RTO6Eew/FrMBM96qovrtTLJgY9
=MUhA
-----END PGP SIGNATURE-----