-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/07/10 22:09, Jeff Squyres wrote:
> Including the extern "C" stuff Brice just put in: Passes with GCC 4.5.0 on CentOS 5.5 and with both stock GCC and llvm-gcc on Ubuntu 10.04. I do see warnings when doing a make check: CC libhwloc_ports_la-topology-freebsd.lo topology-freebsd.c: In function ?hwloc_freebsd_set_thread_cpubind?: topology-freebsd.c:123: warning: passing argument 3 of ?pthread_setaffinity_np? from incompatible pointer type /usr/include/pthread.h:448: note: expected ?const struct cpu_set_t *? but argument is of type ?cpuset_t *? topology-freebsd.c: In function ?hwloc_freebsd_get_thread_cpubind?: topology-freebsd.c:147: warning: passing argument 3 of ?pthread_getaffinity_np? from incompatible pointer type /usr/include/pthread.h:453: note: expected ?struct cpu_set_t *? but argument is of type ?cpuset_t *? Not sure if that's important. - -- Christopher Samuel - Senior Systems Administrator VLSCI - Victorian Life Sciences Computational Initiative Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545 http://www.vlsci.unimelb.edu.au/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxGfAoACgkQO2KABBYQAh+gHwCeKYnFWNgntPEhVvhg/aSzINci TiAAoIHIRgC+nPIU7LahJgcJbNJRETJT =rKS3 -----END PGP SIGNATURE-----