I installed the ARM for Dummys GGC with Eclipse that came with my ARM-USB-OCD. It’s worked fine while I learned my way around the Eclipse IDE. I have tried adding to the demo program for the 2148 and have been sucessful until I tried to include stdio.h to the project. This is the error I get, any ideas would be greatly appreciated.
make -k all
“.compiling”
arm-elf-gcc -I./ -c -fno-common -O0 -g main.c
“…linking”
arm-elf-ld -v -Map main.map -T2138_demo.cmd -o main.out crt.o main.o
main.o: In function `main’:
/cygdrive/c/GCCFD/projects/lpc2148/main.c:119: undefined reference to `printf’
GNU ld version 2.16.1
make: *** [main.out] Error 1
make: Target `all’ not remade because of errors.