Respected Sir,

 

              I have successfully installed tinyos2.x environment on windowsXP platform.On compiling the blink application i am getting this kind of an error:

 

$ make mica2
make: Warning: File `/opt/tinyos-2.x/support/make/avr/dapa.extra' has modificati
on time 1.9e+08 s in the future
mkdir -p build/mica2
    compiling BlinkAppC to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow -Wnesc-all
-target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -DIDENT_PROGRAM_NAME=
\"BlinkAppC\" -DIDENT_USER_ID=\"khursheed\" -DIDENT_HOSTNAME=\"khan-bd8264dc86\"
 -DIDENT_USER_HASH=0x9f05bdecL -DIDENT_UNIX_TIME=0x3a4fdb98L -DIDENT_UID_HASH=0x
cc03256fL -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='
referenced(interfacedefs, components)' -fnesc-dumpfile=build/mica2/wiring-check.
xml BlinkAppC.nc -lm
Couldn't execute avr-gcc
make: *** [exe0] Error 2

 

I can't really figure out what this means .My tinyos2x.sh file in etc\profile.d looks like this:

export TOSROOT='/opt/tinyos-2.x'

export TOSROOT="$TOSROOT"

export TOSDIR='/opt/tinyos-2.x/tos'

export TOSDIR="$TOSDIR"

export CLASSPATH='/opt/tinyos-2.x/support/sdk/java/tinyos.jar'

export CLASSPATH="$CLASSPATH;."

export MAKERULES='/opt/tinyos-2.x/support/make/Makerules'

export MAKERULES="$MAKERULES"

export PYTHONPATH=”$/opt/tinyos-2.x/support/sdk/python”

 

I have installed all the avr,nesc,tinyostree and tinyosnoarch tools in opt/tinyos-2.x/tools in D-drive and JDK1.5 in C:/program files directory.Am i suppose to include path for JDK and tools as well in tinyos2.x.sh file.

I even  tried upgrading new avr-gcc tool but it didn't solve my problem ,it gives back the same error.

I will be glad if you can help me out with some suggetion.

 

Thanking you.

Mariya.



Meet people who discuss and share your passions. Join them now.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to