Hello all,
I am a newbie to TinyOS.
I am trying to install TinyOS.2.1.1 on Ubuntu 11.10.
I followed the instructions on the site:
http://docs.tinyos.net/tinywiki/index.php/Installing_TinyOS_2.1.1#Two-step_install_on_your_host_OS_with_Debian_packages
I setup the environment variable, and then I ran "tos-check-env".
I got the following. I am surprised its complaining about Java JDK 1.6 because
the instructions said to install
JDK 1.6. I have included the output of "tos-check-env below."
My problem is that when I do "make micaz" in the Blink directory, I get screen
after screen of errors.
It starts like this:
mkdir -p build/micaz
compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -fnesc-separator=__ -Wall -Wshadow -Wnesc-all
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-DIDENT_APPNAME=\"BlinkAppC\"
-DIDENT_USERNAME=\"ali\" -DIDENT_HOSTNAME=\"ali\" -DIDENT_USERHASH=0x61af8b5cL
-DIDENT_TIMESTAMP=0x4f4407ccL -DIDENT_UIDHASH=0x0c815afdL -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)'
-fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm
/usr/local/lib/ncc/nesc_nx.h:62:22: error: inttypes.h: No such file or directory
/usr/local/lib/ncc/nesc_nx.h:281: syntax error before `__nesc_ntoh_uint8'
/usr/local/lib/ncc/nesc_nx.h:286: syntax error before `__nesc_hton_uint8'
and 1500 lines later, it ends like this:
/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:54: no match
/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:55: cannot find `Counter'
In component `TimerMilliC':
/opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:44: too many arguments
make: *** [exe0] Error 1
I saw that someone had this same problem, but it wasn't clear how to resolve it.
I hope someone can help please, I am on a very tight schedule.
Thanks you very much
Ali
>> Output of "tos-check-env"
Path:
/opt/msp430/bin
/opt/jflashmm
/usr/lib/lightdm/lightdm
/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/local/bin/nescc
Version: nescc: 1.3.2
perl:
/usr/bin/perl
Version: v5.12.4) built for i686-linux-gnu-thread-multi-64int
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.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help