|
Hi all, I’m trying to simulate communication between two nodes
in TOSSIM by writing an application SendReceive. SendReceive.nc is the
configuration file and SendReceiveM.nc is the module. I have both these files
along with other necessary files in a sub-folder under tinyos-1.x/apps directory. When I try to
compile this application by using “make pc” command, I get the
following error. Can anyone please help me understand what the problem is? $ make pc compiling SendReceive to
a pc binary ncc -o build/pc/main.exe
-g -O0 -board=micasb -pthread -target=pc -Wall -Wshadow SendReceive.nc:24: cannot
find `SendReceiveM' SendReceive.nc:27: cannot
find `SendReceiveM' SendReceive.nc:28: cannot
find `SendReceiveM' make: ***
[build/pc/main.exe] Error 1 Thanks in advance, Anu The contents of the configuration file are given below: includes CounterMessage; configuration SendReceive
{
provides {
interface StdControl; } uses {
interface Leds;
interface ReceiveMsg;
interface SendMsg;
interface Timer; } } implementation { //
COMPONENTS
components //
WIRING Main.StdControl
-> SendReceiveM.StdControl;
Main.StdControl -> TimerC.StdControl;
Main.StdControl -> GenericComm.Control;
SendReceiveM.Timer -> TimerC.Timer[unique("Timer")];
SendReceiveM.Leds -> LedsC.Leds; } |
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
