Is the tinyos tools jar installed and
have you set your CLASSPATH as per instructions?

MS

samarjit das wrote:
> Hi, I received the following error while running make command in this 
> directory.
> (/opt/tinyos-2.x/support/sdk/java/net/tinyos/packet)
> 
> **************************************************************************
> samar...@pc-samarjit <mailto:samar...@pc-samarjit> 
> /opt/tinyos-2.x/support/sdk/java/net/tinyos/packet
> $ make
> ... /opt/tinyos-2.x/support/sdk/java/net/tinyos/packet
> ncg -o Serial.java -java-classname=net.tinyos.packet.Serial java
> /opt/tinyos-2.x
> /tos/lib/serial/Serial.h Serial.h
> javac Serial.java
> javac BuildSource.java
> BuildSource.java:241: cannot find symbol
> symbol  : class Packetizer
> location: class net.tinyos.packet.BuildSource
>         return new Packetizer("serial@" + port + ":" + baudrate,
>                    ^
> BuildSource.java:242: cannot find symbol
> symbol  : class SerialByteSource
> location: class net.tinyos.packet.BuildSource
>                               new SerialByteSource(port, baudrate));
>                                   ^
> BuildSource.java:275: cannot find symbol
> symbol  : class Packetizer
> location: class net.tinyos.packet.BuildSource
>         return new Packetizer("network@" + host + ":" + port,
>                    ^
> BuildSource.java:276: cannot find symbol
> symbol  : class NetworkByteSource
> location: class net.tinyos.packet.BuildSource
>                               new NetworkByteSource(host, port));
>                                   ^
> Note: BuildSource.java uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 4 errors
> make: *** [BuildSource.class] Error 1
> samar...@pc-samarjit <mailto:samar...@pc-samarjit> 
> /opt/tinyos-2.x/support/sdk/java/net/tinyos/packet
> $
> ***********************************************************************************
> Any suggestion? Thank you.
>  
> with regards
> Samarjit.
>  
>  
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to