When you run the make command to compile all the files for the Linux version of LeJOS RCX, you might run into the following error:
- Code: Select all
javac: target release 1.1 conflicts with default source release 1.5
Resolution:
Open up the Makefiles and look for this line:
- Code: Select all
JAVAC=javac -target 1.1
Change it to look like this:
- Code: Select all
JAVAC=javac -source 1.3 -target 1.1
If I remember correctly, there are two Makefiles that will need to be changed. The first one is in the root directory of your download. The second one is in download_directory/rcxcomm/rcxclasses.
There is one final change that will need to be made.
Goto the file vmsrc/threads.c
Go to line 321 and this area looks like this:
- Code: Select all
}
}
done_pi:
#endif // PI_AVOIDANCE
}
Change this block of code to look like this (a new line below done_pi with a semi-colon):
- Code: Select all
}
}
done_pi:
;
#endif // PI_AVOIDANCE
}
Once these changes are done, run make again in your "root" lejos directory.[/code]
