[riot-devel] devel Digest, Vol 7, Issue 7

Martin L. martin.landsmann at haw-hamburg.de
Fri Sep 20 14:55:49 CEST 2013


Hi Francisco,

during the work on c++11_compatibility I encountered similar errors such as:
> In function `_sbrk_r':
> sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
since gcc > 4.7 is very picky these functions have to be set as exten in cpu/arm_common/syscalls.c to make them 'visible'

c.f. 
https://github.com/BytesGalore/RIOT/commit/83e04f8ad7da2d44ba0632b99eeecca07b2aa7ee
https://github.com/BytesGalore/RIOT/commit/da413e79a8f30725a1a9626210eb17b7e8e3e07b

I hope that helps a bit.

Best regards,
Martin



More information about the devel mailing list