Hi Guys,
I am trying to compile my source code using arm-linux-gcc 4.1.1, but i am getting linking error.
make make -C main make[1]: Entering directory `/home/pritam/spi_boot_example/SDcard_bootloader_fat16/main'
arm-linux-gcc -MM -O2 -Wall -fPIC -mcpu=arm9tdmi -I../include head.S main.c print.c spi.c sd_raw.c delay.c 1>.depend
arm-linux-gcc -O2 -Wall -fPIC -mcpu=arm9tdmi -I../include -c -o head.o head.S
arm-linux-gcc -O2 -Wall -fPIC -mcpu=arm9tdmi -I../include -c -o main.o main.c
arm-linux-gcc -O2 -Wall -fPIC -mcpu=arm9tdmi -I../include -c -o print.o print.c
arm-linux-gcc -O2 -Wall -fPIC -mcpu=arm9tdmi -I../include -c -o spi.o spi.c
arm-linux-gcc -O2 -Wall -fPIC -mcpu=arm9tdmi -I../include -c -o sd_raw.o sd_raw.c
arm-linux-gcc -O2 -Wall -fPIC -mcpu=arm9tdmi -I../include -c -o delay.o delay.c
arm-linux-gcc -O2 -Wall -fPIC -mcpu=arm9tdmi -I../include -r -o mainrom.o head.o main.o print.o spi.o sd_raw.o delay.o
/usr/local/arm/4.1.1-920t/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status make[1]: *** [mainrom.o] Error 1 make[1]: Leaving directory `/home/pritam/spi_boot_example/SDcard_bootloader_fat16/main'
make: *** [SDcard_bootloader] Error 2
Can some one please tell what this error means and how to resolve this. I am new to arm-linux stuff and trying to get this thing working.
Thanks Tama
--------------------------------------- Posted through