[Tinyos-help] error when compile sdk/java

rodolfo de paz rodolfo.depaz at cit.ie
Wed Jun 4 02:06:06 PDT 2008


Hi,

I found same problem, anybody found the solution for this?

Regards,

Rodolfo

--------------------------------------------------------------------------
Hi there,

when I compile the /opt/tinyos-2.x/support/sdk/java, one file seems cannot
compile.

make[3]: Entering directory `/opt/tinyos-2.x/support/sdk/j
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/tools
javac Listen.java
javac ListenRaw.java
javac MsgReader.java
javac PrintfClient.java
PrintfClient.java:44: cannot find symbol
symbol  : class PrintfMsg
location: class net.tinyos.tools.PrintfClient
    this.moteIF.registerListener(new PrintfMsg(), this);
                                     ^
PrintfClient.java:48: cannot find symbol
symbol  : class PrintfMsg
location: class net.tinyos.tools.PrintfClient
    PrintfMsg msg = (PrintfMsg)message;
    ^
PrintfClient.java:48: cannot find symbol
symbol  : class PrintfMsg
location: class net.tinyos.tools.PrintfClient
    PrintfMsg msg = (PrintfMsg)message;
                     ^
PrintfClient.java:50: inconvertible types
found   : PrintfMsg.getElement_buffer
required: char
      char nextChar = (char)(msg.getElement_buffer(i));
                            ^
4 errors
make[3]: *** [PrintfClient.class] Error 1

anyone encouter this problem? or have an idea on this?

sincerely yours
Peng


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080604/28a99c50/attachment-0001.htm 


More information about the Tinyos-help mailing list