__tfi: unresolved reference

FE financial_engineering@benztown.org
Tue Sep 14 08:29:00 GMT 2004


Hi,
 
I am using g++ (gcc 2.95.2) on Sun Solaris 2.6 to build C++ shared libraries
which connect via C interface to an existing application. By declaring
everything as extern "C", all works fine as long as I do not use exception
handling in my shared object. The moment I introduce try, throw and catch
(i.e. all exceptions, none is passed to the calling application) to my
library the existing application reports "__tfi: referenced symbol not
found" and fails to load the shared object.
 
Do I have to link some (which?) additional libraries to my shared object? Or
is there any other way to make it work?
 
Thanks for suggestions,
 
Gert Hartmayer
 



More information about the Gcc mailing list