TOSSIM only support micaz and does not support mica2. -- best regards,
Faisal Aslam Ph.D. Candidate University of Freiburg, Germany http://cone.informatik.uni-freiburg.de/people/aslam/ francisco cassimiro wrote: > Hello folks, > I have a problem: My application for TOSSIM compiles correctly (make > micaz sim-sf), but when it does not compile for Mica2. I use ubuntu 9.04 > This is the output of the terminal when I put make Mica2: > > In file included from DispatcherC.nc:6, > from MiddlewareC.nc:8: > In interface `SplitFase': > SplitFase.nc:4: syntax error before `*' > SplitFase.nc:5: syntax error before `*' > In file included from DispatcherC.nc:9, > from MiddlewareC.nc:8: > In component `ServicosM': > ServicosM.nc:17: syntax error before `*' > ServicosM.nc: In function `ControlServices.init': > ServicosM.nc:19: `msg' undeclared (first use in this function) > ServicosM.nc:19: (Each undeclared identifier is reported only once > ServicosM.nc:19: for each function it appears in.) > ServicosM.nc:19: `payloaP' undeclared (first use in this function) > ServicosM.nc: At top level: > ServicosM.nc:23: syntax error before `*' > ServicosM.nc: In function `ControlService.finish': > ServicosM.nc:25: `msg' undeclared (first use in this function) > ServicosM.nc:25: `payload' undeclared (first use in this function) > In file included from DispatcherC.nc:9, > from MiddlewareC.nc:8: > In component `RoteamentoM': > RoteamentoM.nc: At top level: > RoteamentoM.nc:38: conflicting types for `ControlRouting.init' > SplitFase.nc:4: previous declaration of `ControlRouting.init' > RoteamentoM.nc:107: conflicting types for `Control.init' > SplitFase.nc:4: previous declaration of `Control.init' > In file included from DispatcherC.nc:9, > from MiddlewareC.nc:8: > In component `DisseminationM': > DisseminationM.nc:29: conflicting types for `ControlDissimination.init' > SplitFase.nc:4: previous declaration of `ControlDissimination.init' > In file included from > /opt/tinyos-2.1.0/tos/lib/net/tymo/dymo/DymoServiceC.nc:34, > from > /opt/tinyos-2.1.0/tos/lib/net/tymo/dymo/DymoNetworkC.nc:38, > from DispatcherC.nc:11, > from MiddlewareC.nc:8: > In component `DymoEngineM': > /opt/tinyos-2.1.0/tos/lib/net/tymo/dymo/DymoEngineM.nc: In function > `incr_seqnum': > /opt/tinyos-2.1.0/tos/lib/net/tymo/dymo/DymoEngineM.nc:83: warning: > decimal constant is so large that it is unsigned > In file included from DispatcherC.nc:17, > from MiddlewareC.nc:8: > In component `MonitorTemperatureM': > MonitorTemperatureM.nc: At top level: > MonitorTemperatureM.nc:28: conflicting types for > `ControlMonitorTemperature.init' > SplitFase.nc:4: previous declaration of `ControlMonitorTemperature.init' > MonitorTemperatureM.nc: In function `Read.readDone': > MonitorTemperatureM.nc:38: warning: passing argument 2 of > `Packet.getPayload' makes integer from pointer without a cast > MonitorTemperatureM.nc: In function `Receive.receive': > MonitorTemperatureM.nc:76: warning: passing argument 2 of > `Packet.getPayload' makes integer from pointer without a cast > In file included from MiddlewareC.nc:8: > In component `Manager': > Manager.nc: At top level: > Manager.nc:25: conflicting types for `ControlDispatcher.finish' > SplitFase.nc:5: previous declaration of `ControlDispatcher.finish' > Manager.nc: In function `ControlDispatcher.finish': > Manager.nc:30: warning: passing argument 2 of `Packet.getPayload' > makes integer from pointer without a cast > make: ** [exe0] Erro 1 > > > Thank you all! > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
