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.