Have you set your java CLASSPATH environment variable correctly?
MS

[email protected] wrote:
> hi,
>    i am new to tinyos and trying to compile application in tossim. i am using 
> Xubuntos 2.1 in VMware.     when i used 'make micaz sim' in 
> tinyos-2.0.2/apps/Blink$ directory, it built micaz tossim library 
> successfuly. But when i used 'make micaz sim' in 
> "tinyos-2.0.2/apps/RadioCountToLeds$" directory according to lesson 11 of 
> http://www.tinyos.net/dist-2.0.0/tinyos-2.0.1/doc/html/tutorial/lesson11.html 
> tutorial, i got the following message and errors.
> 
> mkdir -p simbuild/micaz
> mig python -target=micaz -DIDENT_APPNAME=\"RadioCountToLed\" 
> -DIDENT_USERNAME=\"xubuntos\" -DIDENT_HOSTNAME=\"xubuntos-tinyos\" 
> -DIDENT_USERHASH=0x00f95284L -DIDENT_TIMESTAMP=0x4bb03ac8L 
> -DIDENT_UIDHASH=0x6785dd85L -python-classname=RadioCountMsg 
> RadioCountToLeds.h radio_count_msg -o RadioCountMsg.py
> mig java -target=micaz -DIDENT_APPNAME=\"RadioCountToLed\" 
> -DIDENT_USERNAME=\"xubuntos\" -DIDENT_HOSTNAME=\"xubuntos-tinyos\" 
> -DIDENT_USERHASH=0x00f95284L -DIDENT_TIMESTAMP=0x4bb03ac8L 
> -DIDENT_UIDHASH=0x6785dd85L -java-classname=RadioCountMsg RadioCountToLeds.h 
> radio_count_msg -o RadioCountMsg.java
> javac RadioCountMsg.java
> /opt/tinyos-2.1.0/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.0/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.0/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
> 
> i am not able to find the solution of the problem. Please help me regarding 
> the errors.
> 
>                                                    Regards,
>                                                            Amit Singh
> _______________________________________________
> 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