On Apr 20, 2007, at 7:04 AM, Marcel wrote:

Hello,

I'm using the latest cvs-version of tinyos 2.x. Compiling the Blink example with "make micaz sim" as described in "Lesson 11" of the tinyos 2.x tutorial generate some errors:

$ make micaz sim > error.out
In file included from /opt/tinyos-2.x/tos/lib/tossim/sim_mac.c:34,
                from /opt/tinyos-2.x/tos/lib/tossim/tos.h:89:
/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:14: warning: declaration of `link' shadows global declaration /usr/include/sys/unistd.h:97: warning: location of shadowed declaration /opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:23: warning: declaration of `link' shadows global declaration /usr/include/sys/unistd.h:97: warning: location of shadowed declaration /opt/tinyos-2.x/tos/lib/tossim/sim_gain.c: In function `sim_gain_allocate_link': /opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:160: warning: declaration of `link' shadows global declaration /usr/include/sys/unistd.h:97: warning: location of shadowed declaration
/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c: At top level:
/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:167: warning: declaration of `link' shadows global declaration /usr/include/sys/unistd.h:97: warning: location of shadowed declaration In file included from /opt/tinyos-2.x/tos/platforms/mica/sim/ HilTimerMilliC.nc:4
1,
                from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                from BlinkAppC.nc:46:
In component `AlarmCounterMilliP':
/opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:30: `ATM128_CLK8_DIVIDE_32' undeclared here (not in a function)
make: *** [sim-exe] Error 1

We're in the midst of preparing the RPM for 2.0.1, and so there are a few tweaks going on as code moves around. Please be patient. Alternatively, check out the code from two weeks ago

cvs up -D "2 weeks ago"

Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to