make lejos 2_1_0

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

Moderator: roger

make lejos 2_1_0

Postby rigelstar » Fri Jan 21, 2011 8:02 pm

make exits with the following errors:


^^^^^^^^^
The import java.util is never used
----------
32 problems (32 warnings)cd jtools; jar cf ../lib/jtools.jar `find . -name '*.class'`
====> Making leJOS Unix binaries (lejos, for emulation)
cd unix_impl; make OSTYPE=linux
make[1]: Entering directory `/home/cheryl/programming/lejos_2_1_0/unix_impl'
gcc -I../vmsrc -I. -Wall -Wno-unused -c ../vmsrc/interpreter.c
gcc -I../vmsrc -I. -Wall -Wno-unused -c ../vmsrc/threads.c
../vmsrc/threads.c: In function ‘switch_thread’:
../vmsrc/threads.c:323: error: label at end of compound statement
make[1]: *** [threads.o] Error 1
make[1]: Leaving directory `/home/cheryl/programming/lejos_2_1_0/unix_impl'
make: *** [tinyvm_emul] Error 2


Any ideas how to run a clean make with this package?

Thanks
rigelstar
New User
 
Posts: 4
Joined: Fri Jan 21, 2011 7:30 pm

Re: make lejos 2_1_0

Postby rigelstar » Sat Jan 22, 2011 3:29 am

I switched to lejos 3.0 and ant built the distribution and I was able to upload the firmware after figuring out my environment vars. The key though was making sure:

/lejos_3_0/release/cctest.sh

is executable.

Anyone having trouble with the following error:

Unable to load native libraries: no jirtrcx in java.library.path

make the above file executable and then rerun ant.

Now I just need to work on getting the eclipse plug-in to work!
rigelstar
New User
 
Posts: 4
Joined: Fri Jan 21, 2011 7:30 pm


Return to RCX Software

Who is online

Users browsing this forum: No registered users and 1 guest

more stuff