OpenJDK6 compilation failure

Piotrek piokud84 at gmail.com
Thu Feb 18 15:45:29 UTC 2010


FreeBSD sng 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Feb 16 18:26:01 CET 2010     sng at sng:/usr/obj/usr/src/sys/DESKTOP-DEBUG  amd64

Can't get OpenJDK6 compiled:

-DPACKAGE_PATH=\"/usr/local\"  -c -o /usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt.X11/xawt/obj64/awt_InputMethod.o  ../../../src/solaris/native/sun/awt/awt_InputMethod.c
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function 'J2DXErrHandler':
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:966: error: 'X_ShmAttach' undeclared (first use in this function)
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:966: error: (Each undeclared identifier is reported only once
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:966: error: for each function it appears in.)
gmake[4]: *** [/usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt.X11/xawt/obj64/awt_GraphicsEnv.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
../../../src/solaris/native/sun/awt/awt_InputMethod.c:50:1: warning: "XtWindow" redefined
In file included from ../../../src/solaris/native/sun/awt/awt_p.h:45,
                 from ../../../src/solaris/native/sun/awt/awt_InputMethod.c:43:
/usr/local/include/X11/IntrinsicP.h:207:1: warning: this is the location of the previous definition
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function 'createStatusWindow':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning: pointer targets in passing argument 6 of 'XGetGeometry' differ in signedness
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning: pointer targets in passing argument 7 of 'XGetGeometry' differ in signedness
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning: pointer targets in passing argument 8 of 'XGetGeometry' differ in signedness
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning: pointer targets in passing argument 9 of 'XGetGeometry' differ in signedness
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function 'createXIC':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1036: warning: comparison between pointer and integer
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1216: warning: assignment from incompatible pointer type
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function 'Java_sun_awt_X11_XInputMethod_openXIMNative':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1527: warning: passing argument 5 of 'XRegisterIMInstantiateCallback' from incompatible pointer type
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function 'Java_sun_awt_X11_XInputMethod_createXICNative':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1562: warning: comparison between pointer and integer
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function 'Java_sun_awt_X11_XInputMethod_setXICFocusNative':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1712: warning: comparison between pointer and integer
gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/xawt'
gmake[3]: *** [library_parallel_compile] Error 2
gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/xawt'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make'
gmake: *** [jdk-build] Error 2
*** Error code 1

Stop in /usr/ports/java/openjdk6.
*** Error code 1

Stop in /usr/ports/java/openjdk6.




-- 
Piotrek <piokud84 at gmail.com>


More information about the freebsd-java mailing list