Good morning As I have some problem to prgram my sensor, I installed the last version of tinyos 2.1.0 (replacing the tinyos 2.x source tree) on Linux ubuntu following theses steps :
- add to the source.list file : deb http://tinyos.stanford.edu/tinyos/dists/ubuntu hardy main - reload the the repository - install : tinyos-2.1.0 (which allows the installation avr utilities...), python-cxx, python2.5-dev, build-essential - adding this line to my .bashrc : * export TOSROOT=/opt/tinyos-2.1.0 * export TOSDIR=$TOSROOT/tos * export CLASSPATH=$CLASSPATH\:$TOSROOT/support/sdk/java/tinyos.jar\:$TOSROOT/support/sdk/java/ * export MAKERULES=$TOSROOT/support/make/Makerules When I type make micaz sim in the blink directory (or other apps including my own programs which worked on tinyos 2.x) I have a large list of errors as if the installation not happen correctly. Thanks for help. Errors: /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or directory /usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or directory /usr/lib/ncc/nesc_nx.h:235: syntax error before `__nesc_ntoh_uint8' /usr/lib/ncc/nesc_nx.h:240: syntax error before `__nesc_hton_uint8' /usr/lib/ncc/nesc_nx.h:242: warning: type defaults to `int' in declaration of `base' /usr/lib/ncc/nesc_nx.h:242: `value' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:242: warning: data definition has no type or storage class /usr/lib/ncc/nesc_nx.h:243: syntax error before `return' /usr/lib/ncc/nesc_nx.h:246: syntax error before `__nesc_ntoh_leuint8' /usr/lib/ncc/nesc_nx.h:251: syntax error before `__nesc_hton_leuint8' /usr/lib/ncc/nesc_nx.h:253: warning: type defaults to `int' in declaration of `base' /usr/lib/ncc/nesc_nx.h:253: redefinition of `base' /usr/lib/ncc/nesc_nx.h:242: previous declaration of `base' /usr/lib/ncc/nesc_nx.h:253: `value' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:253: warning: data definition has no type or storage class /usr/lib/ncc/nesc_nx.h:254: syntax error before `return' /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_ntoh_int8' /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_hton_int8' /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_ntoh_leint8' /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_hton_leint8' /usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_bf_decode8' /usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:258: syntax error before `if' /usr/lib/ncc/nesc_nx.h:258: warning: type defaults to `int' in declaration of `x' /usr/lib/ncc/nesc_nx.h:258: `uint8_t' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:258: `msg' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer /usr/lib/ncc/nesc_nx.h:258: `length' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:258: warning: data definition has no type or storage class /usr/lib/ncc/nesc_nx.h:258: syntax error before `++' /usr/lib/ncc/nesc_nx.h:258: syntax error before `|=' /usr/lib/ncc/nesc_nx.h:258: syntax error before `*' /usr/lib/ncc/nesc_nx.h: In function `__nesc_bf_encode8': /usr/lib/ncc/nesc_nx.h:258: warning: declaration of `byte_offset' shadows global declaration /usr/lib/ncc/nesc_nx.h:258: warning: location of shadowed declaration ................................................................................... _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
