Dlopen function - UNDEFINED REFERENCE
Hello All,
I am a newbie to ECLIPSE/Linux. I have created a MANAGED MAKE C++ PROJECT and have written a simple program that uses the dlopen() function.
Now the problem is, when i build this PROJECT TYPE as a "Executable(GNu)", it throws an exception 'UNDEFINED REFERENCE' in the 'dlopen' (a linux in-built function i have used in my project). Note: I have already included the HeaderFile <dlfcn.h> of dlopen function.
But when i built the same project as a 'SHARED DLL(GNu)', it compiles, builds and produces a .so(DLL) output file successfully.
I have tried to trace out similiar bug and fix for it through search engines/forums. But not of much help.
I am using the ECLISPSE3.1(with REDHATLINUX9).
PLEASE ANY HELP WILL BE REALLY APPRECIABLE.
Thanks,
Mamtha.
|