Suse 10.3 and leJos won't work

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

Moderator: roger

Suse 10.3 and leJos won't work

Postby suse10-3 » Fri Aug 22, 2008 4:58 pm

hello all,

i do face a problem to get lejos 2-1-0 installed on my system...

after unpacking in an directory, i switch to shell.
set my self into the target dir, i start make, just like
in the incl. README required.
at almost end of procedure it shows the following:

Code: Select all
gcc javaexec.o util.o -o ../bin/lejos
gcc -DWRITE_ORDER=\"LE\" -DLOADER_TOOL=\"emu-lejosrun\" -c javaexec.c
gcc javaexec.o util.o -o ../bin/emu-lejos
make[1]: Leaving directory `/home/lutz/lejos/tools'
javac -target 1.1 -classpath classes `find classes -name '*.java'`
javac: target release 1.1 conflicts with default source release 1.5
make: *** [core_classes] error 2


if i then try to run ant , as also written in the readme,
it gives the following message:


Code: Select all
~/lejos> ant
Buildfile: build.xml does not exist!
Build failed


even if i follow the sceme from:
http://lejos.sourceforge.net/tutorial/getstarted/firstbrick/linux.html
it will not run correctly.

does someone have a clue what is wrong?

my box runs on:
opensuse10.3,
java-1_5_0-sun-devel-1.5.0_update15-0.1 - Java(TM) 5 SDK, Standard Edition
gcc also installed, and works

please kindly give me an idea where i can try to fix the problem.
thnx in adv.

greets
su10
suse10-3
New User
 
Posts: 2
Joined: Fri Aug 22, 2008 4:31 pm

Postby suse10-3 » Fri Aug 22, 2008 10:31 pm

hy,

now stepping to the leJOS 3.0 RC2 for Linux [3.2 m] from
sourceforge, i can now run the firmdl as root, and it works.

but sending the included DistributionSmokeTest example
to the rcx, it shows the follwing output on terminal:

Code: Select all
 lejos DistributionSmokeTest
linking...
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)


so it still will not transmit and so i am out of the act.

is there a mistake i do repeat over and over,
anyone who maybe faced this problem before,
and knows how to resolve this ?

thnks for help of all kind,
regards
su
suse10-3
New User
 
Posts: 2
Joined: Fri Aug 22, 2008 4:31 pm

Re: Suse 10.3 and leJos won't work

Postby Manromen » Sun Mar 01, 2009 2:33 pm

Hi,

i have the same issue. :(

Code: Select all
...
gcc firmdl.o srec.o rcx_comm.o util.o osx_usb.o -o ../../bin/lejosfirmdl -O2  -g -framework IOKit -framework CoreFoundation
gcc lejosrun.o firmdl/rcx_comm.o firmdl/osx_usb.o -o ../bin/lejosrun  -framework IOKit -framework CoreFoundation
javac -target 1.1 -classpath classes `find classes -name '*.java'`
javac: target release 1.1 conflicts with default source release 1.5
make: *** [core_classes] Error 2



How do you solved this issue?

Thanks,
Manromen
Manromen
New User
 
Posts: 1
Joined: Sun Mar 01, 2009 2:29 pm

Postby 12James » Fri Mar 26, 2010 6:35 am

Thanks for sharing your thoughts with us
Sohail
12James
New User
 
Posts: 1
Joined: Fri Mar 26, 2010 6:27 am


Return to RCX Software

Who is online

Users browsing this forum: No registered users and 0 guests

cron
more stuff