This problem happens when you do not have "." in your CLASSPATH. 
try export CLASSPATH=.:/opt/tinyos-2.1.1/support/sdk/java/tinyos.jar
make sure that the path is correct and do not forget the "." in the beginning.




________________________________
From: Giuseppe Barbieri <[email protected]>
To: [email protected]
Sent: Mon, May 10, 2010 1:55:14 PM
Subject: [Tinyos-help] Problems building TOSSIM for RadioCountToLeds application


el...@elect-laptop:/opt/tinyos-2.1.1/apps/RadioCountToLeds$ make micaz sim
mkdir -p simbuild/micaz
javac RadioCountMsg.java
/opt/tinyos-2.1.1/support/sdk/java/net/tinyos/message/Message.java:84: cannot 
find symbol
symbol  : class SerialPacket
location: class net.tinyos.message.Message
  private SerialPacket serialPacket;
          ^
/opt/tinyos-2.1.1/support/sdk/java/net/tinyos/message/Message.java:676: cannot 
find symbol
symbol  : class SerialPacket
location: class net.tinyos.message.Message
  public SerialPacket getSerialPacket() {
         ^
/opt/tinyos-2.1.1/support/sdk/java/net/tinyos/message/Message.java:684: cannot 
find symbol
symbol  : class SerialPacket
location: class net.tinyos.message.Message
  protected void setSerialPacket(SerialPacket mySerialPacket) {
                                 ^
3 errors
make: *** [RadioCountMsg.class] Error 1
el...@elect-laptop:/opt/tinyos-2.1.1/apps/RadioCountToLeds$ 


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

Reply via email to