Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

WINARM - MAKEFILE ..Getting start

Status
Not open for further replies.

abdalla

Member level 4
Joined
Mar 22, 2006
Messages
79
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,802
winarm makefile

Hi,

i`m newbie in this topic i started it from 2 days only

first i got the following FAMOUS errors

arm-elf-gcc -o Firmware main.o SortAlgorithms.o
f:/sources/arm_soft/winarm-20060606/winarm/bin/../lib/gcc/arm-elf/4.1.1/../../..
/../arm-elf/lib\libc.a(exit.o): In function `exit':
exit.c:(.text+0x28): undefined reference to `_exit'
f:/sources/arm_soft/winarm-20060606/winarm/bin/../lib/gcc/arm-elf/4.1.1/../../..
/../arm-elf/lib\libc.a(mallocr.o): In function `_malloc_r':
mallocr.c:(.text+0x424): undefined reference to `_sbrk_r'
mallocr.c:(.text+0x4cc): undefined reference to `_sbrk_r'
f:/sources/arm_soft/winarm-20060606/winarm/bin/../lib/gcc/arm-elf/4.1.1/../../..
/../arm-elf/lib\libc.a(freer.o): In function `_malloc_trim_r':
mallocr.c:(.text+0x48): undefined reference to `_sbrk_r'
mallocr.c:(.text+0x64): undefined reference to `_sbrk_r'
mallocr.c:(.text+0x84): undefined reference to `_sbrk_r'
collect2: ld returned 1 exit status
make: *** [Firmware] Error 1


i searched many times till i found the solution to make or add Syscalls.c file ,, I add
and here is the remaining error

arm-elf-gcc -c main.c
main.c:58:2: warning: no newline at end of file
arm-elf-gcc -o Firmware main.o SortAlgorithms.o
f:/sources/arm_soft/winarm-20060606/winarm/bin/../lib/gcc/arm-elf/4.1.1/../../..
/../arm-elf/lib\libc.a(exit.o): In function `exit':
exit.c:(.text+0x28): undefined reference to `_exit'
collect2: ld returned 1 exit status
make: *** [Firmware] Error 1


CAN U HELP IF U PLEASE????

thx
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top