Make sure the file actually exists. The error says it can't find a tinyos-2.x rules file, but it looks like you have posted a tinyos-1.x file.
MS John Smith wrote: > Hi again, > > I'm trying to have my simple program compile. > > This is the error that I'm getting. > > $ make > ../Makerules:28: "/opt/tinyos-2.x/support/make/Makerules": No such file > or directory > make: *** No rule to make target > `"/opt/tinyos-2.x/support/make/Makerules"'. Stop. > > I'm confused. I set the variable Makerules... so I don't understand why > it's not compiling. > > tinyos-1.x/apps/Makerules: > #-*-Makefile-*- vim:syntax=make > #$Id: Makerules,v 1.37 2004/11/07 15:22:14 mdwelsh Exp $ > > ###################################################################### > # Base Makefile for nesC apps. > # > # Created: 6/2002, Philip Levis <[email protected] > <mailto:[email protected]>> > # > # Updated: 6/18/2002 Rob von Behren <[email protected] > <mailto:[email protected]>> > # Multi-platform support > # > # Updated: 6/20/2002 David Gay <[email protected] > <mailto:[email protected]>> > # Compile via gcc, make tos.th <http://tos.th> system-wide, not > app-wide > # (still need to ponder group selection) > # > # Updated: 6/27/2003 Jaein Jeong <[email protected] > <mailto:[email protected]>> > # In-network programming support for mica2, mica2dot platforms > # > ###################################################################### > > *export MAKERULES="/opt/tinyos-2.x/support/make/Makerules"* > > ifndef MAKERULES > MAKERULES=$(shell ncc -print-tosdir)/../apps/Makerules > endif > ifndef QUELL_RECURSIVE_TINYOS_APPS_MAKERULES > QUELL_RECURSIVE_TINYOS_APPS_MAKERULES=1 > include $(MAKERULES) > else > > # this needs to be -dlpt=3 on thinkpads > # PROGRAMMER_EXTRA_FLAGS := > # We don't actually set it here, so you can either set the > # PROGRAMMER_EXTRA_FLAGS environment variable (recommended) or > # define it in ../Makelocal > > -include $(shell ncc -print-tosdir)/../apps/Makelocal > > # User configuration: > # Specify user values in Makelocal to override the defaults here > > ifndef DEFAULT_LOCAL_GROUP > DEFAULT_LOCAL_GROUP := 0x7d > > .................................... > > What am I missing? > > I looked at this source for information. > > http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-January/030286.html > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
