I have a linker error where it says undefined reference to a function. The shared library where I expect the function to be has that function name ( I checked through nm -s ) so now the next thing I want to see is if the function parameters are correct. How do I see the type and number of parameters for a function in a shared object file ?
EDIT: So the problem it came to be was: I was trying to create a C++ shared object file by linking a shared C object, but in the C++ source I did not include the header inside "extern "C" " block, so it was not able to find those symbols, Thanks to all who replied to this question. This question is resolved now.


Check Solution