Hello, I have ported MSP430F5529 launchpad to contiki-3.0 on Ubuntu 14.04LTS. I can run blink and hello-world example. However, when I use printf function to send data over uart, it works for certain character strings and not for others. When it does not work, the program failed during compilation stage with following errors: /usr/lib/gcc/msp430/4.6.3/../../../../msp430/lib/mcpu-430x/mmpy-16/libc.a(printf.o): In function `printf': /build/buildd/msp430-libc-20120224/src/./stdlib/printf.c:42: undefined reference to `putchar' /usr/lib/gcc/msp430/4.6.3/../../../../msp430/lib/mcpu-430x/mmpy-16/libc.a(printf.o): In function `vprintf': /build/buildd/msp430-libc-20120224/src/./stdlib/printf.c:50: undefined reference to `putchar' collect2: ld returned 1 exit status make: *** [blink.lp5529] Error 1 I would appreciate any help to debug these errors. Kind regards Jatala
↧