Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 63818

Forum Post: MSP-EXP430F5529LP: Contiki-3.0, Printf, Undefined Reference to `putchar'

$
0
0
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

Viewing all articles
Browse latest Browse all 63818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>