*Hello*

*I encountered a problem when I type make in Oscilloscope/java.*

*My jdk is setup and the related jdk/bin path in windows Path.*

*Also I have done tos-install-jni and was installed perfectly. I have
checked out several post but none have given the exact steps to
compile this.*

*Please help me out*

*The output after typing make in Oscilloscope/java*>* >  > javac
*.java*>* >  > Oscilloscope.java:11: package net.tinyos.message does
not exist*>* >  > import net.tinyos.message.*;*>* >  > ^*>* >  >
Oscilloscope.java:12: package net.tinyos.util does not exist*>* >  >
import net.tinyos.util.*;*>* >  > ^*>* >  > Oscilloscope.java:36:
cannot find symbol*>* >  > symbol: class MessageListener*>* >  >
public class Oscilloscope implements MessageListener*>* >  >
                           ^*>* >  > Oscilloscope.java:38: cannot find
symbol*>* >  > symbol  : class MoteIF*>* >  > location: class
Oscilloscope*>* >  >    MoteIF mote;*>* >  >    ^*>* >  >
Oscilloscope.java:66: cannot find symbol*>* >  > symbol  : class
Message*>* >  > location: class Oscilloscope*>* >  >
Message msg) {*>* >  >            ^*>* >  > OscilloscopeMsg.java:7:
package net.tinyos.message does not exist*>* >  > public class
OscilloscopeMsg extends net.tinyos.message.Message {*>* >  >
                                             ^*>* >  >
OscilloscopeMsg.java:67: package net.tinyos.message does not exist*>*
>  >    public OscilloscopeMsg(net.tinyos.message.Message msg, int*>*
> base_offset)*>* >  > {*>* >  >
       ^*>* >  > OscilloscopeMsg.java:76: package net.tinyos.message
does not exist*>* >  >    public
OscilloscopeMsg(net.tinyos.message.Message msg, int*>* >
base_offset,*>* >  > int*>* >  > data_length) {*>* >  >
                              ^*>* >  > Oscilloscope.java:55: cannot
find symbol*>* >  > symbol  : class MoteIF*>* >  > location: class
Oscilloscope*>* >  >    mote = new
MoteIF(PrintStreamMessenger.err);*>* >  >                ^*>* >  >
Oscilloscope.java:55: cannot find symbol*>* >  > symbol  : variable
PrintStreamMessenger*>* >  > location: class Oscilloscope*>* >  >
mote = new MoteIF(PrintStreamMessenger.err);*>* >  >
   ^*>* >  > Oscilloscope.java:114: cannot find symbol*>* >  > symbol
: variable MoteIF*>* >  > location: class Oscilloscope*>* >  >
mote.send(MoteIF.TOS_BCAST_ADDR, omsg);*>* >  >                  ^*>*
>  > OscilloscopeMsg.java:18: cannot find symbol*>* >  > symbol  :
method amTypeSet(int)*>* >  > location: class OscilloscopeMsg*>* >  >
      amTypeSet(AM_TYPE);*>* >  >        ^*>* >  >
OscilloscopeMsg.java:24: cannot find symbol*>* >  > symbol  : method
amTypeSet(int)*>* >  > location: class OscilloscopeMsg*>* >  >
amTypeSet(AM_TYPE);*>* >  >        ^*>* >  > OscilloscopeMsg.java:33:
cannot find symbol*>* >  > symbol  : method amTypeSet(int)*>* >  >
location: class OscilloscopeMsg*>* >  >        amTypeSet(AM_TYPE);*>*
>  >        ^*>* >  > OscilloscopeMsg.java:42: cannot find symbol*>* >
 > symbol  : method amTypeSet(int)*>* >  > location: class
OscilloscopeMsg*>* >  >        amTypeSet(AM_TYPE);*>* >  >        ^*>*
>  > OscilloscopeMsg.java:51: cannot find symbol*>* >  > symbol  :
method amTypeSet(int)*>* >  > location: class OscilloscopeMsg*>* >  >
      amTypeSet(AM_TYPE);*>* >  >        ^*>* >  >
OscilloscopeMsg.java:60: cannot find symbol*>* >  > symbol  : method
amTypeSet(int)*>* >  > location: class OscilloscopeMsg*>* >  >
amTypeSet(AM_TYPE);*>* >  >        ^*>* >  > OscilloscopeMsg.java:69:
cannot find symbol*>* >  > symbol  : method amTypeSet(int)*>* >  >
location: class OscilloscopeMsg*>* >  >        amTypeSet(AM_TYPE);*>*
>  >        ^*>* >  > OscilloscopeMsg.java:78: cannot find symbol*>* >
 > symbol  : method amTypeSet(int)*>* >  > location: class
OscilloscopeMsg*>* >  >        amTypeSet(AM_TYPE);*>* >  >        ^*>*
>  > OscilloscopeMsg.java:150: cannot find symbol*>* >  > symbol  :
method getUIntBEElement(int,int)*>* >  > location: class
OscilloscopeMsg*>* >  >        return
(int)getUIntBEElement(offsetBits_version(), 16);*>* >  >
     ^*>* >  > OscilloscopeMsg.java:157: cannot find symbol*>* >  >
symbol  : method setUIntBEElement(int,int,int)*>* >  > location: class
OscilloscopeMsg*>* >  >        setUIntBEElement(offsetBits_version(),
16, value);*>* >  >        ^*>* >  > OscilloscopeMsg.java:213: cannot
find symbol*>* >  > symbol  : method getUIntBEElement(int,int)*>* >  >
location: class OscilloscopeMsg*>* >  >        return
(int)getUIntBEElement(offsetBits_interval(), 16);*>* >  >
      ^*>* >  > OscilloscopeMsg.java:220: cannot find symbol*>* >  >
symbol  : method setUIntBEElement(int,int,int)*>* >  > location: class
OscilloscopeMsg*>* >  >        setUIntBEElement(offsetBits_interval(),
16, value);*>* >  >        ^*>* >  > OscilloscopeMsg.java:276: cannot
find symbol*>* >  > symbol  : method getUIntBEElement(int,int)*>* >  >
location: class OscilloscopeMsg*>* >  >        return
(int)getUIntBEElement(offsetBits_id(), 16);*>* >  >
^*>* >  > OscilloscopeMsg.java:283: cannot find symbol*>* >  > symbol
: method setUIntBEElement(int,int,int)*>* >  > location: class
OscilloscopeMsg*>* >  >        setUIntBEElement(offsetBits_id(), 16,
value);*>* >  >        ^*>* >  > OscilloscopeMsg.java:339: cannot find
symbol*>* >  > symbol  : method getUIntBEElement(int,int)*>* >  >
location: class OscilloscopeMsg*>* >  >        return
(int)getUIntBEElement(offsetBits_count(), 16);*>* >  >
   ^*>* >  > OscilloscopeMsg.java:346: cannot find symbol*>* >  >
symbol  : method setUIntBEElement(int,int,int)*>* >  > location: class
OscilloscopeMsg*>* >  >        setUIntBEElement(offsetBits_count(),
16, value);*>* >  >        ^*>* >  > OscilloscopeMsg.java:428: cannot
find symbol*>* >  > symbol  : method getUIntBEElement(int,int)*>* >  >
location: class OscilloscopeMsg*>* >  >        return
(int)getUIntBEElement(offsetBits_readings(index1), 16);*>* >  >
            ^*>* >  > OscilloscopeMsg.java:435: cannot find symbol*>*
>  > symbol  : method setUIntBEElement(int,int,int)*>* >  > location:
class OscilloscopeMsg*>* >  >
setUIntBEElement(offsetBits_readings(index1), 16, value);*>* >  >
  ^*>* >  > Note: Window.java uses unchecked or unsafe operations.*>*
>  > Note: Recompile with -Xlint:unchecked for details.*>* >  > 29
errors*>* >  > make: *** [Oscilloscope.class] Error 1*

-- 
Thanks & Regards
Jasmeet Singh
Graduate Student - Department of Electrical Engineering
Viterbi School of Engineering,
University of Southern California
email : [email protected]
Ph : 716-464-0475
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to