my problem was that I want able to get any data from the sensors when trying
the "Oscilloscope program from Moteiv".
as for javax.comm, I have installed that and when i execute "toscheck" it
says " javax.comm ok". Plus, I have the  javax.servlet.jar in the classpath.

I followed the wiki link you sent and tried the steps to install TOSComm and
I ended up with tons of errors which look like this (pasted below)

does this mean there is a problem with my compiler (c/java) ??

ankur

************************************************************************

/usr/include/linux/signal.h:2:2: warning: #warning "You should include <
signal.h>. This time I will do it for you."
/usr/include/linux/signal.h:4:20: error: #include nested too deeply
In file included from NativeSerial_linux.cpp:512:
build_linux/TOSComm_wrap.cxx:108:17: error: jni.h: No such file or directory
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstddef:52:
error: '::ptrdiff_t' has not been declared
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstddef:53:
error: '::size_t' has not been declared
/usr/include/string.h:39: error: 'size_t' has not been declared
/usr/include/string.h:43: error: 'size_t' has not been declared
/usr/include/string.h:52: error: 'size_t' has not been declared
/usr/include/string.h:59: error: 'size_t' has not been declared
/usr/include/string.h:62: error: 'size_t' has not been declared
/usr/include/string.h:66: error: 'size_t' has not been declared
/usr/include/string.h:77: error: 'size_t' has not been declared
/usr/include/string.h:88: error: 'size_t' has not been declared
/usr/include/string.h:96: error: 'size_t' has not been declared
/usr/include/string.h:102: error: 'size_t' has not been declared
/usr/include/string.h:109: error: 'size_t' does not name a type
/usr/include/string.h:124: error: 'size_t' does not name a type
/usr/include/string.h:138: error: 'size_t' has not been declared
/usr/include/string.h:184: error: 'size_t' does not name a type
/usr/include/string.h:188: error: 'size_t' does not name a type
/usr/include/string.h:225: error: 'size_t' has not been declared
/usr/include/string.h:226: error: 'size_t' has not been declared
/usr/include/string.h:232: error: 'size_t' has not been declared
/usr/include/string.h:235: error: 'size_t' has not been declared
/usr/include/string.h:242: error: 'size_t' does not name a type
/usr/include/string.h:249: error: 'size_t' does not name a type
/usr/include/string.h:281: error: 'size_t' has not been declared
/usr/include/string.h:288: error: 'size_t' has not been declared
/usr/include/string.h:292: error: 'size_t' has not been declared
/usr/include/string.h:296: error: 'size_t' has not been declared
/usr/include/string.h:299: error: 'size_t' has not been declared
/usr/include/string.h:329: error: 'size_t' has not been declared
/usr/include/string.h:341: error: 'size_t' has not been declared
/usr/include/string.h:370: error: 'size_t' has not been declared
/usr/include/string.h:373: error: 'size_t' has not been declared
/usr/include/string.h:380: error: 'size_t' has not been declared
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstring:89:
error: '::strxfrm' has not been declared
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstring:90:
error: '::strcspn' has not been declared
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstring:91:
error: '::strspn' has not been declared
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstring:95:
error: '::strlen' has not been declared
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstring:100:
error: 'size_t' has not been declared
/usr/include/stdlib.h:140: error: 'size_t' does not name a type
/usr/include/linux/time.h:10: error: 'time_t' does not name a type
/usr/include/linux/time.h:16: error: 'time_t' does not name a type
/usr/include/linux/time.h:17: error: 'suseconds_t' does not name a type
/usr/include/bits/time.h:69: error: redefinition of 'struct timeval'
/usr/include/linux/time.h:15: error: previous definition of 'struct timeval'
/usr/include/bits/pthreadtypes.h:50: error: 'size_t' does not name a type
/usr/include/bits/pthreadtypes.h:53: error: 'size_t' does not name a type
/usr/include/stdlib.h:450: error: 'size_t' has not been declared
/usr/include/stdlib.h:480: error: 'size_t' has not been declared
/usr/include/stdlib.h:584: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:584: error: expected ',' or ';' before 'throw'
/usr/include/stdlib.h:586: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:586: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:586: error: initializer expression list treated as
compound expression
/usr/include/stdlib.h:587: error: expected ',' or ';' before 'throw'
/usr/include/stdlib.h:595: error: 'size_t' has not been declared
/usr/include/alloca.h:33: error: 'size_t' was not declared in this scope
/usr/include/alloca.h:33: error: expected ',' or ';' before 'throw'
/usr/include/stdlib.h:611: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:611: error: expected ',' or ';' before 'throw'
/usr/include/stdlib.h:616: error: 'size_t' has not been declared
/usr/include/stdlib.h:616: error: 'size_t' has not been declared
/usr/include/stdlib.h:768: error: 'size_t' has not been declared
/usr/include/stdlib.h:768: error: 'size_t' has not been declared
/usr/include/stdlib.h:773: error: 'size_t' has not been declared
/usr/include/stdlib.h:773: error: 'size_t' has not been declared
/usr/include/stdlib.h:846: error: 'size_t' has not been declared
/usr/include/stdlib.h:849: error: 'size_t' has not been declared
/usr/include/stdlib.h:853: error: 'size_t' has not been declared
/usr/include/stdlib.h:857: error: 'size_t' has not been declared
/usr/include/stdlib.h:866: error: 'size_t' has not been declared
/usr/include/stdlib.h:870: error: 'size_t' has not been declared
/usr/include/stdlib.h:877: error: 'size_t' does not name a type
/usr/include/stdlib.h:880: error: 'size_t' does not name a type
/usr/include/stdlib.h:943: error: 'size_t' has not been declared
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstdlib:113:
error: '::mbstowcs' has not been declared
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstdlib:125:
error: '::wcstombs' has not been declared
/usr/include/gconv.h:72: error: 'size_t' has not been declared
/usr/include/gconv.h:88: error: 'size_t' has not been declared
/usr/include/gconv.h:97: error: 'size_t' has not been declared
/usr/include/gconv.h:174: error: 'size_t' does not name a type
/usr/include/libio.h:354: error: 'size_t' has not been declared
/usr/include/libio.h:363: error: 'size_t' has not been declared
/usr/include/libio.h:479: error: 'size_t' does not name a type
/usr/include/stdio.h:284: error: 'size_t' has not been declared
/usr/include/stdio.h:290: error: 'size_t' has not been declared
/usr/include/stdio.h:302: error: 'size_t' has not been declared
/usr/include/stdio.h:309: error: 'size_t' has not been declared
/usr/include/stdio.h:351: error: 'size_t' has not been declared
/usr/include/stdio.h:355: error: 'size_t' has not been declared
/usr/include/stdio.h:560: error: 'size_t' has not been declared
/usr/include/stdio.h:563: error: 'size_t' has not been declared
/usr/include/stdio.h:573: error: 'size_t' has not been declared
/usr/include/stdio.h:603: error: 'size_t' does not name a type
/usr/include/stdio.h:609: error: 'size_t' does not name a type
/usr/include/stdio.h:631: error: 'size_t' does not name a type
/usr/include/stdio.h:633: error: 'size_t' does not name a type
/usr/include/bits/stdio.h:102: error: 'size_t' has not been declared
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstdio:114:
error: '::fread' has not been declared
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/cstdio:120:
error: '::fwrite' has not been declared
/usr/include/iconv.h:43: error: 'size_t' does not name a type
/usr/include/linux/rbtree.h:128: error: expected ',' or '...' before 'new'
/usr/include/sys/time.h:56: error: redefinition of 'struct timezone'
/usr/include/linux/time.h:20: error: previous definition of 'struct
timezone'
/usr/include/sys/time.h:94: error: expected identifier before numeric
constant
/usr/include/sys/time.h:94: error: expected `}' before numeric constant
/usr/include/sys/time.h:94: error: expected unqualified-id before numeric
constant
/usr/include/sys/time.h:107: error: redefinition of 'struct itimerval'
/usr/include/linux/time.h:47: error: previous definition of 'struct
itimerval'
/usr/include/sys/time.h:181: error: expected declaration before '}' token
make[1]: *** [build_linux/libTOSComm.so] Error 1
make[1]: Leaving directory `/opt/tinyos-1.x/beta/TOSComm/comm'
make: *** [all] Error 2
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to