Re: -rdynamic
- From: NotZed <zucchi zedzone mmc com au>
- To: deman win tue nl (Ronald de Man)
- Cc: gnome-devel-list gnome org
- Subject: Re: -rdynamic
- Date: Thu, 26 Aug 1999 08:53:05 +0930 (CST)
> (I've converted a program that I've written a while ago into a
> shared libary, and I dlopen this library from another program,
> but am running into a problem caused by a duplicated symbol names.
> Of course I can change this name, but I would think it should be
> possible to hide the shared library symbol. For now I've solved it
> by not linking the executable with -rdynamic.)
The only way is to use a unique namespace for your library,
e.g.
my_library_the_function()
Is a good way to do it, and used by stuff in gnome (and just about every
other library i can think of).
Michael
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]