Karthik,

it is not necessary to compile applications as root and it is not
desirable way to work under *nix.

Did you setup the environment variables?
At least you should have:
export TOSROOT=/opt/tinyos-2.1.0
export TOSDIR=$TOSROOT/tos
export MAKERULES=$TOSROOT/support/make/Makerules

Best wishes,
Andrey



Karthik Ramgopal wrote:
> In continuation to yesterday's responses on this list I have tried out
> the following:
> 
> Went to /opt/tinyos-2.1.0/apps/BaseStation
> 
> executed make micaz sim (as root)
> 
> Error thrown up was: make: *** No rule to make target `micaz'.  Stop.
> 
> Contents of Makefile are:
> 
> COMPONENT=BaseStationC
> CFLAGS += -DCC2420_NO_ACKNOWLEDGEMENTS
> CFLAGS += -DCC2420_NO_ADDRESS_RECOGNITION
> 
> include $(MAKERULES)
> 
> What could be the problem? Please help.
> 
> Regards,
> Karthik
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to