[Tinyos-help] cannot find symbol error in RadioCountToLed

Alshaboti alshaboti_ye at yahoo.com
Sun Nov 14 06:06:28 PST 2010


   HI,

I have exactly the same problem with Xubuntos 2.1.0, and I sure that java
CLASSPATH correct.

Until now I can't find any solution for this problem.


amit.singh 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
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 

-- 
View this message in context: http://old.nabble.com/cannot-find-symbol-error-in-RadioCountToLed-tp28069339p30212386.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.



More information about the Tinyos-help mailing list