On 1/18/2012 1:17 PM, Samuel Thibault wrote:
> TERRY DONTJE, le Wed 18 Jan 2012 18:52:50 +0100, a écrit :
>>>> Also, I tried to build v1.4 and the trunk and I keep getting linkage errors
>>>> on lstopo-lstopo-draw.o complaining about hwloc_insert_object_by_cpuset
>>>> being undefined.
>>> It is defined in ./src/topology.c. Please check with make V=1 that
>>> topology.o is really included in the link. Also paste the whole log
>>> output, the issue actually come from somewhere.
>> There must be something screwy with how visibility is done because when I
>> disabled visibility I got a workable lstopo and friends.
> Are you building with optimizations disabled? I notice that
> hwloc_insert_object_by_cpuset is the only function called in header
> inlines which is not external. Maybe we can simply ifdef that inline out
> when not building the library.
I didn't specify using optimizations or not on my configure line. Don't
you need the function to make lstopo work?
Terry D. Dontje | Principal Software Engineer
Developer Tools Engineering | +1.781.442.2631
Oracle *- Performance Technologies*
95 Network Drive, Burlington, MA 01803
Email terry.dontje_at_[hidden] <mailto:terry.dontje_at_[hidden]>