-staticlib RW linking

Hi

I get the following error while building a shared object:

librwtool.a(ctclass.o): symbol RWCollection::__vtbl: relocations based on the ABS44 coding model can not be used in building a shared object

This happens only in debug mode.

The link line has the following compile option:

-staticlib=rwtools7_std

If i remove this option the shared object builds without any problem.

Can you please tell me what is happening here?

Thanks,

Qrio

[497 byte] By [Qrioa] at [2007-11-27 11:53:46]
# 1

Apparently you have a bad copy of the RW Tools.h++ library in the compiler installation. You must have an old compiler. The problem was fixed a few years ago.

Get the current C++ compiler patch for whatever compiler you have:

http://developers.sun.com/sunstudio/downloads/patches/index.jsp

Better yet, upgrade to Sun Studio 12. It's free, but requires Solaris 9 or later.

http://developers.sun.com/sunstudio

clamage45a at 2007-7-29 18:52:08 > top of Java-index,Development Tools,Solaris and Linux Development Tools...