What steps will reproduce the problem?
1. Add ActiveMessageC to Blink
2. compile: make telosb cc2420x
I get this:
In file included from
/home/morten/workspace/tinyos/tos/lib/rfxlink/layers/LowPowerListeningLayerC.nc:
60,
from /home/morten/workspace/tinyos/tos/platforms/telosa/chips/cc2420x/tmicro/am/ActiveMessageC.nc:55,
from BlinkAppC.nc:60:
In component `LowPowerListeningLayerP':
/home/morten/workspace/tinyos/tos/lib/rfxlink/layers/LowPowerListeningLayerP.nc:
92: syntax error before `('
make: *** [exe0] Error 1
It seems like the LISTEN enum is previously defined on this platform. Changing
the LISTEN enum in LowPowerListeningLayerP to e.g. LISTEN_WAIT will fix the
issue.
Original issue reported on code.google.com by mortenthansen on 2 Sep 2011 at 9:12
Original issue reported on code.google.com by
mortenthansen
on 2 Sep 2011 at 9:12