I get these errors (no errors or warnings present with "make micaz")

In file included from /opt/tinyos-2.x/tos/lib/net/TrickleTimerMilliC.nc:50,
                from /opt/tinyos-2.x/tos/lib/net/DisseminationTimerP.nc:49,
                from /opt/tinyos-2.x/tos/lib/net/DisseminatorC.nc:66,
                from EasyDisseminationAppC.nc:8:
In component `TrickleTimerImplP':
/opt/tinyos-2.x/tos/lib/net/TrickleTimerImplP.nc: In function `adjustTimer':
/opt/tinyos-2.x/tos/lib/net/TrickleTimerImplP.nc:215: warning: declaration of `t
ime' shadows global declaration
/usr/include/time.h:49: warning: location of shadowed declaration
/opt/tinyos-2.x/tos/lib/net/TrickleTimerImplP.nc: In function `generateTime':
/opt/tinyos-2.x/tos/lib/net/TrickleTimerImplP.nc:247: warning: declaration of `t
ime' shadows global declaration
/usr/include/time.h:49: warning: location of shadowed declaration
In component `TossimPacketModelC':
/opt/tinyos-2.x/tos/lib/tossim/TossimPacketModelC.nc: In function `startDoneTask
.runTask':
/opt/tinyos-2.x/tos/lib/tossim/TossimPacketModelC.nc:85: Control.startDone not c
onnected
/opt/tinyos-2.x/tos/lib/tossim/TossimPacketModelC.nc: In function `stopDoneTask.
runTask':
/opt/tinyos-2.x/tos/lib/tossim/TossimPacketModelC.nc:90: Control.stopDone not co
nnected
make: *** [sim-exe] Error 1

What is the problem?

Another thing, I couldn't compile the program with the makefile
provided, I had to chage
CFLAGS += -I$(TOSDIR)/lib/net
to
PFLAGS += -I$(TOSDIR)/lib/net

Thanks in advance,

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

Reply via email to