hi,
I have installed the tinyos-2.1.1 on ubuntu 11.04,following the
instructions on the site:
http://docs.tinyos.net/tinywiki/index.php/Installing_TinyOS_2.1.1#Twostep_install_on_your_host_OS_with_Debian_packages

I added the suggested  tinyos repository "deb
http://hinrg.cs.jhu.edu/tinyos karmic main" to the sources.list ,It is
installed successfully,
I setup the environment variable accordingly .and when I
run"tos-check-env ",it is like the following:
# tos-check-env
Path:
        /usr/local/sbin
        /usr/local/bin
        /usr/sbin
        /usr/bin
        /sbin
        /bin
        /usr/games

Classpath:
        /opt/tinyos-2.1.1/support/sdk/java/tinyos.jar
        .
rpms:
nesc:
        /usr/bin/nescc
        Version: nescc: 1.3.1

perl:
        /usr/bin/perl
        Version: v5.10.1 (*) built for x86_64-linux-gnu-thread-multi

flex:

bison:
java:
        /usr/bin/java

--> WARNING: The JAVA version found first by tos-check-env may not be
version 1.4 or version 1.5one of which is required by TOS. Please
ensure that the located Java version is 1.4 or 1.5

graphviz:
        /usr/bin/dot
        dot - graphviz version 2.26.3 (20100126.1600)

--> WARNING: The graphviz (dot) version found by tos-check-env is not
1.10. Please update your graphviz version if you'd like to use the
nescdoc documentation generator.

tos-check-env completed with errors:

--> WARNING: The JAVA version found first by tos-check-env may not be
version 1.4 or version 1.5one of which is required by TOS. Please
ensure that the located Java version is 1.4 or 1.5
--> WARNING: The graphviz (dot) version found by tos-check-env is not
1.10. Please update your graphviz version if you'd like to use the
nescdoc documentation generator.


Then I opened the Blink file,when I run the "make telosb",it works
fine,but when I run "make iris " or " make micaz",something wrong is
going   like this:

/opt/tinyos-2.1.1/apps/Blink# make iris
mkdir -p build/iris
    compiling BlinkAppC to a iris binary
ncc -o build/iris/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow
-Wnesc-all -target=iris -fnesc-cfile=build/iris/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 -finline-limit=100000
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"pangpang-virtua\" -DIDENT_USERHASH=0xeb02352fL
-DIDENT_TIMESTAMP=0x4f5d6a3bL -DIDENT_UIDHASH=0x27cbf837L
-fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/iris/wiring-check.xml BlinkAppC.nc -lm
Couldn't execute avr-gcc
make: *** [exe0] error 2



can you tell me how to solve this?I am wondering if I downloaded  the
right source or anything else .  I want to run the code on my Crossbow
iris mote ,so that is important to me,I will be grateful to any
suggestiongs,thank you !
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to