Add  sdk/java path in tinyos to the CLASSPATH....

Try this in cygwin ....

export CLASSPATH=".;C:/cygwin/opt/tinyos-2.x/support/sdk/java;$CLASSPATH"


On Tue, Aug 14, 2012 at 1:17 PM, rajesh mukherjee <
[email protected]> wrote:

> respectecd sir,
> I am new to tinyos and have installed tinyos-2.x in my laptop.when i try
> to compile apps/Blinks , make micaz sim, it is showing that successfuly
> build tossim libray.
> but when going to compile apps/RadioCountToLeds by make micaz sim it is
> showing the folowing error
>
>
> Administrator@xppc /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:76: package net.tinyos.message does not exist
>     public RadioCountMsg(net.tinyos.message.Message msg, int base_offset,
> int da
> ta_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);
>         ^
> 13 errors
> make: *** [RadioCountMsg.class] Error 1
>
>
> Thanks in advance.
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
With Regards,
RamakrishnaReddy.S
CDAC,Bangalore.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to