Hello!
I'm trying to change Listen.java and Dump.java a little bit (I have renamed
them into XListen and XDump).While debugging XListen Iget the error
.*.. /opt/tinyos-1.x/tools/java/net/tinyos/tools
javac XListen.java
XListen.java:69: cannot resolve symbol
symbol : variable XDump
location: class net.tinyos.tools.XListen
xlisten.XDump.printPacket(System.out, packet);
^
1 error
make: *** [XListen.class] Error 1
*
When typing :*$ javac -g -classpath . *.java ,*I got the following 100
errors.
MsgReader.java:50: package net.tinyos.message does not exist
public class MsgReader implements net.tinyos.message.MessageListener {
^
MsgReader.java:52: cannot resolve symbol
symbol : class MoteIF
location: class net.tinyos.tools.MsgReader
private MoteIF moteIF;
^
MsgReader.java:67: cannot resolve symbol
symbol : class Message
location: class net.tinyos.tools.MsgReader
public void messageReceived(int to, Message message) {
^
MsgReader.java:79: cannot resolve symbol
symbol : class Message
location: class net.tinyos.tools.MsgReader
private void addMsgType(Message msg) {
^
PrintDiagMsgs.java:27: package net.tinyos.packet does not exist
import net.tinyos.packet.*;
^
PrintDiagMsgs.java:28: package net.tinyos.util does not exist
import net.tinyos.util.*;
^
Send.java:33: package net.tinyos.util does not exist
import net.tinyos.util.*;
^
Send.java:34: package net.tinyos.packet does not exist
import net.tinyos.packet.*;
^
Send.java:35: package net.tinyos.message does not exist
import net.tinyos.message.*;
^
SimpleCmdMsg.java:9: package net.tinyos.message does not exist
public class SimpleCmdMsg extends net.tinyos.message.Message {
^
SimpleCmdMsg.java:69: package net.tinyos.message does not exist
public SimpleCmdMsg(net.tinyos.message.Message msg, int base_offset) {
^
SimpleCmdMsg.java:69: SimpleCmdMsg(byte[],int) is already defined in
net.tinyos.
tools.SimpleCmdMsg
public SimpleCmdMsg(net.tinyos.message.Message msg, int base_offset) {
^
SimpleCmdMsg.java:78: package net.tinyos.message does not exist
public SimpleCmdMsg(net.tinyos.message.Message msg, int base_offset, int dat
a_length) {
^
SimpleCmdMsg.java:78: SimpleCmdMsg(byte[],int,int) is already defined in
net.tin
yos.tools.SimpleCmdMsg
public SimpleCmdMsg(net.tinyos.message.Message msg, int base_offset, int dat
a_length) {
^
XListen.java:37: package net.tinyos.packet does not exist
import net.tinyos.packet.*;
^
XListen.java:38: package net.tinyos.util does not exist
import net.tinyos.util.*;
^
XListen.java:39: package net.tinyos.message does not exist
import net.tinyos.message.*;
^
BcastInject.java:157: cannot resolve symbol
symbol : method dataLength ()
location: class net.tinyos.tools.SimpleCmdMsg
for (int i = 0; i < packet.dataLength(); i++) {
^
BcastInject.java:158: cannot resolve symbol
symbol : method dataGet ()
location: class net.tinyos.tools.SimpleCmdMsg
System.err.print(Integer.toHexString(packet.dataGet()[i] & 0xff)
+ " ");
^
BcastInject.java:162: cannot resolve symbol
symbol : class MoteIF
location: class net.tinyos.tools.BcastInject
MoteIF mote = new MoteIF(PrintStreamMessenger.err);
^
BcastInject.java:162: cannot resolve symbol
symbol : class MoteIF
location: class net.tinyos.tools.BcastInject
MoteIF mote = new MoteIF(PrintStreamMessenger.err);
^
BcastInject.java:162: cannot resolve symbol
symbol : variable PrintStreamMessenger
location: class net.tinyos.tools.BcastInject
MoteIF mote = new MoteIF(PrintStreamMessenger.err);
^
BcastInject.java:196: reference to + is ambiguous, both method
+(java.lang.Strin
g,java.lang.String) in and method +(java.lang.String,boolean) in match
System.err.println("Received log message: "+lm);
^
Deluge.java:53: cannot resolve symbol
symbol : variable MoteIF
location: class net.tinyos.tools.Deluge
private int nodeid = MoteIF.TOS_BCAST_ADDR;
^
Deluge.java:164: cannot resolve symbol
symbol : class MoteIF
location: class net.tinyos.tools.Deluge
moteif = new MoteIF((Messenger)null);
^
Deluge.java:164: cannot resolve symbol
symbol : class Messenger
location: class net.tinyos.tools.Deluge
moteif = new MoteIF((Messenger)null);
^
Deluge.java:184: cannot resolve symbol
symbol : class Pinger
location: class net.tinyos.tools.Deluge
Pinger pinger = null;
^
Deluge.java:186: cannot resolve symbol
symbol : class Pinger
location: class net.tinyos.tools.Deluge
pinger = new Pinger(moteif, verbose, nodeid);
^
Deluge.java:211: cannot resolve symbol
symbol : class TOSBootImage
location: class net.tinyos.tools.Deluge
TOSBootImage image = pinger.getImage(i);
^
Deluge.java:252: cannot resolve symbol
symbol : class Downloader
location: class net.tinyos.tools.Deluge
Downloader downloader = new Downloader(pinger, imageNum, moteif, verbose,
outfile);
^
Deluge.java:252: cannot resolve symbol
symbol : class Downloader
location: class net.tinyos.tools.Deluge
Downloader downloader = new Downloader(pinger, imageNum, moteif, verbose,
outfile);
^
Deluge.java:263: cannot resolve symbol
symbol : class TOSBootImage
location: class net.tinyos.tools.Deluge
TOSBootImage newImage = new TOSBootImage(infile);
^
Deluge.java:263: cannot resolve symbol
symbol : class TOSBootImage
location: class net.tinyos.tools.Deluge
TOSBootImage newImage = new TOSBootImage(infile);
^
Deluge.java:267: cannot resolve symbol
symbol : class ImageInjector
location: class net.tinyos.tools.Deluge
ImageInjector injector = new ImageInjector(pinger, imageNum, newImage,
^
Deluge.java:267: cannot resolve symbol
symbol : class ImageInjector
location: class net.tinyos.tools.Deluge
ImageInjector injector = new ImageInjector(pinger, imageNum, newImage,
^
Deluge.java:279: cannot resolve symbol
symbol : class Eraser
location: class net.tinyos.tools.Deluge
Eraser eraser = new Eraser(pinger, imageNum, moteif, verbose, force);
^
Deluge.java:279: cannot resolve symbol
symbol : class Eraser
location: class net.tinyos.tools.Deluge
Eraser eraser = new Eraser(pinger, imageNum, moteif, verbose, force);
^
Deluge.java:290: cannot resolve symbol
symbol : class Eraser
location: class net.tinyos.tools.Deluge
Eraser resetter = new Eraser(pinger, imageNum, moteif, verbose, force);
^
Deluge.java:290: cannot resolve symbol
symbol : class Eraser
location: class net.tinyos.tools.Deluge
Eraser resetter = new Eraser(pinger, imageNum, moteif, verbose, force);
^
Deluge.java:301: cannot resolve symbol
symbol : class Rebooter
location: class net.tinyos.tools.Deluge
Rebooter rebooter = new Rebooter(pinger, imageNum, moteif, verbose, force)
;
^
Deluge.java:301: cannot resolve symbol
symbol : class Rebooter
location: class net.tinyos.tools.Deluge
Rebooter rebooter = new Rebooter(pinger, imageNum, moteif, verbose, force)
;
^
DelugeAdvMsg.java:20: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.tools.DelugeAdvMsg
amTypeSet(AM_TYPE);
^
DelugeAdvMsg.java:26: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.tools.DelugeAdvMsg
amTypeSet(AM_TYPE);
^
DelugeAdvMsg.java:35: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.tools.DelugeAdvMsg
amTypeSet(AM_TYPE);
^
DelugeAdvMsg.java:44: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.tools.DelugeAdvMsg
amTypeSet(AM_TYPE);
^
DelugeAdvMsg.java:53: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.tools.DelugeAdvMsg
amTypeSet(AM_TYPE);
^
DelugeAdvMsg.java:62: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.tools.DelugeAdvMsg
amTypeSet(AM_TYPE);
^
DelugeAdvMsg.java:71: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.tools.DelugeAdvMsg
amTypeSet(AM_TYPE);
^
DelugeAdvMsg.java:80: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.tools.DelugeAdvMsg
amTypeSet(AM_TYPE);
^
DelugeAdvMsg.java:169: cannot resolve symbol
symbol : method getUIntElement (int,int)
location: class net.tinyos.tools.DelugeAdvMsg
return (int)getUIntElement(offsetBits_sourceAddr(), 16);
^
DelugeAdvMsg.java:176: cannot resolve symbol
symbol : method setUIntElement (int,int,int)
location: class net.tinyos.tools.DelugeAdvMsg
setUIntElement(offsetBits_sourceAddr(), 16, value);
^
DelugeAdvMsg.java:232: cannot resolve symbol
symbol : method getSIntElement (int,int)
location: class net.tinyos.tools.DelugeAdvMsg
return (short)getSIntElement(offsetBits_globalVNum(), 16);
^
DelugeAdvMsg.java:239: cannot resolve symbol
symbol : method setSIntElement (int,int,short)
location: class net.tinyos.tools.DelugeAdvMsg
setSIntElement(offsetBits_globalVNum(), 16, value);
^
DelugeAdvMsg.java:295: cannot resolve symbol
symbol : method getUIntElement (int,int)
location: class net.tinyos.tools.DelugeAdvMsg
return (short)getUIntElement(offsetBits_runningImgNum(), 8);
^
DelugeAdvMsg.java:302: cannot resolve symbol
symbol : method setUIntElement (int,int,short)
location: class net.tinyos.tools.DelugeAdvMsg
setUIntElement(offsetBits_runningImgNum(), 8, value);
^
DelugeAdvMsg.java:358: cannot resolve symbol
symbol : method getUIntElement (int,int)
location: class net.tinyos.tools.DelugeAdvMsg
return (short)getUIntElement(offsetBits_type(), 8);
^
DelugeAdvMsg.java:365: cannot resolve symbol
symbol : method setUIntElement (int,int,short)
location: class net.tinyos.tools.DelugeAdvMsg
setUIntElement(offsetBits_type(), 8, value);
^
DelugeAdvMsg.java:447: cannot resolve symbol
symbol : method getSIntElement (int,int)
location: class net.tinyos.tools.DelugeAdvMsg
return (short)getSIntElement(offsetBits_imgSummaries_vNum(index1), 16);
^
DelugeAdvMsg.java:454: cannot resolve symbol
symbol : method setSIntElement (int,int,short)
location: class net.tinyos.tools.DelugeAdvMsg
setSIntElement(offsetBits_imgSummaries_vNum(index1), 16, value);
^
DelugeAdvMsg.java:575: cannot resolve symbol
symbol : method getUIntElement (int,int)
location: class net.tinyos.tools.DelugeAdvMsg
return (short)getUIntElement(offsetBits_imgSummaries_numPgs(index1), 8);
^
DelugeAdvMsg.java:582: cannot resolve symbol
symbol : method setUIntElement (int,int,short)
location: class net.tinyos.tools.DelugeAdvMsg
setUIntElement(offsetBits_imgSummaries_numPgs(index1), 8, value);
^
DelugeAdvMsg.java:654: package net.tinyos.message does not exist
char carr[] = new char[Math.min(net.tinyos.message.Message.MAX_CONVERTE
D_STRING_LENGTH,2)];
^
DelugeAdvMsg.java:728: cannot resolve symbol
symbol : method getUIntElement (int,int)
location: class net.tinyos.tools.DelugeAdvMsg
return (short)getUIntElement(offsetBits_imgSummaries_numPgsComplete(inde
x1), 8);
^
100 errors
What might be wrong?
thank you very much!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help