Hi, I've tinyos-2.x installed on my PC (I downloaded it from google code site), I worked perfectly. But after a system update (Ubuntu 12.04 x64), the entire tinyos toolchain doesn't work anymore. I can compile Blink, RadioCountToLeds, but not TestSerial.
Both "make telosb" and "make micaz" give me the same error message: /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or directory /usr/lib/ncc/nesc_nx.h:62:22: error: inttypes.h: No such file or directory /usr/lib/ncc/nesc_nx.h:281: syntax error before `__nesc_ntoh_uint8' /usr/lib/ncc/nesc_nx.h:286: syntax error before `__nesc_hton_uint8' ... ... ... Here's my procedure of installation: svn checkout http://tinyos-main.googlecode.com/svn/trunk/ tinyos-main-read-only mv tinyos-main-read-only tinyos-2.x sudo mv tinyos-2.x /opt Then I've installed other tools from Stanford's Natty repository: sudo apt-get install tinyos-required-msp430 tinyos-required-avr And then I've created a file call tinyos.sh in /opt/tinyos-2.x : export TOSROOT=/opt/tinyos-2.x export TOSDIR=$TOSROOT/tos export CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java/tinyos.jar:. export MAKERULES=$TOSROOT/support/make/Makerules export PATH=$PATH:/usr/include:/usr/include/linux I've checked the result of tos-check-env, it seems that I have everything in Path: Path: Path: /usr/lib/lightdm/lightdm /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/include /usr/include/linux I've tried to install the package tinyos-2.1.1.deb, always the same problem. Best regards. -- Yanbo SHOU Institut FEMTO-ST, Dep. DISC Bureau 420C UFR Sciences et Techniques 16 route de Gray - 25000 Besançon [email protected] _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
