Hi all :

1º Problem:

I'm trying to install, use and test TinyDB. I've installed TinyOS, java, javax.comm package etc., but when i try to compile TinyDBApp for mica2 mote some errors occur. I don't what is the problem. Please can somebody help me? I'm using a pc with Windows XP service pack 2. When i try to compile the application the following text appears in the Cygwin window.


$ make mica2
compiling TinyDBApp to a mica2 binary
ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 -DTOSH_DATA_LENGTH=4 9 -I %T/lib/Util -I%T/lib/Attributes -I%T/lib/Commands -I%T/lib/TinyDB -I%T/lib/ Route -I%T/lib/Queue -I%T/lib/FS -I%T/lib/TinyDB/Aggregates -fno-strict-aliasin g -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000 -fnesc
-cfile=build/mica2/app.c TinyDBApp.nc -lm
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3864: conflicting
types for `RadioReceiveCoordinator.startSymbol'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/RadioCoordinator.nc:31: previous
declaration of `RadioReceiveCoordinator.startSymbol'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3921: conflicting
types for `RadioSendCoordinator.startSymbol'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/RadioCoordinator.nc:31: previous
declaration of `RadioSendCoordinator.startSymbol'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:196: `RadioReceiv
eCoordinator.blockTimer' not implemented
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:196: `RadioSendCo
ordinator.blockTimer' not implemented
make: *** [build/mica2/main.exe] Error 1


2º Problem:

In according to the "Guetting Started Guide" for the TinyDB Installation there's something that i can't understand. In the TinyDB guide the authors affirm the following:

"You must also have the tinyos-1.x/tools/java directory in your classpath.
If you wish to take advantage of TinyDB’s compatibility with the PostgreSQL database system, you’ll need to install and configure Postgres (see Section 10) and include the pgjdbc2.jar
file in your classpath.
Your CLASSPATH should now look something like this:
.:/path/to/java/jre/lib/rt.jar:/path/to/java/lib/dt.jar:
/path/to/java/lib/tools.jar:/opt/IBMJava2-13/jre/lib/ext/comm.jar:
tinyos-1.x/tools/java/jars/plot.jar:tinyos-1.x/tools/java/jars/cup.jar:
tinyos-1.x/tools/java/jars/xercesImpl.jar:tinyos-1.x/tools/java/jars/xmlParserAPIs.jar:
tinyos-1.x/tools/java/jars/JLex.jar:tinyos-1.x/tools/java
If you installed TinyOS and TinyDB from the TinyOS 1.1 RPMS, your classpath should have been automatically configured to include these files (as well as a number of files, which should
not be a problem.) "

I don't know how to put the tinyos-1.x/tools/java directory in my classpath. I don't know how can i access and edit my classpath.

Help me please !!
Thanks !

Milton Aguiar

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to