gnu.gcc.help
[Top] [All Lists]

Shared Library in C,C++,PRO *C

Subject: Shared Library in C,C++,PRO *C
From: "chets"
Date: 21 Jul 2006 01:54:36 -0700
Newsgroups: gnu.gcc.help
Hi all
    I created a shared library for a PRO *C program abc.pc as abc.so. I
want to use function fun() written inside this program using
dlopen(),dlsym() etc in another program test.c working on linux.Then at
dlsym it gives me dlerror() saying "./test: undefined symbol: fun".
Probably it is not able to resolve the symbol name "fun" from the
shared library.Hence if possible help me to resolve this problem.

Thanks


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy