build error with new Xorg/Xextproto in awt_GraphicsEnv.c

Andreas Radke a.radke at arcor.de
Sat Oct 17 06:49:14 PDT 2009


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?

-Andy



More information about the distro-pkg-dev mailing list