use nm on file code example
Example: what is T in nm command output in linux
T means globally defined in the text segment -- the object defines and exports the symbol
U means "undefined" -- the object has a reference to the symbol but no definition
NOTE:
"man 1 nm" helps list of each symbol