* Avelorn Bazyl [2010-06-21 11:26 +0200]:
> Please if anyone have any idea why I am having problems during compilation
> of my code described below please HELP me! I am trying to crack this problem
> by analyzing my code and any other programs that I can put my hands on but
> till now I haven't been able to solve it.
Well, let's see. What is the first error message from the compiler?
> > In file included from DiffTestNlistM.nc:27,
> > from DiffTestNlist.nc:16:
> > In interface `Filter':
> > /home/xubuntos/workspace/DirectedDiffusion/src/interfaces/Filter.nc:6:
> > syntax error before `*'
> > /home/xubuntos/workspace/DirectedDiffusion/src/interfaces/Filter.nc:10:
> > syntax error before `*'
Ok, that's two error messages, but they appear to be of the same kind.
So what's in lines 6 and 10 of Filter.nc, just before '*'? I'll bet it's
'message_t' (the Filter.nc you provided seems to be missing the top line).
So why is message_t a syntax error? Well, maybe because message_t is not
declared here? You can fix this by including the header file in which
message_t is declared, i.e. message.h.
The rest of the error messages about conflicting types may be just the
result of these two errors.
And, by the way, you might want to read up on the use of unique and
uniqueCount. I doubt that
> DiffTestNlistM.Filter1 -> OnePhasePullM.Filter[uniqueCount("Filter1")];
> DiffTestNlistM.Filter2 -> OnePhasePullM.Filter[uniqueCount("Filter2")];
does what you had in mind.
bye
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help