Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

To be specific, I want to know which function/types in libpri and being used in the Asterisk project. I'm not traditionally a C programmer, but I know some basic stuff because I took a class in college.

share|improve this question

closed as not a real question by MichaelT, Martijn Pieters, BЈовић, Frank, Bart van Ingen Schenau Jun 3 '13 at 10:04

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 3 down vote accepted

Assuming that your code compiles... comment out the line that imports the library in question (i.e. comment out the line that imports libpri). Then try to compile the code. The functions that the compiler says it can't find/identify are the ones being used from the library.

share|improve this answer
    
Thanks, that's should work fine. –  Herman Griffin Jun 3 '13 at 18:15

if you statically import the library you can remove the lib reference from the linker and see which symbols are undefined

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.