Hi everyone!
I would be very grateful,if anyone could help me to resolve a compiling
problem such that,while trying to compile java tools in directory:
/opt/tinyos-1.x/tools/java
*
location: class net.tinyos.script.tree.SingleAccess
private Symbol symbol;
^
tree/SingleAccess.java:40: cannot resolve symbol
symbol : class Symbol
location: class net.tinyos.script.tree.SingleAccess
public SingleAccess(int lineNumber, String name, Symbol s) {
^
tree/SingleAccess.java:50: cannot resolve symbol
symbol : class Symbol
location: class net.tinyos.script.tree.SingleAccess
public Symbol symbol() {
^
tree/SingleAccess.java:83: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.SingleAccess
public void generateCode(SymbolTable table, CodeWriter writer) throws
IOExcept
ion {
^
tree/ForConditionalStatement.java:65: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.ForConditionalStatement
public void generateCode(SymbolTable table, CodeWriter writer) throws IOExce
ption {
^
tree/ForUnconditionalStatement.java:67: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.ForUnconditionalStatement
public void generateCode(SymbolTable table, CodeWriter writer) throws IOExce
ption {
^
tree/ForUntilCondition.java:43: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.ForUntilCondition
public void generateCode(SymbolTable table, CodeWriter writer) throws
IOExcept
ion {
^
tree/ForWhileCondition.java:43: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.ForWhileCondition
public void generateCode(SymbolTable table, CodeWriter writer) throws
IOExcept
ion {
^
tree/IfThenClause.java:35: cannot resolve symbol
symbol : class TreeNode
location: class net.tinyos.script.tree.IfThenClause
public class IfThenClause implements TreeNode {
^
tree/IfThenClause.java:57: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.IfThenClause
public void generateCode(SymbolTable table, CodeWriter writer) throws
IOExcept
ion {
^
tree/IfStatement.java:54: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.IfStatement
public void generateCode(SymbolTable table, CodeWriter writer) throws
IOExcept
ion {
^
tree/IfThenElseClause.java:57: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.IfThenElseClause
public void generateCode(SymbolTable table, CodeWriter writer) throws IOExce
ption {
^
tree/ParenExpression.java:52: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.ParenExpression
public void generateCode(SymbolTable table, CodeWriter writer) throws
IOExcept
ion {
^
tree/PrimitiveSet.java:32: cannot resolve symbol
symbol : class Primitive
location: package script
import net.tinyos.script.Primitive;
^
tree/PrimitiveSet.java:41: cannot resolve symbol
symbol : class Primitive
location: class net.tinyos.script.tree.PrimitiveSet
public static void addPrimitive(Primitive p) {
^
tree/PrimitiveSet.java:55: cannot resolve symbol
symbol : class Primitive
location: class net.tinyos.script.tree.PrimitiveSet
public static Primitive getPrimitive(String name) {
^
tree/Program.java:42: cannot resolve symbol
symbol : class ParseException
location: class net.tinyos.script.tree.Program
public void addVariable(Declaration d) throws ParseException {
^
tree/Program.java:109: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.Program
public void generateCode(CodeWriter writer) throws IOException,
SemanticExcept
ion, NoFreeVariableException {
^
tree/Program.java:109: cannot resolve symbol
symbol : class NoFreeVariableException
location: class net.tinyos.script.tree.Program
public void generateCode(CodeWriter writer) throws IOException,
SemanticExcept
ion, NoFreeVariableException {
^
tree/Program.java:126: cannot resolve symbol
symbol : class NoFreeVariableException
location: class net.tinyos.script.tree.Program
public SymbolTable generateTable() throws NoFreeVariableException {
^
tree/UnaryLogicalNotExpression.java:45: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.UnaryLogicalNotExpression
public void generateCode(SymbolTable table, CodeWriter writer) throws IOExce
ption {
^
tree/UnaryMinusExpression.java:44: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.UnaryMinusExpression
public void generateCode(SymbolTable table, CodeWriter writer) throws IOExce
ption {
^
tree/UnaryNotExpression.java:45: cannot resolve symbol
symbol : class CodeWriter
location: class net.tinyos.script.tree.UnaryNotExpression
public void generateCode(SymbolTable table, CodeWriter writer) throws IOExce
ption {
^
tree/SymbolTable.java:77: cannot resolve symbol
symbol : class NoFreeVariableException
location: class net.tinyos.script.tree.SymbolTable
throw new NoFreeVariableException("All private variables already in use.")
;
^
tree/SymbolTable.java:107: cannot resolve symbol
symbol : class NoFreeVariableException
location: class net.tinyos.script.tree.SymbolTable
throw new NoFreeVariableException("All shared variables already in use.");
^
tree/SymbolTable.java:148: cannot resolve symbol
symbol : class NoFreeVariableException
location: class net.tinyos.script.tree.SymbolTable
throw new NoFreeVariableException("All buffers already in use.");
^
tree/Call.java:58: cannot resolve symbol
symbol : class Function
location: class net.tinyos.script.tree.Call
Function fn = FunctionSet.getFunction(name);
^
tree/Call.java:58: cannot resolve symbol
symbol : variable FunctionSet
location: class net.tinyos.script.tree.Call
Function fn = FunctionSet.getFunction(name);
^
tree/Call.java:63: cannot resolve symbol
symbol : class Function
location: class net.tinyos.script.tree.Call
Function fn = FunctionSet.getFunction(name);
^
tree/Call.java:63: cannot resolve symbol
symbol : variable FunctionSet
location: class net.tinyos.script.tree.Call
Function fn = FunctionSet.getFunction(name);
^
tree/Call.java:89: cannot resolve symbol
symbol : class Function
location: class net.tinyos.script.tree.Call
Function fn = FunctionSet.getFunction(name);
^
tree/Call.java:89: cannot resolve symbol
symbol : variable FunctionSet
location: class net.tinyos.script.tree.Call
Function fn = FunctionSet.getFunction(name);
^
tree/PrimitiveSet.java:57: cannot resolve symbol
symbol : class Primitive
location: class net.tinyos.script.tree.PrimitiveSet
return (Primitive)table.get(name.toLowerCase());
^
tree/Program.java:44: cannot resolve symbol
symbol : class ParseException
location: class net.tinyos.script.tree.Program
throw new ParseException("Variable " + d.getName() + " declared twic
e.\n");
^
100 errors
make[3]: *** [all] Error 1
make[3]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/script'
make[3]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/deluge'
... /opt/tinyos-1.x/tools/java/net/tinyos/deluge
make[3]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/deluge'
make[3]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/drain'
... /opt/tinyos-1.x/tools/java/net/tinyos/drain
javac DrainConsts.java
javac DrainGroupRegisterMsg.java
DrainGroupRegisterMsg.java:9: package net.tinyos.message does not exist
public class DrainGroupRegisterMsg extends net.tinyos.message.Message {
^
DrainGroupRegisterMsg.java:69: package net.tinyos.message does not exist
public DrainGroupRegisterMsg(net.tinyos.message.Message msg, int base_offset
) {
^
DrainGroupRegisterMsg.java:69: DrainGroupRegisterMsg(byte[],int) is already
defi
ned in net.tinyos.drain.DrainGroupRegisterMsg
public DrainGroupRegisterMsg(net.tinyos.message.Message msg, int base_offset
) {
^
DrainGroupRegisterMsg.java:78: package net.tinyos.message does not exist
public DrainGroupRegisterMsg(net.tinyos.message.Message msg, int base_offset
, int data_length) {
^
DrainGroupRegisterMsg.java:78: DrainGroupRegisterMsg(byte[],int,int) is
already
defined in net.tinyos.drain.DrainGroupRegisterMsg
public DrainGroupRegisterMsg(net.tinyos.message.Message msg, int base_offset
, int data_length) {
^
DrainGroupRegisterMsg.java:20: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
amTypeSet(AM_TYPE);
^
DrainGroupRegisterMsg.java:26: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
amTypeSet(AM_TYPE);
^
DrainGroupRegisterMsg.java:35: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
amTypeSet(AM_TYPE);
^
DrainGroupRegisterMsg.java:44: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
amTypeSet(AM_TYPE);
^
DrainGroupRegisterMsg.java:53: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
amTypeSet(AM_TYPE);
^
DrainGroupRegisterMsg.java:62: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
amTypeSet(AM_TYPE);
^
DrainGroupRegisterMsg.java:71: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
amTypeSet(AM_TYPE);
^
DrainGroupRegisterMsg.java:80: cannot resolve symbol
symbol : method amTypeSet (int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
amTypeSet(AM_TYPE);
^
DrainGroupRegisterMsg.java:139: cannot resolve symbol
symbol : method getUIntElement (int,int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
return (int)getUIntElement(offsetBits_group(), 16);
^
DrainGroupRegisterMsg.java:146: cannot resolve symbol
symbol : method setUIntElement (int,int,int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
setUIntElement(offsetBits_group(), 16, value);
^
DrainGroupRegisterMsg.java:202: cannot resolve symbol
symbol : method getUIntElement (int,int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
return (int)getUIntElement(offsetBits_timeout(), 16);
^
DrainGroupRegisterMsg.java:209: cannot resolve symbol
symbol : method setUIntElement (int,int,int)
location: class net.tinyos.drain.DrainGroupRegisterMsg
setUIntElement(offsetBits_timeout(), 16, value);
^
17 errors
make[3]: *** [DrainGroupRegisterMsg.class] Error 1
make[3]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/drain'
make[3]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/drip'
... /opt/tinyos-1.x/tools/java/net/tinyos/drip
make[3]: *** No rule to make target
`/opt/tinyos-1.x/tos/../apps/TestDrip/TestDr
ip.h', needed by `TestDripMsg.java'. Stop.
make[3]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/drip'
make[3]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/pytos'
... /opt/tinyos-1.x/tools/java/net/tinyos/pytos
make[3]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/pytos'
make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos'
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net'
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/jni'
make -f Makefile.CYGWIN "JDK=/cygdrive/c/Program
Files/UCB/jdk1.4.1_02/j2sdk1.4.
1_02" "JNI=/cygdrive/c/Program Files/UCB/jdk1.4.1_02/j2sdk1.4.1_02/jre/bin"
all
make[2]: Entering directory `/opt/tinyos-1.x/tools/java/jni'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/jni'
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/jni'*
I appreciate any kind of help!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help