This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can't find main functions when calling from .so



What do I need to do to find a function in the main binary when making a call from a function in a shared library.
This is on unix in general specifically Linux.


Here is the setup

main.c -> main.exe
main(char**arv,int argc)
{
	load
}

void functionA()
{
}

main.h
void functionnA();


slib.c -> libslib.so #include main.h void callFunctionA() { functionA(); }

If this is the wrong place for the question please let me know?

TIA.
--
Steve Pribyl
Steve AT NetFuel dot com
Computer Infrastructure Practitioner

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]