[cfe-dev] Linker error and obfuscated name

Jonathan Roelofs jonathan at codesourcery.com
Mon Aug 3 08:07:49 PDT 2015



On 8/2/15 10:54 PM, Edward Diener wrote:
> When trying to link shared library BBB, which depends on shared library
> AAA, I am getting a linker error of the form:
>
> throw_exception_ex.obj: In function
> `Z15throw_exceptionI16ex_xml_exceptionEvRKT_':
> throw_exception_ex.cpp:2: undefined reference to `typeinfo for
> ex_xml_exception'
>
> How can I determine what functionality of ex_xml_exception in AAA the
> throw_exception_ex code in BBB is not finding in order to link
> successfully ?

Is one of the libraries built with `-fno-rtti` and the other with `-frtti`?

>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the cfe-dev mailing list