Hi, Aniruddha.
>What i do not understand is that Why is it not able to find the function
in
>the library. Also a command nm (library name ) shows that the symbol is
>defined. So I am kind of confused.
Yes, this would confuse me too.
It's possible that the C++ compiler is mangling the name of the
function, so that it doesn't get found when looking for the
unmangled name.
If you had to use the -C argument to 'nm' to see the name, then
that's what's happened. You may want to look at the declaration
of the function definition.
It should have something like:
extern "C" stricmp(...) ;
Otherwise, the C++ compiler will convert this into a C++ mangled
name, and even though it's in the library, you will not be able
to find it, if it's referenced by the unmangled name.
This might be what's happening. Does this make sense to you?
--Carl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]