Make sure undefined type references generate 'pointer' string (pointer was not in string).
Use more inclusive DFS to make sure all dependent symbols are detected.