Thanks Chandresh for your help, however the problem persists. I reinstalled avr-gcc via cygwin setup.exe as suggested by the TinyOS FAQ but I still get the "avr-gcc : .nc no such file or directory" error. TOSCHECK proves that the package is there.
Am I looking at the right place by trying to fix the makefile of TinyDB?
Right now it contains the following lines:
MIG=mig java -target=mica2
TASKINCLUDES = -I $(TOS)/lib/Commands -I $(TOS)/lib/Util -I $(TOS)/lib/Attributes -I $(TOS)/lib/TinyDB -I $(TOS)/sensorboards/micasb -I $(TOS)/lib/TinyDB/Aggregates -I $(TOS)/lib/MintRoute -I $(TOS)/lib/Queue -I$(TOS)/lib/FS/ -DBOARD_MICAWB -I $(TOS)/../apps/TASKApp
INCLUDES = $(TASKINCLUDES)
include MakeInclude
TASKINCLUDES = -I $(TOS)/lib/Commands -I $(TOS)/lib/Util -I $(TOS)/lib/Attributes -I $(TOS)/lib/TinyDB -I $(TOS)/sensorboards/micasb -I $(TOS)/lib/TinyDB/Aggregates -I $(TOS)/lib/MintRoute -I $(TOS)/lib/Queue -I$(TOS)/lib/FS/ -DBOARD_MICAWB -I $(TOS)/../apps/TASKApp
INCLUDES = $(TASKINCLUDES)
include MakeInclude
Theres' no "include ../makerules" or anything like that. I tried to manually set this by pointing it to other directory's makerules, eg:
!
include
$(TOSROOT)/tools/make/Makerules
, but that does not work and ends up telling me that the avr-gcc is missing (again...although I reintsalled thru cygwin).
Help is VERY MUCH appreciated!!
Matt
Dear Matthew ,Try following:addPFLAG+= -DCC1K_DEF_FREQ916700000 in opt/tinyos-1.x/apps/makerules file at the end.Set baud rate as 57600 in opt/tinyos-1.x/tools/java/net/tinyos/tinydb/tinydb.conf, if not set.
Hope this will work,assuming your classpath is set correctly.Cheers,CHandresh
Matthew Y <[EMAIL PROTECTED]> wrote:I need urgent help!!! I am a student working on wireless sensor network for thesis. Time is running out and we still can't fix this small bug. I am trying to implement a GUI interface using TinyDB to demonstreate WSN in an easy-to-management way. We have chosen to use TinyDB but have run into many problems installing it.I upgraded my TinyOS to 1.1.7 and TinyDB to 1.1.3 because they are known to be compatible. I had trouble compiling TinyDB 1.1.3 with Tiny 1.1.1 and that's the reason I upgraded them.Now, I can't program the motes using tinyDB. It says that there's no make rule for mica or mica2 (the motes I am using). I saw that the makefile in TinyDB directory has no reference to makerule, so I manually put one into folder and make a pointer to it in MakeFile. However now it says$ make mica2 install.0
mkdir -p build/mica2
compiling&n! bsp; to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_A
M_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=mica
sb -DIDENT_USER_HASH=0x961336c2L -DIDENT_UNIX_TIME=0x440b74c2L .nc -lm
avr-gcc: .nc: No such file or directory
make: *** [exe0] Error 1I updated my avr-gcc to 3.3 but the problem persists.Any help is very, very much appreciated.
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze. _______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
