Home > Archive > Unix Programming > July 2004 > Same .o as part of more .so used by same process??
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Same .o as part of more .so used by same process??
|
|
| qazmlp 2004-07-28, 9:05 pm |
| I have the same .o(object file of the C++ source code) as part of 2
different shared libraries used by the same process. Will it cause any
problems? Will there be any problem if the class contains static
members?
| |
| Lev Walkin 2004-07-28, 9:05 pm |
| qazmlp wrote:
> I have the same .o(object file of the C++ source code) as part of 2
> different shared libraries used by the same process. Will it cause any
> problems?
Yes.
> Will there be any problem if the class contains static members?
Yes.
The problem is, if there is a bug in this .o, the bug will affect both
libraries :)
Apart from that, there are no problems.
--
Lev Walkin
vlm@lionet.info
| |
| Lev Walkin 2004-07-28, 9:05 pm |
| Lev Walkin wrote:
> qazmlp wrote:
>
>
>
> Yes.
>
>
>
> Yes.
>
> The problem is, if there is a bug in this .o, the bug will affect both
> libraries :)
>
> Apart from that, there are no problems.
Oops, I've misread your post. Yes, there probably will be problems. Ignore
my comment.
--
Lev Walkin
vlm@lionet.info
|
|
|
|
|