sorry I forget what the original problem was,
and I haven't used the toscomm version of things,
only the javax.comm from Sun on Windows...
But I would expect that there is a jar file that
needs to be in your CLASSPATH (or jre/ext directory).
Surely there is some doc online, I googled "toscomm"
and found this which (may) be of help:
http://cents.cs.berkeley.edu/tinywiki/index.php/Tmote_Linux_install
MS
Ankur Kamthe wrote:
Hi,
first of all thanks to michael schippling and jon gomez...
i'm using tinyos1-x and both of you were right, my toscomm is messed up
but I still cant figure it out.
- Hide quoted text -
my library path is:
library path: /usr/lib/jvm/java-
1.5.0-sun-1.5.0.06/jre/lib/i386/client:/usr/lib
/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/../lib/i386
first of all I had two libtoscomm.so files one in /usr/lib/tinyos and
the second in /usr/lib/jvm/java- 1.5.0-sun-1.5.0.06/jre/lib/i386/
Executing "nm libtoscomm.so" gives
0000db5c T Java_net_tinyos_comm_TOSCommJNI_NativeSerial_1read_1_1SWIG_10
0000df88 T Java_net_tinyos_comm_TOSCommJNI_NativeSerial_1read_1_1SWIG_11
so the read methods exist.. which is one good news...
Executing "ldd libtoscomm.so" gives
linux-gate.so.1 => (0xffffe000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7eac000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e8a000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e80000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d51000)
/lib/ld- linux.so.2 (0x80000000)
so, my libstdc++ and gcc libraries seem to be in order. however,
linux-gate.so.1 points to nothin, so does that mean that its not linked ?
I did not find any mention of libtoscomm (or associated paths) in my
CLASSPATH. could that be the problem ?
Could you please help me with this ?
regards,
ankur
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help