'UNEXPECTED_SECTIONS' error

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jan 24 07:01:01 UTC 2018


On 24/01/18 01:58, xuelin.tian at qkmtech.com wrote:
> When I tried to compile and link my application, an error came up, 
> saying,
>
> ../../../../arm-rtems4.11/bin/ld: 
> myapp.elf section `.unexpected_sections' will not fit in region `UNEXPECTED_SECTIONS'
> makefile:50: recipe for target 'myapp.elf' failed
> ../../../../arm-rtems4.11/bin/ld: region `UNEXPECTED_SECTIONS' overflowed by 1048577 bytes
> collect2: error: ld returned 1 exit status
> make: *** [myapp.elf] Error 1
>
> I didnot define any new sections, so any help here? Thanks.

You use sections which are not covered by the linker command file. Look 
in the linker map file to figure out what these sections are and then 
find a place for them in your memory map.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list