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

Vikas R vikasr at renuelectronics.com
Mon Jun 11 12:34:27 UTC 2012


Hello Sir/Madam,

 

                        I have two toolchains arm-none-elf(version 3.4.0)
and arm-none-eabi (version 4.2.3). I have ported LWIP(TCP/IP stack on AR7
and ARM9 controller).

When I use arm-none-elf toolchain every thing works fine, but when I used
arm-none-eabi toolchain I get following linking error :-

 

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'.

 

My application is standalone application. I have not used any operating
system. There are no malloc or calloc related calls in the firmware.

 

Can you please help me on this?

 

 

 

Thanks and Regards,

 

Vikas Raskar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/arm-gnu/attachments/20120611/cb9e5af8/attachment.html>


More information about the arm-gnu mailing list