FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [August 2013 Threads] Errors while building example 15Posted by nagaraju on August 13, 2013 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: *** [Maschinen_Simulation.axf] Error 1
Thanks, Nagaraju
RE: Errors while building example 15Posted by nagaraju on August 13, 2013 Please clarify me how to resolve the above errors
RE: Errors while building example 15Posted by Richard on August 13, 2013 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.
RE: Errors while building example 15Posted by nagaraju on August 14, 2013 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
RE: Errors while building example 15Posted by Dave on August 14, 2013 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?
RE: Errors while building example 15Posted by nagaraju on August 14, 2013 No i am not using the tools described in the book. I am running these examples on ti stellaris DK-LM3s9b96 board.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|