anandmudgerikar / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

telosb CC2420X compile error with LPL app #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
Fixed.

Original comment by mmar...@gmail.com on 2 Sep 2011 at 11:06