Forum Stats

  • 3,855,556 Users
  • 2,264,521 Discussions
  • 7,906,062 Comments

Discussions

RTTI On SUN PRO 4.2

I have enabled RTTI by usign -features=rtti on the compiler command line. My application is a shared library and one of the .cpp files includes typeinfo.h. It all compiles and links but when I try to execute a test application that loads the DLL it fails to load reporting the error:

ld.so.1: bin.newapi/publisherd: fatal: relocation error: file /home/kowen1/Foboca/Api/code/lib/debug/libfobocad.so: symbol __0dJtype_infoG__vtbl: referenced symbol not found
Killed

What do I have to do to avoid this error.

Thanks

Keith
This discussion has been closed.