Re: dlopen() sees some symbols, but not others
- From: "Rob Y" <ryampolsky@xxxxxxxxx>
- Date: 28 Dec 2006 08:32:53 -0800
Paul Pluzhnikov wrote:
In fact, another
function calaled LogFormattedElement() in the same source module was
resolvable and calls FormatElement() internally. As long as my
dlopen'd library called this second function, it worked.
Hmm, that's inconsistent with my mental model of how AIX linking
works. Are you sure? Can you construct a small test case?
More info. I took out the explicit call to FormatElement in my main
app, and nm still reports it as there, but dlopen doesn't see it:
FormatElement:F-1 - 732
But with the explicit call in the main app, nm reports 2 entries for
FormatElement, and dlopen does see it:
FormatElement D 536986860 12
FormatElement:F-1 - 732
The 'nm' man page describes the D entry as a global data symbol, but I
don't see any explanation for the :F-1 entry. Any idea what that
means?
Thanks,
Rob
.
- References:
- dlopen() sees some symbols, but not others
- From: Rob Y
- Re: dlopen() sees some symbols, but not others
- From: Paul Pluzhnikov
- dlopen() sees some symbols, but not others
- Prev by Date: Re: dlopen() sees some symbols, but not others
- Next by Date: Re: write mksysb to tape after the fact
- Previous by thread: Re: dlopen() sees some symbols, but not others
- Next by thread: Re: dlopen() sees some symbols, but not others
- Index(es):