Errors while building example 15

Hi ,
When i try to build the example15 from the real time kernel practical guide.
I am getting the following errors please clarify me.
I am building the examples with arm-none-linux-eabi-gcc. /firma/nagaraju/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/../lib/gcc/arm-none-eabi/4.6.3/../../../../arm-none-eabi/lib/thumb2/libc.a(lib_a-writer.o): In function `_write_r’:
writer.c:(.text+0x16): undefined reference to `_write’
/firma/nagaraju/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/../lib/gcc/arm-none-eabi/4.6.3/../../../../arm-none-eabi/lib/thumb2/libc.a(lib_a-closer.o): In function `_close_r’:
closer.c:(.text+0x12): undefined reference to `_close’
/firma/nagaraju/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/../lib/gcc/arm-none-eabi/4.6.3/../../../../arm-none-eabi/lib/thumb2/libc.a(lib_a-lseekr.o): In function `_lseek_r’:
lseekr.c:(.text+0x16): undefined reference to `_lseek’
/firma/nagaraju/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/../lib/gcc/arm-none-eabi/4.6.3/../../../../arm-none-eabi/lib/thumb2/libc.a(lib_a-readr.o): In function `_read_r’:
readr.c:(.text+0x16): undefined reference to `_read’
collect2: ld returned 1 exit status
make: ***  Error 1 Thanks,
Nagaraju

Errors while building example 15

Please clarify me how to resolve the above errors

Errors while building example 15

Looks like the C libraries you are using require you to provide the implementation of some helper functions.  I guess you are using newlib? Does the ‘linux’ in the compiler name mean it runs or Linux, or builds for Linux.  If it builds for Linux then it is not a compiler that can be used with FreeRTOS. Regards.

Errors while building example 15

I am building the example programmes with arm-none-eabi-gcc  tool-chain. Please suggest me which version of libc i have to use for compiling. I have used following lib for compiling the source.
http://ftp.gnu.org/gnu/libc/glibc-2.18.tar.bz2

Errors while building example 15

That looks like a Linux library. Are you able to build the complete projects following the instructions in the book, with the tools described in the book?

Errors while building example 15

No i am not using the tools described in the book.
I am running these examples  on ti stellaris DK-LM3s9b96 board.