Hi! I'm new in the GNU tools. I'm using the mspgcc tools and I'm trying to compile the "timerA_uart" example program that I've found via CVS in the sourceforge repository. I use the extarnal makefile to compile and I've the current messages: msp430-gcc -mmcu=msp430x1121 -O2 -Wall -g -c -o main.o main.c main.c: In function `main': main.c:59: warning: implicit declaration of function `printf' main.c:80: warning: implicit declaration of function `putchar' msp430-gcc -mmcu=msp430x1121 -x assembler-with-cpp -D_GNU_ASSEMBLER_ - c -o swuart.o swuart.s msp430-gcc -mmcu=msp430x1121 -x assembler-with-cpp -D_GNU_ASSEMBLER_ - c -o fll.o fll.s msp430-gcc -mmcu=msp430x1121 -o ta_uart.elf main.o swuart.o fll.o main.o(.text+0xb0): In function `main': /cygdrive/d/Progetti/GD2/test/examples/timerA_uart/main.c:59: undefined reference to `puts' main.o (.text+0xb8):/cygdrive/d/Progetti/GD2/test/examples/timerA_uart/main.c :62: undefined reference to `printf' main.o (.text+0xf4):/cygdrive/d/Progetti/GD2/test/examples/timerA_uart/main.c :70: undefined reference to `puts' main.o (.text+0x104):/cygdrive/d/Progetti/GD2/test/examples/timerA_uart/main. c:72: undefined reference to `printf' make: *** [ta_uart.elf] Error 1 +++ End +++ How can I do? thanx to all...
GNU mspgcc: error in printf
Started by ●December 17, 2003