Hi, i'm using Windows and i don't know if for Linux is different... however, i need to put the toscomm and getenv libraries under /jre/bin directory, not /lib. Of course, if you have several JREs, you must be sure which one is used to run your application.
Hope this can help, Raffaele 2009/6/8 Xiaogang Yang <[email protected]> > Hi: > > I want to develop an application based on the serial communication of > tinyos2, > I take use of the libtoscomm JNI stuff, but it seems like always there > runtime error, such like native function.... seems like the lib is not > loaded. > > I have done following: > 1 integrated net.tinyos.comm stuff into my project > 2 copy libtoscomm-32.so and libgetenv-32.so into > usr/lib/jvm/[java-path]/jre/lib/i386 > 3 I have compiled them > 4, when running, native_gettossmap error > > > so could someone help me what I should do if I want to make use of the > serial communication part of tinyos 2 for PC application. > > Thank you > > -- > Xiaogang Yang > Sensorweb Research Laboratory > http://sensorweb.vancouver.wsu.edu/ > Washington State University Vancouver > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Raffaele Gravina Research Engineer Wireless Sensor Networks Lab Berkeley 2000 Hearst Ave, suite 304 Berkeley, CA 94709 +1 510 666 0174 ext. 101
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
