I want to use printf statements in an application and I added the following flags in the makefile. CFLAGS += -I$(TOSDIR)/lib/printf CFLAGS += -DPRINTF_BUFFER_SIZE=250
The printf statement is a simple print statement with no arguments. But the 'make epic' still fails with the following errors: /usr/bin/../lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2/libc.a(printf.o): In function `printf': /home/xubuntos/tinyos-toolchain-packages/sources/msp430-build-tinyos-2.1/build/mspgcc-cvs/msp430-libc/src/stdlib/printf.c:39: undefined reference to `putchar' make: *** [exe0] Error 1 Any help is appreciated. Thanks and regards, Roja C
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
