failed to build openjdk-6 (openembedded)

Yu-Ju Hong yuru.hong at gmail.com
Wed Mar 9 23:08:35 PST 2011


Hi,

I am new to openjdk & openembedded. I wanted to build openjdk-6 (
openjdk-6_6b18-1.8.bb) but it failed at compiling xawt. Is there any way to
fix it? I do not need X windows on my overo system. If there is a way to
disable the library, that would work too. I mainly want to use the
openjdk/hotspot for a headless system. I would also like to know how I can
select Hotspot to use instead of other jvm later on overo. Thanks!

Here is some information (the repeated similar errors are truncated).

Build Configuration:
BB_VERSION        = "1.10.2"
METADATA_BRANCH   = "overo"
METADATA_REVISION = "b4574a2"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110310"
TARGET_FPU        = "hard"

ERROR: '/home/overo-oe/org.openembedded.dev/recipes/openjdk/
openjdk-6_6b18-1.8.bb' failed
ERROR: Function do_compile failed
NOTE: Task failed: ('function do_compile failed',
'/home/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/temp/log.do_compile.10071')


|
/home/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/openjdk/build/linux-arm/gensrc/sun/awt/X11/XEvent.java:11:
incompatible types
| found   : <nulltype>
| required: int
|       public static int getSize() { return null; }
|                                            ^
|
/home/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/openjdk/build/linux-arm/gensrc/sun/awt/X11/XEvent.java:40:
operator + cannot be applied to long,<nulltype>
|       public int get_type() { log.finest("");return
(Native.getInt(pData+null)); }
|
|                                                                    ^
|                                                                    ^
|
/home/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/openjdk/build/linux-arm/gensrc/sun/awt/X11/XEvent.java:40:
cannot find symbol
| symbol  : method getInt(<nulltype>)
| location: class sun.awt.X11.Native
|       public int get_type() { log.finest("");return
(Native.getInt(pData+null)); }
|                                                            ^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110310/9546bb8a/attachment.html 


More information about the distro-pkg-dev mailing list