Problems linking shared library
I'm encountering the following warnings when linking a shared library:
....
CC -I. -c -DUNIX -KPIC WM_numeric.cxx
ld -z verbose -G -o libeqpr.so distribution.o lognormal.o standardnormal.o MurexAPIEntryPoint.o CibcModelAPI.o WM_EqModelBase.o WM_EqModelTree.o WM_EqModelVarSwap.o WM_numeric.o
ld: warning: relocation warning: R_SPARC_DISP32: file distribution.o: symbol <unknown>: displacement relocation applied to the symbol __1cMCIBC_PRICINGbL__RTTI__1nMCIBC_PRICINGMDistribution__: at 0x50: displacement relocation will not be visible in output image
ld: warning: relocation warning: R_SPARC_DISP32: file distribution.o: symbol <unknown>: displacement relocation applied to the symbol __1cMCIBC_PRICINGbL__RTTI__1nMCIBC_PRICINGMDistribution__: at 0x58: displacement relocation will not be visible in output image
ld: warning: relocation warning: R_SPARC_DISP32: file distribution.o: symbol <unknown>: displacement relocation applied to the symbol __1cMCIBC_PRICINGbN__RTTI__1CpnMCIBC_PRICINGMDistribution__: at 0x90: displacement relocation will not be visible in output image
....
The warning seem to be related to the fact that I use virtual members in classes that are derived and the member overriden. (I'm saying that because I have a similar library with no virual members and I don't get the warnings even if I use the same options).
uname -a:
SunOS cbsccuseqt1d 5.9 Generic_118558-17 sun4u sparc SUNW,Sun-Fire-880
CC -V:
CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-22 2005/04/29
Please advise

