[Smac-users] tinyos compilation errors

Wei Ye weiye at ISI.EDU
Mon Sep 13 08:58:55 PDT 2004


You need to define the following macro, when you use S-MAC's
compatibility mode with Berkeley's stack.

SMAC_USE_COUNTER_1

Please look at apps/Chirp/config.h for details.

-Wei

On Mon, 2004-09-13 at 05:12, Christian Flügel wrote:
> Hello all,
> 
> i am trying to compile the s-mac source from the tinyos CVS-tree. So
> far i have not been able to get it to run.
> 
> I have included the S-MAC Component in my configuration via components
> SMAC and included the respective directories in my makefiles (via
> include and pflags directives). I have copied the respective sections
> from the Makesmac file
> 
> I get several error messages:
> 
> SMACWrapper.nc: In function `Send.send':
> SMACWrapper.nc:86: `PHY_MAX_PKT_LEN' undeclared (first use in this
> function)
> SMACWrapper.nc:86: (Each undeclared identifier is reported only once
> SMACWrapper.nc:86:
> for each function it appears in.)
> ClockSMACM.nc: At top level: ClockSMACM.nc:110: redefinition of
> `__vector_15'
> HPLClock.nc:167: previous declaration of `__vector_15'
> 
> What is it that i do wrong?
> 
> Regards
> 
> Christian
> 
> ______________________________________________________________________
> _______________________________________________
> Smac-users mailing list
> Smac-users at mailman.isi.edu
> http://mailman.isi.edu/mailman/listinfo/smac-users



More information about the Smac-users mailing list