undefined symbol
Ulrich Czekalla
linux@western.wave.ca
Wed Oct 21 22:10:00 GMT 1998
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 *
*****************************************************/
More information about the Gcc
mailing list