[Tinyos-help] An Error in TinyDBApp in TinyOS 1.1.10

Lin Yuanyuan yylin628 at hotmail.com
Thu Mar 10 21:43:46 PST 2005


Hi,

When I compiled the application of TinyDB to a mica2 binary in TinyOS 
1.1.10, an error occured. But it is ok in TinyOS 1.1.0. Does anybody know 
the reason and the solution? The output of the compiler in cygwin as 
follows:

    compiling TinyDBApp to a mica2 binary
ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 
-DTOSH_DATA_LENGTH=49 -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-aliasing -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: In function 
`removeQueryTask':
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:1296: 
warning: suggest parentheses around && within ||
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc: In function 
`sendQuery':
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:1450: 
warning: suggest parentheses around + or - inside shift
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc: In function 
`setSampleRate':
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:1859: 
warning: suggest parentheses around && within ||
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc: At top 
level:
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: 
`RadioReceiveCoordinator.blockTimer' not implemented
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:196: 
`RadioSendCoordinator.blockTimer' not implemented
make: *** [build/mica2/main.exe] Error 1

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  



More information about the Tinyos-help mailing list