build error with new Xorg/Xextproto in awt_GraphicsEnv.c
Mark Wielaard
mark at klomp.org
Sat Oct 17 07:12:31 PDT 2009
On Sat, 2009-10-17 at 15:49 +0200, Andreas Radke wrote:
> After update to Xorg 7.5 the icedtea 1.6.1 build fails here fore ArchLinux:
>
> ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function 'J2DXErrHandler':
> ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:961: error: 'X_ShmAttach' undeclared (first use in this function)
> ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:961: error: (Each undeclared identifier is reported only once
> ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:961: error: for each function it appears in.)
> make[5]: ***
> [/tmp/openjdk6/trunk/src/icedtea6-1.6.1/openjdk/build/linux-amd64/tmp/sun/sun.awt.X11/xawt/obj64/awt_GraphicsEnv.o]
> Error 1
>
>
> It seems there were changes in xextproto (7.1.1 here).
>
> I found http://trac.macports.org/ticket/20696 and
> http://lists.macosforge.org/pipermail/macports-users/2009-August/016137.html
>
> What's the proper solution to fix it?
It seems fedora has a local patch for this:
http://cvs.fedoraproject.org/viewvc/devel/java-1.6.0-openjdk/java-1.6.0-openjdk-x11.patch?view=markup
It would be good if we could come up with a configure check for the
above and apply it based on that in icedtea.
Cheers,
Mark
More information about the distro-pkg-dev
mailing list