Building jdk-1.5 on 4.0 fails with the following error. Any
suggestions?
In file included from ../../../src/solaris/native/sun/awt/color.h:10,
from ../../../src/solaris/native/sun/awt/
img_util_md.h:8,
from ../../../src/share/native/sun/awt/image/
BufImgSurfaceData.c:17:
../../../src/solaris/native/sun/awt/awt.h:20:27: X11/Intrinsic.h: No
such file or directory
In file included from ../../../src/solaris/native/sun/awt/color.h:10,
from ../../../src/solaris/native/sun/awt/
img_util_md.h:8,
from ../../../src/share/native/sun/awt/image/
BufImgSurfaceData.c:17:
../../../src/solaris/native/sun/awt/awt.h:223: error: syntax error
before '*' token
../../../src/solaris/native/sun/awt/awt.h:223: warning: type defaults
to `int' in declaration of `awt_display'
../../../src/solaris/native/sun/awt/awt.h:223: warning: data
definition has no type or storage class
../../../src/solaris/native/sun/awt/awt.h:224: error: syntax error
before "awt_appContext"
../../../src/solaris/native/sun/awt/awt.h:224: warning: type defaults
to `int' in declaration of `awt_appContext'
../../../src/solaris/native/sun/awt/awt.h:224: warning: data
definition has no type or storage class
../../../src/solaris/native/sun/awt/awt.h:225: error: syntax error
before "awt_root_shell"
../../../src/solaris/native/sun/awt/awt.h:225: warning: type defaults
to `int' in declaration of `awt_root_shell'
../../../src/solaris/native/sun/awt/awt.h:225: warning: data
definition has no type or storage class
../../../src/solaris/native/sun/awt/awt.h:226: error: syntax error
before "awt_defaultBg"
../../../src/solaris/native/sun/awt/awt.h:226: warning: type defaults
to `int' in declaration of `awt_defaultBg'
../../../src/solaris/native/sun/awt/awt.h:226: warning: data
definition has no type or storage class
../../../src/solaris/native/sun/awt/awt.h:227: error: syntax error
before "awt_defaultFg"
../../../src/solaris/native/sun/awt/awt.h:227: warning: type defaults
to `int' in declaration of `awt_defaultFg'
../../../src/solaris/native/sun/awt/awt.h:227: warning: data
definition has no type or storage class
../../../src/solaris/native/sun/awt/awt.h:234: error: syntax error
before "awt_scrollCursor"
../../../src/solaris/native/sun/awt/awt.h:234: warning: type defaults
to `int' in declaration of `awt_scrollCursor'
../../../src/solaris/native/sun/awt/awt.h:234: warning: data
definition has no type or storage class
In file included from ../../../src/solaris/native/sun/awt/
img_util_md.h:8,
from ../../../src/share/native/sun/awt/image/
BufImgSurfaceData.c:17:
../../../src/solaris/native/sun/awt/color.h:16: error: syntax error
before "XPixmapFormatValues"
In file included from ../../../src/share/native/sun/awt/image/
BufImgSurfaceData.c:17:
../../../src/solaris/native/sun/awt/img_util_md.h:14: error: syntax
error before "XID"
../../../src/solaris/native/sun/awt/img_util_md.h:22: error: syntax
error before "XImage"
../../../src/solaris/native/sun/awt/img_util_md.h:27: error: syntax
error before "Region"
../../../src/share/native/sun/awt/image/BufImgSurfaceData.c: In
function `Java_sun_awt_image_BufImgSurfaceData_freeNativeICMData':
../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:83:
warning: cast to pointer from integer of different size
../../../src/share/native/sun/awt/image/BufImgSurfaceData.c: In
function `BufImg_SetupICM':
../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:257:
warning: cast to pointer from integer of different size
../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:276:
warning: cast from pointer to integer of different size
gmake[4]: *** [/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p19/control/build/
bsd-i586/tmp/sun/sun.awt/awt/obj/BufImgSurfaceData.o] Error 1
gmake[4]: Leaving directory `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p19/
j2se/make/sun/awt'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p19/
j2se/make/sun/awt'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p19/
j2se/make/sun'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p19/
j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2
Stop in /usr/ports/devel/jdk/1.5 (line 1942 of /usr/ports/
infrastructure/mk/bsd.port.mk).
--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net