On Wed, Mar 20, 2013 at 09:16:05PM -0400, Ian Chapman wrote: > I pulled over the libbluetooth-dev package and I can compile a > simple exercise and run it on my Mint 13 PC using gcc. > > Moving onto msp430-gcc I get > msp430-gcc -Os -Wall -g -mmcu=msp430f5438a -c main.c > main.c:4:20: fatal error: unistd.h: No such file or directory > compilation terminated. > make: *** [main.o] Error 1 > > I guess it found stdio.h > locate -i unistd.h //found lots of possibilities. > /usr/include/unistd.h > /usr/include/asm-generic/unistd.h > /usr/include/bsd/unistd.h > /usr/include/linux/unistd.h > > I guess I need to tell msp430-gcc which one to use and obviously I > need as a minimum msp430 compiled libraries to link with. Do I have to > generate these from sources or are these bluetooth libs in the > msp430-gcc system waiting for me to pull over? Any pointers would be > greatly appreciated. Regards Ian.
Hi Ian, BlueZ is a Bluetooth stack for Linux systems -- it will not work on the MSP430 (unistd.h is also an OS header file). Perhaps you might be able to get something working using the AT command interface that some (all?) Bluetooth chips provide. Regards, Daniel -- Daniel Beer <dlb...@gmail.com> www.dlbeer.co.nz IRC: inittab (Freenode) PGP key: 2048D/160A553B ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users