Bluez and bluetooth

Ian Chapman <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <[email protected]>
Hi,
     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.

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.