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] [January 2009 Threads] LPC2368 uip demo GCC linker failsPosted by ESEMESE on January 13, 2009 When I try to build this demo from the download I get linker errors such as:
mallocr.c:(.text+0x2c): undefined reference to `_sbrk_r' mallocr.c:(.text+0x3c): undefined reference to `_sbrk_r' mallocr.c:(.text+0x48): undefined reference to `_sbrk_r'
and
stdio.c:(.text+0x6e): undefined reference to `_lseek_r' stdio.c:(.text+0x86): undefined reference to `_write_r'
This seems to refer to problems with missing code in newlib.
Can anyone point me to the resolution of this? I am using the WINARM (GCC compiler).
Thanks
RE: LPC2368 uip demo GCC linker failsPosted by woops_ on January 13, 2009 Looks like the GCC library is not defined. Dont know why it is trying to use read and write in any case. Maybe set configUSE_TRACE_FACILITY to 0 in FreeRTOSConfig.h.
You need to define the library used. Best to download yagarto and use that instead of winarm.
RE: LPC2368 uip demo GCC linker failsPosted by ESEMESE on January 13, 2009 OK, I'll try that.
Thanks.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|