build error on debian referring to solaris X11

Seán Coffey sean.coffey at oracle.com
Sat Dec 29 19:40:38 UTC 2012


Looks like you don't have the correct X11 header files on your build 
system. X11/Intrinsic.h is required.
I'm seeing it under /usr/include on my system.

regards,
Sean.

On 29/12/2012 19:09, miten mehta wrote:
> Hi,
>
> I get following build error on debian for openjdk 7:
>
> In file included from ../../../src/solaris/native/sun/awt/color.h:28,
>                   from ../../../src/solaris/native/sun/awt/img_util_md.h:26,
>                   from ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:31:
> ../../../src/solaris/native/sun/awt/awt.h:38:27: error: X11/Intrinsic.h: No such file or directory
> In file included from ../../../src/solaris/native/sun/awt/color.h:28,
>                   from ../../../src/solaris/native/sun/awt/img_util_md.h:26,
>                   from ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:31:
> ../../../src/solaris/native/sun/awt/awt.h:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> ../../../src/solaris/native/sun/awt/awt.h:163: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'awt_ModLockIsShiftLock'
> In file included from ../../../src/solaris/native/sun/awt/img_util_md.h:26,
>                   from ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:31:
> ../../../src/solaris/native/sun/awt/color.h:34: error: expected specifier-qualifier-list before 'XPixmapFormatValues'
> In file included from ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:31:
> ../../../src/solaris/native/sun/awt/img_util_md.h:32: error: expected specifier-qualifier-list before 'XID'
> make[5]: *** [/opt/openjdk/build/linux-i586/tmp/sun/sun.awt/awt/obj/BufImgSurfaceData.o] Error 1
> make[5]: *** Waiting for unfinished jobs....
> make[5]: Leaving directory `/opt/openjdk/jdk/make/sun/awt'
> make[4]: *** [library_parallel_compile] Error 2
> make[4]: Leaving directory `/opt/openjdk/jdk/make/sun/awt'
> make[3]: *** [all] Error 1
> make[3]: Leaving directory `/opt/openjdk/jdk/make/sun'
> make[2]: *** [all] Error 1
> make[2]: Leaving directory `/opt/openjdk/jdk/make'
> make[1]: *** [jdk-build] Error 2
> make[1]: Leaving directory `/opt/openjdk'
> make: *** [build_product_image] Error 2
> root at pinkydebian:/opt/openjdk#
>
>
> Regards,
>
> Miten.
>




More information about the build-dev mailing list