[EMAIL PROTECTED] /opt/tinyos-2.x/apps
$ java net.tinyos.sf.SerialForwarder
The toscomm JNI library was not found.
Check that your tinyos-tools package is installed and try
rerunning tos-install-jni.
Aborting.
[EMAIL PROTECTED] /opt/tinyos-2.x/apps
$ tos-install-jni
Installing Java JNI code in /cygdrive/c/Program Files/Java/jdk1.5.0_06/jre/bin .
..
done.
[EMAIL PROTECTED] /opt/tinyos-2.x/apps
$ java net.tinyos.sf.SerialForwarder
The toscomm JNI library was not found.
Check that your tinyos-tools package is installed and try
rerunning tos-install-jni.
Aborting.
Apparently, someone else ran into this problem in March but received no response:
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-March/015723.html
Thanks for any help you can provide.
-jay
On 7/20/06, Philip Levis <[EMAIL PROTECTED]> wrote:
On Jul 20, 2006, at 2:03 PM, Jay Taneja wrote:
> Hello,
>
> This may be two separate problems, but I am having problems
> compiling some (but not all) applications for a Telos Rev. B on T2.
> I am able to successfully compile and install Blink, BlinkToRadio,
> and BaseStation (among others, I imagine - didn't try any more).
> However, when I try to compile any application with Java included
> ( e.g. RadioCountToLeds, RadioSenseToLeds), the Java compilation
> doesn't work. I am pretty sure I have my CLASSPATH and other
> environment variables set up correctly, but it is still unable to
> find the correct tinyos java package. Here is the output of a
> compilation of RadioCountToLeds:
One of two things is wrong:
1) Your classpath is not set correctly
2) Your classpath is set correctly but you do not have compiled java
classes
Try going into support/sdk/java and typing make.
>
>
> The other problem deals with my own application (a modified version
> of Blink). When I try to compile this application (on the same
> machine), it does not work, citing problems with a GCC library. I
> should note that I have kept my tinyos-1.x tree on this machine in
> addition to installing Boomerang and now T2. As a result of this
> installation order, I did not have to install any of the MSP430
> RPMs for T2 (they were already installed due to Boomerang). I have
> the environment currently set up for T2. Here is the error output:
>
> [EMAIL PROTECTED] /opt/tinyos-2.x/apps/TestApp
> $ make telosb
> mkdir -p build/telosb
> compiling BlinkC to a telosb binary
> ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -
> DDEF_TOS_AM_
> GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/
> app.c -board= -DC
> C2420_DEF_CHANNEL=26 BlinkC.nc -lm
> /opt/msp430/lib/gcc-lib/msp430/3.2.3/msp2/libgcc.a
> (_reset_vector__.o): In functi
> on `_reset_vector__':
> ../../gcc/config/msp430/libgcc.S:(.init+0x38): undefined reference
> to `main'
> make: *** [exe0] Error 1
>
If you don't handle the boot event and don't have any
initializations, you aren't compiling in the boot sequence?
Phil
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
