abdalla
Member level 4
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
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