Hi,

I upgraded cygwin with the files given here http://www.tinyos.net/scoop/special/howto_upgrade_cygwin

Next, I downloaded the latest nesc rpm (http://www.tinyos.net/dist-1.1.0/tinyos/windows/nesc-1.1.2b-1.cygwin.i386.rpm) and did a rpm -Uvh --ignoreos --force to upgrade.

I repeated that with the tinyos-1.1.15 rpm (http://www.tinyos.net/dist-1.1.0/tinyos/windows/tinyos-1.1.15Dec2005cvs-1.cygwin.noarch.rpm).

I then extracted the Cricket.tgz tarball given with the cricket development kit in the /cygwin/opt folder (gunzip < Cricket.tgz | tar xvf - )

Now, when I navigate to tinyos-1.x/apps/Cricket/ and execute make cricket, I get the following. Anybody have a fix for this? Have I extracted the tarball incorrectly?

Sankar Gorthi.


$ make cricket
mkdir -p build/cricket
    compiling Cricket to a cricket binary
ncc -o build/cricket/main.exe -Os -Wl,-u,vfprintf -lprintf_flt -lm -finline-lim it=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=cricket -fne sc-cfile=build/cricket/app.c -board=micasb -DIDENT_PROGRAM_NAME=\"Cricket\" -DID ENT_USER_ID=\"WSN\" -DIDENT_HOSTNAME=\"acs-arri-wsn\" -DIDENT_USER_HASH=0x8bc1c1 abL -DIDENT_UNIX_TIME=0x43f2d009L -DIDENT_UID_HASH=0x2dc3de5dL Cricket.nc -lm
CricketM.nc: In function `Serial.Receive':
CricketM.nc:777: warning: decimal constant is so large that it is unsigned
CricketM.nc:778: warning: decimal constant is so large that it is unsigned
D:/tinyos/cygwin/opt/tinyos-1.x/tos/system/RealMain.nc: In function `main':
D:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/StdControl.nc:63: warning: `resul
t' might be used uninitialized in this function
/cygdrive/c/DOCUME~1/WSN/LOCALS~1/Temp/ccOG5HBX.o: In function `main':
/cygdrive/c/DOCUME~1/WSN/LOCALS~1/Temp/ccOG5HBX.o(.text+0x8e6): undefined refere
nce to `TOSH_sleep'
make: *** [exe0] Error 1



--
Peace cannot be kept by force; it can only be achieved by understanding - Albert Einstein
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to