Hi all,
one of the things that bothers me many times is understaning nesc error
messages I get.
I made a very simple example to show exactly what I mean.
I created a very simple tinyos program that contains only one configuration and
module file.
# Configuration File
configuration ButtonAppC{
}
implementation{
components ButtonC, MainC;
ButtonC.Boot -> MainC.Boot;
}
# Module file
module ButtonC{
uses interface Boot;
}
implementation{
event void Boot.booted()
{
//The entry point of the program
}
}
then if I do make telos b (I only made the Makefile) it compiles correctly. Now
I am only introducing a mistake on the module file as:
module ButtonC{
uses interface Boot,Leds;
}
implementation{
event void Boot.booted()
{
//The entry point of the program
}
}
now I am compiling with make telosb.
and I Get the following message
In file included from ButtonAppC.nc:4:
In component `ButtonC':
ButtonC.nc:2: syntax error before `='
ButtonC.nc:7: unknown interface `Boot'
In component `ButtonAppC':
ButtonAppC.nc:6: cannot find `Boot'
make: *** [exe0] Error 1
what it bothers me is that what I am getting has nothing to do with the new
word I introduced: Leds
but something that it would not allow me to fix it...
I also tried make verbose telosb but even the verbose messages did not help
me....
How do you read the compilation errors so to fix problems after compilation?
Regards_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help