Hello Everyone
I've migrated to TinyOS 2.1 in a "Jaunty Jackalope Ubuntu Distribution", and
i've installed all that this need it to run tinyOS, also i've proved some
examples and runs normally. I have 2 doubts. The first one is related with the
TOSSIM simulator because when i make "make micaz sim" a lot of mistakes appears
as follow:
/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)
....
Likewise, the second one is about RadioCountLeds example, i can't compile it
because the TinyOS doesn't find the classpath but i've checked it in the
tinyos.sh file and the path is good
(CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java) the mistakes are follow:
RadioCountMsg.java:7: package net.tinyos.message does not exist
public class RadioCountMsg extends net.tinyos.message.Message {
^
RadioCountMsg.java:67: package net.tinyos.message does not exist
public RadioCountMsg(net.tinyos.message.Message msg, int base_offset) {
^
RadioCountMsg.java:76: package net.tinyos.message does not exist
public RadioCountMsg(net.tinyos.message.Message msg, int base_offset, int
data_length) {
^
RadioCountMsg.java:18: cannot find symbol
symbol : method amTypeSet(int)
location: class RadioCountMsg
amTypeSet(AM_TYPE);
^
RadioCountMsg.java:24: cannot find symbol
symbol : method amTypeSet(int)
location: class RadioCountMsg
amTypeSet(AM_TYPE);
^
If someone tell me something about this, i would appreciate a lot again thanks.
Best Regards
Luis Felipe Herrera Quintero
____________________________________________________________________________________
¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help