I compile /apps/tests/TestMultihopLqi with the following errors. My platform is
micaz
----------------------------------------------------------------------
opt/tinyos-2.1.1/apps/tests/TestMultihopLqi$ make micaz
mkdir -p build/micaz
compiling MultihopOscilloscopeAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -fnesc-separator=__ -Wall -Wshadow -Wnesc-all
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-I/opt/tinyos-2.1.1/tos/lib/net/ -I/opt/tinyos-2.1.1/tos/lib/net/lqi
-I/opt/tinyos-2.1.1/tos/chips/cc2420/interfaces
-DIDENT_APPNAME=\"MultihopOscillo\" -DIDENT_USERNAME=\"cui2\"
-DIDENT_HOSTNAME=\"cui2-desktop\" -DIDENT_USERHASH=0xd75161f8L
-DIDENT_TIMESTAMP=0x4d05e1eeL -DIDENT_UIDHASH=0xe992a101L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml
MultihopOscilloscopeAppC.nc -lm
CC2420ActiveMessageC.nc:1:22: error: sim_gain.h: No such file or directory
CC2420ActiveMessageC.nc:2:24: error: sim_tossim.h: No such file or directory
In file included from
/opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:76,
from /opt/tinyos-2.1.1/tos/system/AMQueueP.nc:51,
from /opt/tinyos-2.1.1/tos/system/DirectAMSenderC.nc:58,
from /opt/tinyos-2.1.1/tos/system/AMSenderC.nc:61,
from /opt/tinyos-2.1.1/tos/lib/net/lqi/MultiHopLqiP.nc:100,
from /opt/tinyos-2.1.1/tos/lib/net/lqi/CollectionC.nc:57,
from MultihopOscilloscopeAppC.nc:35:
In component `CC2420ActiveMessageC':
CC2420ActiveMessageC.nc: In function `Packet.getRssi':
CC2420ActiveMessageC.nc:43: implicit declaration of function `sim_gain_value'
CC2420ActiveMessageC.nc: In function `Packet.getLqi':
CC2420ActiveMessageC.nc:55: implicit declaration of function `sim_gain_value'
CC2420ActiveMessageC.nc:61: implicit declaration of function `sim_random'
CC2420ActiveMessageC.nc: At top level:
CC2420ActiveMessageC.nc:9: `Packet.setNetwork' not implemented
CC2420ActiveMessageC.nc:9: `Packet.getNetwork' not implemented
In component `ActiveMessageC':
/opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:78: no match
/opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:80: no match
/opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:81: cannot find
`Receive'
/opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:82: cannot find `Snoop'
/opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:83: no match
/opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:84: no match
/opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:85: no match
/opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:86: no match
make: *** [exe0] error 1
2010-12-13
cui
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help