# Using Embest IDE to run FrrRtos example code

**URL:** <https://forums.freertos.org/t/using-embest-ide-to-run-frrrtos-example-code/5106>\
**Category:** Kernel\
**Created:** [May 26, 2005, 5:20pm UTC](https://forums.freertos.org/t/using-embest-ide-to-run-frrrtos-example-code/5106 "2005-05-26T17:20:04Z")\
**Posts on this page:** 2\
**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:** [May 26, 2005, 5:20pm UTC](https://forums.freertos.org/t/using-embest-ide-to-run-frrrtos-example-code/5106/1 "2005-05-26T17:20:04Z")

</div>

**nobody** wrote on [Thursday, May 26, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/df93c9b0/#ce00):

I am trying to use Embest IDE to compile and run the example program in the FreeRTOS. However, I am running into some link errors. Has anybody else used the Embest IDE for FreeRTOS?

Below are the error messages that I am receiving. If anybody has any suggestions, please let me know.  
Regards,  
--------------------Building project: rtosdemo516 ---------------------  
arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\Minimal\BlockQ.c -o.\debug\BlockQ.o

arm-elf-as -gdwarf2 --defsym AT91R40807=1 --defsym AT91EB40=1 --defsym AT91\_DEBUG\_ICE=1 -I…\…\…\targets\at91  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -I…\…\…\targets\at91\targets\eb40 -I…\…\…\targets\at91\parts\m40800 C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\ARM7\_AT91FR40008\_GCC\boot.s  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -o.\debug\boot.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\Minimal\comtest.c -o.\debug\comtest.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\Minimal\death.c -o.\debug\death.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\Minimal\dynamic.c -o.\debug\dynamic.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\Minimal\flash.c -o.\debug\flash.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\Minimal\flop.c -o.\debug\flop.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Source\portable\MemMang\heap\_2.c -o.\debug\heap\_2.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\Minimal\integer.c -o.\debug\integer.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Source\list.c -o.\debug\list.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\ARM7\_AT91FR40008\_GCC\main.c -o.\debug\main.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\ARM7\_AT91FR40008\_GCC\ParTest\ParTest.c -o.\debug\ParTest.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\Minimal\PollQ.c -o.\debug\PollQ.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Source\portable\GCC\ARM7\_AT91FR40008\port.c -o.\debug\port.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Source\portable\GCC\ARM7\_AT91FR40008\portISR.c -o.\debug\portISR.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Source\queue.c -o.\debug\queue.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\Minimal\semtest.c -o.\debug\semtest.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\ARM7\_AT91FR40008\_GCC\serial\serial.c -o.\debug\serial.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\ARM7\_AT91FR40008\_GCC\serial\serialISR.c -o.\debug\serialISR.o

arm-elf-gcc -mlittle-endian -gdwarf -c -I…\…\…\targets\at91 -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Demo\Arm7\_at91fr40008\_gcc  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -IC:\EmbestIDE\Examples\at91\rtosdemo516\FreeRTOS\Source\include -IC:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\Common\include  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Source\tasks.c -o.\debug\tasks.o

arm-elf-ld -T…\…\…\targets\at91\targets\sram\_ice.ld -L…\…\…\Build\xgcc-arm-elf\arm-elf\lib -L…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -o.\debug\rtosdemo516.elf .\debug\boot.o .\debug\BlockQ.o .\debug\comtest.o .\debug\death.o .\debug\dynamic.o  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .\debug\flash.o .\debug\flop.o .\debug\heap\_2.o .\debug\integer.o .\debug\list.o .\debug\main.o .\debug\ParTest.o  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .\debug\PollQ.o .\debug\port.o .\debug\portISR.o .\debug\queue.o .\debug\semtest.o .\debug\serial.o  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .\debug\serialISR.o .\debug\tasks.o …\…\…\targets\at91\drivers\lib\_drv\arm-inter\lib\_drv\_32.lib …\…\…\targets\at91\parts\r40807\arm-inter\r40807\_lib32.lib  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lc -lgcc  
.\debug\boot.o:C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\ARM7\_AT91FR40008\_GCC\boot.s:113: undefined reference to `\_\_bss\_beg\_\_’  
.\debug\boot.o:C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\ARM7\_AT91FR40008\_GCC\boot.s:113: undefined reference to `\_\_data\_beg\_\_’  
.\debug\boot.o:C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\ARM7\_AT91FR40008\_GCC\boot.s:113: undefined reference to `\_\_data\_beg\_src\_\_’  
.\debug\boot.o:C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\ARM7\_AT91FR40008\_GCC\boot.s:113: undefined reference to `\_\_data\_end\_\_’  
.\debug\boot.o:C:\EmbestIDE\Examples\at91\rtosdemo516-2\FreeRTOS\Demo\ARM7\_AT91FR40008\_GCC\boot.s:113: undefined reference to `\_\_stack\_end\_\_’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(\_\_main.o): In function `\_\_do\_global\_ctors’:  
\_\_main.o(.text+0xc4): undefined reference to `atexit’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(unwind-dw2-fde.o): In function `size\_of\_encoded\_value’:  
unwind-dw2-fde.o(.text+0x5c): undefined reference to `abort’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(unwind-dw2-fde.o): In function `read\_encoded\_value\_with\_base’:  
unwind-dw2-fde.o(.text+0x1d8): undefined reference to `abort’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(unwind-dw2-fde.o): In function `\_\_register\_frame’:  
unwind-dw2-fde.o(.text+0x274): undefined reference to `malloc’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(unwind-dw2-fde.o): In function `\_\_register\_frame\_table’:  
unwind-dw2-fde.o(.text+0x32c): undefined reference to `malloc’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(unwind-dw2-fde.o): In function `\_\_deregister\_frame\_info\_bases’:  
unwind-dw2-fde.o(.text+0x3e4): undefined reference to `free’  
unwind-dw2-fde.o(.text+0x41c): undefined reference to `abort’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(unwind-dw2-fde.o): In function `\_\_deregister\_frame’:  
unwind-dw2-fde.o(.text+0x450): undefined reference to `free’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(unwind-dw2-fde.o): In function `base\_from\_object’:  
unwind-dw2-fde.o(.text+0x4b4): undefined reference to `abort’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(unwind-dw2-fde.o): In function `get\_cie\_encoding’:  
unwind-dw2-fde.o(.text+0x4e8): undefined reference to `strlen’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(unwind-dw2-fde.o): In function `start\_fde\_sort’:  
unwind-dw2-fde.o(.text+0x1274): undefined reference to `malloc’  
unwind-dw2-fde.o(.text+0x1298): undefined reference to `malloc’  
…\…\…\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2/libgcc.a(unwind-dw2-fde.o): In function `end\_fde\_sort’:  
unwind-dw2-fde.o(.text+0x1350): undefined reference to `free’  
unwind-dw2-fde.o(.text+0x138c): undefined reference to `abort’  
unwind-dw2-fde.o(.text+0x1390): undefined reference to `abort’

Error executing above command.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [May 26, 2005, 5:37pm UTC](https://forums.freertos.org/t/using-embest-ide-to-run-frrrtos-example-code/5106/2 "2005-05-26T17:37:03Z")

</div>

**nobody** wrote on [Thursday, May 26, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/df93c9b0/#ce00/308b):

As you probably know - these mainly relate to an incorrect linker script for the Embest tools.&nbsp; I should try creating a fresh Embest IDE project with a simple hello world program, then when this is working add in the FreeRTOS files.&nbsp; The files required can be found from the makefile.&nbsp; You will need to ensure the startup file sets the stacks for the required modes and calls main() from supervisor mode.

Having said that I gave up with the IDE.&nbsp; Check the version of GCC that it is using.&nbsp; If it is like my copy then it is very old and has known bugs for the ARM7 target both for thumb generation and the interrupt code generation.&nbsp; If you want a nice IDE for GCC have you looked at CrossWorks?
