Which hwloc release are you using ? get_last_cpu_location() was only
added in hwloc v1.2. It has always been available since then, even on
when not supported (it will return -1 with errno=ENOSYS in this case).
If this doesn't help, can you send your test program?
Le 05/03/2013 18:01, Fabio Tordini a écrit :
> I'm experiencing a problem using the function
> 'hwloc_get_last_cpu_location(...)': when compiling i first get a
> warning about an implicit declaration of the function, and then it
> gives an "undefined reference" error.
> Everything else works just fine and I was thinking whether I have to
> link some other libraries or perform some other actions in order to be
> able to use the function.
> The tests I'm executing are run on a x86_64 GNU/Linux machine, and as
> far as I know that function should be totally supported on Linux systems.
> hwloc-users mailing list