Hi all,
I'm trying to use BlackbookFullConnect application with TinyDB.
I'm not able to compile togheter this applications.
This is the changes I have made:

TinyDBApp.nc :

...........
implementation {

components Main, TupleRouter, BlackbookFullConnectC;


Main.StdControl -> TupleRouter;

Main.StdControl -> BlackbookFullConnectC;

}

BlackbookFullConnectC:

configuration BlackbookFullConnectC {

provide interface StdControl; //added

}

implementation {

........

StdControl = BlackbookFullConnectM;

......

}

I'm using this makefile:
COMPONENT=TinyDBApp
SENSORBOARD=micasb
PFLAGS=-I %T/lib/Util -I%T/lib/Attributes -I%T/lib/Commands -I%T/lib/TinyDB -I%T/lib/MintRoute -I%T/lib/Queue -I%T/lib/FS -I%T/lib/TinyDB/Aggregates -fno-strict-aliasing
# Choose a flash type:
CFLAGS += -I../../contrib/rincon/apps/Blackbook5/media/AT45DB #CFLAGS += -I../../contrib/rincon/apps/Blackbook5/media/STM25P
# Standard include directories:
CFLAGS += -I../../ -I../../contrib/rincon/apps/Blackbook5/core -I../../contrib/rincon/apps/Blackbook5/interfaces -I../../contrib/rincon/apps/Blackbook5/boot CFLAGS += -I../../contrib/rincon/apps/Blackbook5/apps/FlashBridge
CFLAGS += -I../../contrib/rincon/tos/lib/State
# If you use Boomerang, comment out this line:
CFLAGS +=-I../../contrib/rincon/tos/lib/Transceiver
# If you use Boomerang, uncomment the following lines
# and comment out the above Transceiver line
#CFLAGS += -DSTM25P_BOOMERANG_VERSION
#CFLAGS += -I../../contrib/rincon/tos/lib/sptransceiver
# Compiler optimizer flag:
CFLAGS += -Os
MSG_SIZE=49
include ../Makerules
Is it correct?
When i compile TinyDBApp using this makefile i got this error: C:/PROGRA~1/TinyOS/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/DBBufferC.nc: In function `doWrite': C:/PROGRA~1/TinyOS/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/DBBufferC.nc:1661: warning: suggest parentheses around comparison in operand of &
TinyDBApp.nc: At top level:
TinyDBApp.nc:47: component BlackbookFullConnectC not found
TinyDBApp.nc:51: no match
make: *** [exe0] Error 1

I don't understand why.
Can anyone hel me?
Thanks.
Roberto.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to