# error build ARM7\_LPC2368\_Eclipse

**URL:** <https://forums.freertos.org/t/error-build-arm7-lpc2368-eclipse/2494>\
**Category:** Kernel\
**Created:** [October 7, 2009, 9:06am UTC](https://forums.freertos.org/t/error-build-arm7-lpc2368-eclipse/2494 "2009-10-07T09:06:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [October 7, 2009, 9:06am UTC](https://forums.freertos.org/t/error-build-arm7-lpc2368-eclipse/2494/1 "2009-10-07T09:06:10Z")

</div>

**[dsigit](https://sourceforge.net/u/dsigit/)** wrote on [Wednesday, October 07, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/6f4cc558/#572e):

Hi all,

Recently, I try to build ARM7\_LPC2368\_Eclipse project using Eclipse+Yagarto and

found this error message :

error: no memory region specified for loadable section `.eh\_frame’

In Yagarto’s site, it’s said that I have to add following part to linker file

lpc2368.ld :

. = ALIGN(4);  
.eh\_frame :  
{  
&nbsp;&nbsp;&nbsp;&nbsp; KEEP (\*(.eh\_frame))  
} &gt; ram

but the problem is, I’m not really sure where exactly should I put it in my

lpc2368.ld file. So, I take my chances by put it somewhere in SECTIONS { } part

of the file and got this error messages :

c:/program files/yagarto/bin/…/lib/gcc/arm-elf/4.4.1/…/…/…/…/arm-

elf/bin/ld.exe: RTOSDemo.elf section .eh\_frame will not fit in region ram  
c:/program files/yagarto/bin/…/lib/gcc/arm-elf/4.4.1/…/…/…/…/arm-

elf/bin/ld.exe: region ram overflowed by 7200 bytes  
collect2: ld returned 1 exit status  
make: \*\*\*&nbsp; Error 1

Can anyone help me? Thank you.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [October 7, 2009, 4:12pm UTC](https://forums.freertos.org/t/error-build-arm7-lpc2368-eclipse/2494/2 "2009-10-07T16:12:16Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, October 07, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/6f4cc558/#ef23):

The problem is the new version of GCC that the latest version of Yagarto uses.&nbsp; Take the makefile and linker script out of the SVN repository (FreeRTOS V6.0.0) and you should find it compiles fine, although I have not tried actually running with the changes.

Also be aware that the version of binutils used has problems with ARM/THUMB interworking.&nbsp; I would stick to ARM mode until it is fixed in GCC.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [October 9, 2009, 3:32am UTC](https://forums.freertos.org/t/error-build-arm7-lpc2368-eclipse/2494/3 "2009-10-09T03:32:52Z")

</div>

**[dsigit](https://sourceforge.net/u/dsigit/)** wrote on [Friday, October 09, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/6f4cc558/#a4d5):

Thanks a lot… it works now.
