[oe] Trying and Failing to enable Java with GCC 4.3.3

Joshua Smith jesmith at kaon.com
Wed Mar 3 16:20:06 UTC 2010


Hello,

I'm new to OE.  I'm trying to get GCJ compiled for the TouchBook (an ARM-based tablet).  After some searching and trial-and-error, I figured out that I need to add:

JAVA_arm = ",java" to recipies/gcc-4.3.3.inc

But now I'm getting an error when it tries to build gcc-cross-4.3.3:

make[4]: Entering directory `/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.3.3-r7.1/gcc-4.3.3/build.i686-linux.arm-angstrom-linux-gnueabi/64/zlib'
make[4]: *** No rule to make target `all'.  Stop.
make[4]: Leaving directory `/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.3.3-r7.1/gcc-4.3.3/build.i686-linux.arm-angstrom-linux-gnueabi/64/zlib'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.3.3-r7.1/gcc-4.3.3/build.i686-linux.arm-angstrom-linux-gnueabi/zlib'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.3.3-r7.1/gcc-4.3.3/build.i686-linux.arm-angstrom-linux-gnueabi/zlib'
make[1]: *** [all-zlib] Error 2

(I can give you more of the log if it would help, but this is the first error)

I can see why adding Java would cause GCC to need zlib when maybe it didn't before.  But I don't know what to change to get zlib configured as part of the gcc build process.

Help?

-Joshua Smith





More information about the Openembedded-devel mailing list