Hi!
I don't understand! I compile with the mica over any application,
although when I compile the middleware Agilla, it didn't find
CC2420Control (interface) and
CC2420RadioC (component). Why?
Help!
Thank you.
$ make mica2
mkdir -p build/mica2
compiling Agilla to a mica2 binary
ncc -o build/mica2/main.exe -Os -DAGILLA_NUM_AGENTS=3
-DAGILLA_NUM_CODE_BLOCKS=1
2 -DMESSAGE_BUFFER_SIZE=10 -DAGILLA_SNDR_BUFF_SIZE=3
-DAGILLA_SNDR_RETRY_TIMER=1
536 -DAGILLA_SNDR_ABORT_TIMER=1536 -DAGILLA_SNDR_MAX_RETRIES=2
-DAGILLA_SNDR_RXM
IT_TIMER=290 -DAGILLA_SNDR_MAX_RETRANSMITS=8 -DAGILLA_RCVR_BUFF_SIZE=3
-DAGILLA_
RCVR_ABORT_TIMER=1000 -DAGILLA_RCVR_FIN_TIMER=300
-DAGILLA_LOCATION_UPDATE_TIMER
=2048 -DAGILLA_MAX_NUM_NEIGHBORS=20 -DAGILLA_MAX_NUM_AGENTS=20
-DDEFAULT_NUM_COL
UMNS=2 -DAGILLA_REMOTE_TS_OP_Q_SIZE=3 -DAGILLA_TS_SIZE=100
-DAGILLA_TS_NO_DUPLIC
ATE=0 -DAGILLA_RTS_TIMEOUT=256 -DAGILLA_RTS_MAX_NUM_TRIES=4
-DREACTION_MGR_BUFFE
R_SIZE=5 -DBEACON_PERIOD=2048 -DBEACON_RAND=1024 -DBEACON_TIMEOUT=9216
-DTIMEOUT
_GET_LOCATION=1024 -DTIMEOUT_GET_NUM_AGENTS=1024
-DCLUSTER_UPDATE_INTERVAL=10240
-DCLUSTERMSG_RAND=5120 -DAGILLA_RF_POWER=31 -DENABLE_SPACE_LOCALIZER=1
-DENABLE
_NEIGHBOR_LIST_FILTER=1 -DENABLE_GRID_ROUTING=0 -DENABLE_CLUSTERING=0
-DENABLE_E
XP_LOGGING=0 -DOMIT_AGENT_SENDER=0 -DOMIT_AGENT_RECEIVER=0
-DOMIT_CONTEXT_DISCOV
ERY=0 -DOMIT_RXN_MGR=0 -DOMIT_NETWORK_INTERFACE=0
-DOMIT_REMOTE_TS_OP_MGR=0 -DOM
IT_ERROR_MGR=0 -DOMIT_TS=0 -DINCLUDE_DEFAULT_AGENT=0 -DPRINT_RXN_FIRED=0
-DDEBUG
_NETWORK_INTERFACE=0 -DDEBUG_MESSAGE_BUFFER=0 -DDEBUG_AGENT_RECEIVER=0
-DDEBUG_A
GENT_SENDER=0 -DDEBUG_OPSTACK=0 -DDEBUG_HEAPMGR=0 -DDEBUG_AGENT_MGR=0
-DDEBUG_CO
DEMGR=0 -DDEBUG_REMOTE_TS_OP_MGR=0 -DDEBUG_RXNMGR=0 -DDEBUG_TS=0
-DDEBUG_TUPLE_U
TIL=0 -DDEBUG_NEIGHBORLIST=0 -DDEBUG_CLUSTERING=0
-DDEBUG_AGILLA_ENGINE=0 -DDEBU
G_OP_SLEEP=0 -DDEBUG_OP_RXN=0 -DDEBUG_OPCOMPARE=0 -DDEBUG_OP_RTS=0
-DDEBUG_OPLOC
TOVALUE=0 -DDEBUG_HEAP_MGR=0 -DDEBUG_ADDRESS_MGR=0 -DDEBUG_TIMESYNC=0
-DDEBUG_LO
CATION_DIRECTORY=0 -DDEBUG_OP_GET_AGENTS=0
-DDEBUG_OP_GET_CLOSEST_AGENT=0 -DDEBU
G_OP_GETLOCATION=0 -DDEBUG_OP_GETNUMAGENTS=0 -DDEBUG_OP_RTS=0
-DDEBUG_OP_FIND_MA
TCH=0 -DNBR_LIST_PRINT_CHANGES=0 -I components/ContextDiscovery -I
components/Ag
entReceiver -I components/AgentSender -I components/NetworkInterface -I
componen
ts/LocationReporter -I components/ClusterheadDirectory -I components -I
opcodes
-I contexts -I types -I interfaces -I ../SpaceLocalizer -I ../LEDBlinker
-I ../.
./../../tos/lib -DCC1K_DEF_FREQ=434107920 -finline-limit=100000 -Wall
-Wshadow -
DDEF_TOS_AM_GROUP=0x07 -Wnesc-all -target=mica2
-fnesc-cfile=build/mica2/app.c -
board=micasb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"Agilla\"
-DIDENT_USER_ID=\"g
uillermo\" -DIDENT_HOSTNAME=\"edosoft008\" -DIDENT_USER_HASH=0x2b214190L
-DIDENT
_UNIX_TIME=0x4524f0dbL -DIDENT_UID_HASH=0x7a48d90fL Agilla.nc -lm
components/NetworkInterface/NetworkInterfaceM.nc:420:2: warning: no
newline at e
nd of file
In file included from components/NetworkInterface/NetworkInterfaceC.nc:54,
from
components/NetworkInterface/NetworkInterfaceProxy.nc:56,
from components/AddressMgrC.nc:52,
from components/AgillaEngineC.nc:142,
from Agilla.nc:80:
In component `NetworkInterfaceM':
components/NetworkInterface/NetworkInterfaceM.nc:75: interface
CC2420Control not
found
components/NetworkInterface/NetworkInterfaceM.nc:75: interface
CC2420Control not
found
components/NetworkInterface/NetworkInterfaceM.nc: In function
`StdControl.init':
components/NetworkInterface/NetworkInterfaceM.nc:144: interface has no
command o
r event named `SetRFPower'
In file included from
components/NetworkInterface/NetworkInterfaceProxy.nc:56,
from components/AddressMgrC.nc:52,
from components/AgillaEngineC.nc:142,
from Agilla.nc:80:
In component `NetworkInterfaceC':
components/NetworkInterface/NetworkInterfaceC.nc: At top level:
components/NetworkInterface/NetworkInterfaceC.nc:55: component
CC2420RadioC not
found
components/NetworkInterface/NetworkInterfaceC.nc:80: cannot find
`CC2420Control'
In file included from components/ContextDiscovery/NeighborListC.nc:51,
from components/ContextDiscovery/NeighborListProxy.nc:54,
from components/AgentMgrC.nc:89,
from components/ErrorMgrC.nc:51,
from components/ErrorMgrProxy.nc:51,
from components/AgillaEngineC.nc:142,
from Agilla.nc:80:
In component `NeighborListM':
components/ContextDiscovery/NeighborListM.nc: In function
`RcvBeacon.receive':
components/ContextDiscovery/NeighborListM.nc:445: struct has no member
named `lq
i'
make: *** [exe0] Error 1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help