[arm-gnu] Linking error on arm-none-eabi.

42Bastian list-bastian.schick at sciopta.com
Mon Jun 11 12:42:50 UTC 2012


Hi

> D:\toolchain_4.2.3\arm-none-eabi\bin\../lib\libc.a(lib_a-sbrkr.o): In
> function `_sbrk_r':sbrkr.c:(.text+0x18): undefined reference to `_sbrk'.

Try adding a C file with these two functions:

#ifdef __GNUC__
void __aeabi_unwind_cpp_pr0()
{
 /* empty */
}
void __aeabi_unwind_cpp_pr1()
{
 /* empty */
}
#endif

-- 
42Bastian
+
| http://www.sciopta.com
| Fastest direct message passing kernel.
| IEC61508 certified.
+



More information about the arm-gnu mailing list