Jaap de Jong wrote:
Hi Henning,
My approach after many unsuccessful attempts:
- install
apt-get install sun-java6-jdk
- edit local.conf
ASSUME_PROVIDED += " ecj-initial "
ASSUME_PROVIDED += " virtual/java-initial "
ASSUME_PROVIDED += " virtual/java-native "
ASSUME_PROVIDED += " virtual/javac-native "
PREFERRED_PROVIDER_classpath = "classpath"
PREFERRED_VERSION_classpath = "0.97.2"
- bitbake cacao
Could not get jamvm nor classpath 0.98 compiled.
Regards,
Jaap
Not sure if this is the right answer, but I also could not build ecj-initial
until I changed "-Xmx1024m" to "-Xmx512m" in recipes/ecj/files/ecj.in
and I think rebuilding ecj-bootstrap-native and ecj-initial worked for me.
On Mon, 2010-01-11 at 10:40 +0100, Martin Jansa wrote:
On Mon, Jan 11, 2010 at 09:27:00AM +0000, Chris Veigl wrote:
Dear Henning,
thank you for the fast response,
jamvm 1.5 needs classpath-0.98, we don't use classpath-0.98 yet as default
because there were some issues with cacao. So add
PREFFERED_VERSION_classpath = "0.98"
to your local.conf and it should work.
after my first rebuild i did not notice any effect,
then i relalized the type in "PREFERRED_VERSION_classpath" ;-)
after that changed, i still got the same error,
because the problem happens at the config of classpath_native...
i then deleted my tmp folder and gave it another try, using
the settings recommended at http://wiki.openembedded.net/index.php/Java :
PREFERRED_VERSION_jamvm-initial = "1.4.5"
PREFERRED_VERSION_classpath-initial = "0.93"
PREFERRED_VERSION_jamvm-native = "1.5.3"
PREFERRED_VERSION_classpath-native = "0.98"
PREFERRED_VERSION_jamvm = "1.5.2"
PREFERRED_VERSION_classpath = "0.98"
PREFERRED_VERSION_libecj-bootstrap = "3.4"
Unfortunately, i ran into a different error using this configuration:
task 1610 of 7888 (ID: 3738,
/media/disk/overo-oe/org.openembedded.dev/recipes/classpath/classpath-
native_0.98.bb,
do_compile)
ERROR: function do_compile failed
/media/disk/overo-oe/tmp/staging/i686-linux/usr/bin/java-initial -classpath
antlr.Tool -o ../tools/generated/gnu/classpath/tools/gjdoc/expr/ \
| ./gnu/classpath/tools/gjdoc/expr/java-expression.g
| Unrecognised command line option: -o
git pull.. se my commit yesterday
any ideas what is going wrong now ?
regards,
chris
Regards,
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel