This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
undefined symbol
- To: egcs at cygnus dot com
- Subject: undefined symbol
- From: Ulrich Czekalla <linux at western dot wave dot ca>
- Date: Wed, 21 Oct 1998 23:27:26 +0000
I have created a shared library which contains a function called
_mallocdb. I wrote a small test program which makes a call to it and it
compiled and linked correctly. When I try to run it I get the error;
./test: error in loading shared libraries
/home/lcl/liblcld.so: undefined symbol: _mallocdb__FUiiPc
I tried checking the symbols of the library;
> nm liblcld.so | grep _mallocdb
00002a0c T _mallocdb__FUiiPCc
U _mallocdb__FUiiPc
Anyone have any ideas? Is there something I have to do to explicitly
export certain function? Is there a document which explains this stuff
in painful detail?
Thanks,
-Ulrich
--
/*****************************************************
* Ulrich Czekalla *
* University of Toronto *
* Software Engineering Bachelor of Commerce *
* g5ulczek@cdf.utoronto.ca *
*****************************************************/