Lejos 3.0.0 on Debian

This is where you talk about the RCX software itself, installation issues, and programming talk.

Moderator: roger

Lejos 3.0.0 on Debian

Postby ravl » Wed Nov 21, 2007 2:02 am

Hello.
I've installed Lejos 3.0.0 on my Debian unstable machine, according to the instructions that come with the package. I tried using the check, and I get this

Code: Select all
~/programas/lejos.3.0.0-RC2/check$ sh checkDistribution.sh
checking environment
environment seems to be ok
compiling test class
linking and downloading test class
linking...
Signature 0: main([Ljava/lang/String;)V
Signature 1: run()V
Signature 2: <init>()V
Signature 3: <clinit>()V
Signature 4: notify()V
Signature 5: notifyAll()V
Signature 6: wait()V
Signature 7: wait(J)V
Signature 8: start()V
Signature 9: yield()V
Signature 10: sleep(J)V
Signature 11: currentThread()Ljava/lang/Thread;
Signature 12: getPriority()I
Signature 13: setPriority(I)V
Signature 14: interrupt()V
Signature 15: interrupted()Z
Signature 16: isInterrupted()Z
Signature 17: setDaemon(Z)V
Signature 18: isDaemon()Z
Signature 19: join()V
Signature 20: join(J)V
Signature 21: currentTimeMillis()J
Signature 22: exit(I)V
Signature 23: freeMemory()J
Signature 24: totalMemory()J
Signature 25: getMessage()Ljava/lang/String;
Signature 26: call(S)V
Signature 27: call(SS)V
Signature 28: call(SSS)V
Signature 29: call(SSSS)V
Signature 30: call(SSSSS)V
Signature 31: readByte(I)B
Signature 32: writeByte(IB)V
Signature 33: setBit(III)V
Signature 34: getDataAddress(Ljava/lang/Object;)I
Signature 35: resetSerial()V
Signature 36: readSensorValue(II)I
Signature 37: setSensorValue(III)V
Signature 38: setPoller()V
Signature 39: setThrottle(I)V
Signature 40: test(Ljava/lang/String;Z)V
Signature 41: testEQ(Ljava/lang/String;II)V
Signature 42: floatToIntBits(F)I
Signature 43: intBitsToFloat(I)F
Signature 44: init()V
Signature 45: write([BI)V
Signature 46: read()I
Signature 47: isSending()Z
Signature 48: isSendError()Z
Signature 49: getRegionAddress()I
Signature 50: toString()Ljava/lang/String;
Signature 51: <init>(Ljava/lang/String;)V
Signature 52: <init>([CII)V
Signature 53: arraycopy([CI[CII)V
Signature 54: getRuntime()Ljava/lang/Runtime;
Signature 55: setNumber(III)V
Signature 56: refresh()V
Signature 57: clear()V
Signature 58: print(Ljava/lang/String;)V
Signature 59: print([C)V
Signature 60: printChar(CI)V
Signature 61: native_print_pos_0(B)V
Signature 62: native_print_pos_1(B)V
Signature 63: native_print_pos_2(B)V
Signature 64: native_print_pos_3(B)V
Signature 65: native_print_pos_4(B)V
Signature 66: getCharacters(Ljava/lang/String;)[C
Master record : 16 bytes.
Class records : 27 (270 bytes).
Field records : 15 (15 bytes).
Method records: 63 (756 bytes).
Code          : 50 (1600 bytes).
downloading...
read binary
  100%
download binary
Loading native libs
Unable to load native libraries: no jirtrcx in java.library.path
Exception in thread "main" java.lang.UnsatisfiedLinkError: close
        at josx.rcxcomm.Tower.close(Native Method)
        at josx.rcxcomm.Tower.closeTower(Tower.java:53)
        at js.tools.Download.close(Download.java:88)
        at js.tools.LejosdlTool.start(LejosdlTool.java:120)
        at js.tools.Lejosdl.start(Lejosdl.java:82)
        at js.tools.LejosLinkAndDownload.run(LejosLinkAndDownload.java:89)
        at js.tools.LejosLinkAndDownload.main(LejosLinkAndDownload.java:43)
done. If no error occurred, please press the RUN Button on your RCX now. The LCD of the RCX should display SMOKE, then TEST


I don't know what to do to fix this, I hope someone can help me.
ravl
New User
 
Posts: 3
Joined: Fri Nov 16, 2007 1:54 am

Postby mdsmitty » Wed Nov 21, 2007 4:13 pm

is your classpath set correctly?
mdsmitty
Novice
 
Posts: 78
Joined: Tue Feb 27, 2007 3:07 am

Postby minimammut » Sat Jan 05, 2008 11:43 am

I was having the same problem, I had to compile the two things under src/comms in the lejos directory.
just go there and type make. Now two files are created, which end on .so
at my machine they tried to be created at / so I had to run make as root.
Now Copy the files to your java home directory.
But I am having a different issue now:
My machine (Ubuntu 7.10) gives an error at the same stage (error at the bottom):
Code: Select all
checking environment
environment seems to be ok
compiling test class
linking and downloading test class
linking...
Signature 0: main([Ljava/lang/String;)V
Signature 1: run()V
Signature 2: <init>()V
Signature 3: <clinit>()V
Signature 4: notify()V
Signature 5: notifyAll()V
Signature 6: wait()V
Signature 7: wait(J)V
Signature 8: start()V
Signature 9: yield()V
Signature 10: sleep(J)V
Signature 11: currentThread()Ljava/lang/Thread;
Signature 12: getPriority()I
Signature 13: setPriority(I)V
Signature 14: interrupt()V
Signature 15: interrupted()Z
Signature 16: isInterrupted()Z
Signature 17: setDaemon(Z)V
Signature 18: isDaemon()Z
Signature 19: join()V
Signature 20: join(J)V
Signature 21: currentTimeMillis()J
Signature 22: exit(I)V
Signature 23: freeMemory()J
Signature 24: totalMemory()J
Signature 25: getMessage()Ljava/lang/String;
Signature 26: call(S)V
Signature 27: call(SS)V
Signature 28: call(SSS)V
Signature 29: call(SSSS)V
Signature 30: call(SSSSS)V
Signature 31: readByte(I)B
Signature 32: writeByte(IB)V
Signature 33: setBit(III)V
Signature 34: getDataAddress(Ljava/lang/Object;)I
Signature 35: resetSerial()V
Signature 36: readSensorValue(II)I
Signature 37: setSensorValue(III)V
Signature 38: setPoller()V
Signature 39: setThrottle(I)V
Signature 40: test(Ljava/lang/String;Z)V
Signature 41: testEQ(Ljava/lang/String;II)V
Signature 42: floatToIntBits(F)I
Signature 43: intBitsToFloat(I)F
Signature 44: init()V
Signature 45: write([BI)V
Signature 46: read()I
Signature 47: isSending()Z
Signature 48: isSendError()Z
Signature 49: getRegionAddress()I
Signature 50: toString()Ljava/lang/String;
Signature 51: <init>(Ljava/lang/String;)V
Signature 52: <init>([CII)V
Signature 53: arraycopy([CI[CII)V
Signature 54: getRuntime()Ljava/lang/Runtime;
Signature 55: setNumber(III)V
Signature 56: refresh()V
Signature 57: clear()V
Signature 58: print(Ljava/lang/String;)V
Signature 59: print([C)V
Signature 60: printChar(CI)V
Signature 61: native_print_pos_0(B)V
Signature 62: native_print_pos_1(B)V
Signature 63: native_print_pos_2(B)V
Signature 64: native_print_pos_3(B)V
Signature 65: native_print_pos_4(B)V
Signature 66: getCharacters(Ljava/lang/String;)[C
Master record : 16 bytes.
Class records : 27 (270 bytes).
Field records : 15 (15 bytes).
Method records: 63 (756 bytes).
Code          : 50 (1600 bytes).
downloading...
read binary
  100%
download binary
Loading native libs
java: symbol lookup error:
/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386/client/libjirtrcx.so: undefined
symbol: rcx_open
done. If no error occurred, please press the RUN Button on your RCX now. The LCD
of the RCX should display SMOKE, then TEST
oliver@ollis-pc:/opt/lejos/check$ ./checkDistribution.sh
checking environment
environment seems to be ok
compiling test class
linking and downloading test class
linking...
Signature 0: main([Ljava/lang/String;)V
Signature 1: run()V
Signature 2: <init>()V
Signature 3: <clinit>()V
Signature 4: notify()V
Signature 5: notifyAll()V
Signature 6: wait()V
Signature 7: wait(J)V
Signature 8: start()V
Signature 9: yield()V
Signature 10: sleep(J)V
Signature 11: currentThread()Ljava/lang/Thread;
Signature 12: getPriority()I
Signature 13: setPriority(I)V
Signature 14: interrupt()V
Signature 15: interrupted()Z
Signature 16: isInterrupted()Z
Signature 17: setDaemon(Z)V
Signature 18: isDaemon()Z
Signature 19: join()V
Signature 20: join(J)V
Signature 21: currentTimeMillis()J
Signature 22: exit(I)V
Signature 23: freeMemory()J
Signature 24: totalMemory()J
Signature 25: getMessage()Ljava/lang/String;
Signature 26: call(S)V
Signature 27: call(SS)V
Signature 28: call(SSS)V
Signature 29: call(SSSS)V
Signature 30: call(SSSSS)V
Signature 31: readByte(I)B
Signature 32: writeByte(IB)V
Signature 33: setBit(III)V
Signature 34: getDataAddress(Ljava/lang/Object;)I
Signature 35: resetSerial()V
Signature 36: readSensorValue(II)I
Signature 37: setSensorValue(III)V
Signature 38: setPoller()V
Signature 39: setThrottle(I)V
Signature 40: test(Ljava/lang/String;Z)V
Signature 41: testEQ(Ljava/lang/String;II)V
Signature 42: floatToIntBits(F)I
Signature 43: intBitsToFloat(I)F
Signature 44: init()V
Signature 45: write([BI)V
Signature 46: read()I
Signature 47: isSending()Z
Signature 48: isSendError()Z
Signature 49: getRegionAddress()I
Signature 50: toString()Ljava/lang/String;
Signature 51: <init>(Ljava/lang/String;)V
Signature 52: <init>([CII)V
Signature 53: arraycopy([CI[CII)V
Signature 54: getRuntime()Ljava/lang/Runtime;
Signature 55: setNumber(III)V
Signature 56: refresh()V
Signature 57: clear()V
Signature 58: print(Ljava/lang/String;)V
Signature 59: print([C)V
Signature 60: printChar(CI)V
Signature 61: native_print_pos_0(B)V
Signature 62: native_print_pos_1(B)V
Signature 63: native_print_pos_2(B)V
Signature 64: native_print_pos_3(B)V
Signature 65: native_print_pos_4(B)V
Signature 66: getCharacters(Ljava/lang/String;)[C
Master record : 16 bytes.
Class records : 27 (270 bytes).
Field records : 15 (15 bytes).
Method records: 63 (756 bytes).
Code          : 50 (1600 bytes).
downloading...
read binary
  100%
download binary
Loading native libs
java: symbol lookup error:
/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386/client/libjirtrcx.so: undefined
symbol: rcx_open
done. If no error occurred, please press the RUN Button on your RCX now. The LCD
of the RCX should display SMOKE, then TEST

Afterwards there is no programm on the RCX.
I think I have set up all environment variables correctly and therefore do not
have any idea to solve the problem.
All help is appreciated,
Oliver
minimammut
New User
 
Posts: 2
Joined: Sat Jan 05, 2008 11:33 am


Return to RCX Software

Who is online

Users browsing this forum: No registered users and 1 guest

cron
more stuff