Operating System - HP-UX
1827439 Members
5725 Online
109965 Solutions
New Discussion

tools for debugging unresolved externals

 
SOLVED
Go to solution
Ramsunder S
Occasional Advisor

tools for debugging unresolved externals

Hi,
We face the "unresolved externals" problem quite often. Typically, we use nm and strings to debug where the unresolved externals reside and fix the problem.
I was just wondering if there are any other utilities that would aid us in debugging these errors better.

Regards,
Ramsunder.
2 REPLIES 2
Steve Steel
Honored Contributor
Solution

Re: tools for debugging unresolved externals

Hi


try odump

If you use /usr/ccs/bin/odump -slexport, you can see what is exported.


Good url

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe4ccc8ecad09d6118ff40090279cd0f9,00.html

http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2504,00.html


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
H.Merijn Brand (procura
Honored Contributor

Re: tools for debugging unresolved externals

I use the attached script to analyze the existing libraries and create three files of which the most important is defs.nm which lists which library defines which symbol in which object. Easy to just grep
Enjoy, Have FUN! H.Merijn