I understand your pain. Been there.....
On Thu, Oct 17, 2013 at 10:53 AM, Alaios <[email protected]> wrote: > 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. > > 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... > It won't always get right on top of the error but it is really close. > I also tried make verbose telosb but even the verbose messages did not > help me.... > verbose does something different. It will tell what files it is looking at but doesn't make nesc tell you anything else about what it is seeing inside the file. > > How do you read the compilation errors so to fix problems after > compilation? > Well it is telling you the first place it isn't happy is line 2 which is the line that says "uses interface Boot,Leds;" sometimes you just have to tweak the line it complains about to see how it changes things. That's how I deal with stuff like this anyway. eric > > Regards > > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
