> Hello, I am an undergrad student who just started research under a professor 
> about sensor networks. When following Lesson 11 of the TinyOS tutorial, I 
> keep on getting the following errors:
> 
> Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/RadioCountToLeds
> $ make micaz sim
> mkdir -p build/micaz
> javac RadioCountMsg.java
> 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:67: RadioCountMsg(byte[],int) is already defined in 
> RadioCountMsg
> 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:76: RadioCountMsg(byte[],int,int) is already defined in 
> RadioCountMsg
> 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);
> ^
> RadioCountMsg.java:33: cannot find symbol
> symbol : method amTypeSet(int)
> location: class RadioCountMsg
> amTypeSet(AM_TYPE);
> ^
> RadioCountMsg.java:42: cannot find symbol
> symbol : method amTypeSet(int)
> location: class RadioCountMsg
> amTypeSet(AM_TYPE);
> ^
> RadioCountMsg.java:51: cannot find symbol
> symbol : method amTypeSet(int)
> location: class RadioCountMsg
> amTypeSet(AM_TYPE);
> ^
> RadioCountMsg.java:60: cannot find symbol
> symbol : method amTypeSet(int)
> location: class RadioCountMsg
> amTypeSet(AM_TYPE);
> ^
> RadioCountMsg.java:69: cannot find symbol
> symbol : method amTypeSet(int)
> location: class RadioCountMsg
> amTypeSet(AM_TYPE);
> ^
> RadioCountMsg.java:78: cannot find symbol
> symbol : method amTypeSet(int)
> location: class RadioCountMsg
> amTypeSet(AM_TYPE);
> ^
> RadioCountMsg.java:134: cannot find symbol
> symbol : method getUIntBEElement(int,int)
> location: class RadioCountMsg
> return (int)getUIntBEElement(offsetBits_counter(), 16);
> ^
> RadioCountMsg.java:141: cannot find symbol
> symbol : method setUIntBEElement(int,int,int)
> location: class RadioCountMsg
> setUIntBEElement(offsetBits_counter(), 16, value);
> ^
> 15 errors
> make: *** [RadioCountMsg.class] Error 1
> 
> 
> ***************************************************************
> 
> Here is my PATH:
> Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/RadioCountToLeds
> $ export PATH="/cygdrive/c/Program Files/Java/jdk1.5.0_07/bin:.:$PATH"
> 
> ***************************************************************
> 
> 
> The following classpaths have not solved the problem:
> 
> Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/RadioCountToLeds
> $ export CLASSPATH="/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java"
> 
> Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/RadioCountToLeds
> $ javac -classpath . net/tinyos/tools/Listen.java
> error: cannot read: net/tinyos/tools/Listen.java
> 1 error
> 
> 
> Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/RadioCountToLeds
> $ export 
> CLASSPATH="/cygdrive/c/cygwin/opt/tinyos-2.x/support/sdk/java/net/tinyos/tools/Listen.java"
> 
> 
> Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/RadioCountToLeds
> $ CLASSPATH="/cygdrive/c/opt/tinyos-2.x/support/sdk/java"
> 
> 
> Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/RadioCountToLeds
> $ export 
> CLASSPATH=".;C:/cygwin/opt/tinyos-2.x/support/sdk/java/net/tinyos/tools/java;$CLASSPATH"
> 
> 
> 
> Thank you very much in advance.
> 
> Nicole Caruso
> Computer Engineering
> Rutgers 2008

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to