[Tinyos-help] compiling error !!!
fatima zohra
misszola at hotmail.com
Sun Jan 20 13:52:56 PST 2008
hello,
i tried to compile an application (Hierarchical Tree Construction, HTC) by using Tossim simulator in XbunTOS 2.0.
i used the command "make pc" and this is my error message:
Makefile:3: /opt/tinyos-2.x:/opt/tinyos-1.x/apps/Makerules: No such file or directorymake: *** No rule to make target `/opt/tinyos-2.x:/opt/tinyos-1.x/apps/Makerules'. Stop.
i had the same message by using "make micaz sim"
in the application makefile there is include $(TOSROOT)/apps/Makerules
with TOSROOT = /opt/tinyos-2.x
i changed my Makefile like the Blink application one (which was compiled successefully) by using include $(MAKERULES)
then, i get this messages
HTC.nc:19: component Main not found
HTC.nc:19: component GenericComm not found
In file included from HTC.nc:19:
In component `TreeBuilderM':
TreeBuilderM.nc:18: interface ReceiveMsg not found
TreeBuilderM.nc:19: interface SendMsg not found
TreeBuilderM.nc:27: syntax error before `buffer'
TreeBuilderM.nc:34: syntax error before `StdControl'
TreeBuilderM: `sendInitTreeReq.runTask' not implemented
TreeBuilderM: `relayTreeReq.runTask' not implemented
TreeBuilderM: `StdControl.start' not implemented
TreeBuilderM: `StdControl.stop' not implemented
In component `HTC':
HTC.nc:21: cannot find `StdControl'
HTC.nc:22: cannot find `Control'
HTC.nc:25: cannot find `ReceiveMsg'
HTC.nc:26: cannot find `SendMsg'
make: *** [sim-exe] Error 1
so, i which i can find a solution for this problem.
your help will be greatly appreciated.
best regards
LaMisse.
_________________________________________________________________
Appelez vos amis de PC à PC -- C'EST GRATUIT
http://get.live.com/messenger/overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080120/588e87a4/attachment.html
More information about the Tinyos-help
mailing list