9 years, 3 months ago.

undefined reference to `typeinfo for mbed::FileHandle'

Hello,

When I compile with GCC ARM, I have this linker error message :

undefined reference to `typeinfo for mbed::FileHandle'

What is the problem ?

I thank you for your attention.

Question relating to:

1 Answer

9 years, 3 months ago.

where did you find that typeinfo? Can you provide specific line in the file?

We dont use RTTI, it's disabled by default , so this file is probably from your sources?

I recompiled with mbed-src and I have no more the linker error message. I suppose that the libmbed.a is not compiled with the compiler GNU ARM toolchain.

posted by Jeremy Guillonneau 20 Jan 2015