gcc - Error: "undefined reference to ‘__udivsmodsi4" when switching compilers in Contiki 2.6 -
i switching contiki 2.7 contiki 2.6 have found sky-shell-exec example not build msp430-gcc 4.5.3 in contiki 2.6. around while using contiki 2.6 trying install msp430-gcc 4.6.3. i have downloaded deb package 4.6.3 http://helpdesk.jogjaprov.go.id/ubuntu/pool/universe/g/gcc-msp430/ and have used following commands try , install it: sudo apt-get remove gcc* sudo apt-get remove gcc-msp430 sudo dpkg --force-all -i ~/downloads/gcc-msp430_4.6.3~mspgcc-20120406-3_i386.deb sudo apt-get -f install when msp430-gcc --version returns: msp430-gcc (gcc) 4.6.3 20120301 (mspgcc lts 20120406 unpatched) so seems has worked... however, when try make sky-shell-exec.sky target=sky in examples/sky-shell-exec/ 2 following error: usr/lib/gcc/msp430/4.6.3/../../../../msp430/lib/mmpy-16/libc.a(vuprintf.o): in function `vuprintf': /build/buildd/msp430-libc-20110612/src/./stdlib/vuprintf.c:387: undefined reference `__udivmodsi4' /build/buildd/msp430-libc-20110612/src/./stdlib/vuprintf...