Stephan Bergmann wrote: > On 08/24/08 20:10, Andrea wrote: > > A GCC 4 should be fine. For C++ exception handling to work reliably > with GCC, the executable and all dynamic libraries need to use the same > definitions of RTTI symbols (symbols starting with _ZTI and _ZTS) for > exception types. What is the output of "nm -d" on your library? Did > you build your library with the OOo SDK? >
Thanks. I think I have fixed id. I've found an example in the sdk and I've copied the linker options and this one is important -Wl,--version-script,../component.uno.map This files contains something to do with _ZTI and _ZTS like you said. Can I ask an other question: I cannot set breakpoints in my library. (gdb) attach 3459 Attaching to program: /home/andrea/projects/openoffice/maths/libASIMaths.so, process 3459 0x00110416 in __do_global_dtors_aux () (gdb) break ASIMaths_impl.cpp:73 Breakpoint 1 at 0x110ee8: file ASIMaths_impl.cpp, line 73. (gdb) c Continuing. But then it never stops. I compile and link with "-g". Should I do anything more? Andrea --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]