jdk14 vs open-motif

Greg Lewis glewis at eyesbeyond.com
Tue May 8 22:22:42 UTC 2007


On Mon, May 07, 2007 at 09:37:33PM -0400, Kris Kennaway wrote:
> On Mon, May 07, 2007 at 08:18:37PM -0400, Robert Noland wrote:
> > Just so this doesn't get lost, jdk14 is conflicting with open-motif...
> > 
> > <rnoland> flz: fwiw jdk14 is broken
> > 
> > <rnoland> c
> > -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt/awt/obj/awt_motif21.o  ../../../src/solaris/native/sun/awt/awt_motif21.c
> > <rnoland> ../../../src/solaris/native/sun/awt/awt_motif21.c:26: error:
> > conflicting types for 'XmImGetXIC'
> > <rnoland> /usr/local/include/Xm/XmIm.h:92: error: previous declaration
> > of 'XmImGetXIC' was here
> > <rnoland> ../../../src/solaris/native/sun/awt/awt_motif21.c:26: error:
> > conflicting types for 'XmImGetXIC'
> > <rnoland> /usr/local/include/Xm/XmIm.h:92: error: previous declaration
> > of 'XmImGetXIC' was here
> > 
> > <rnoland> conflicting with open-motif
> 
> Ah, thanks for tracking this down.  It looks like jdk14 will have to
> learn to be less liberal in its header search path and/or become
> compatible with the open-motif port instead of (apparently) using its
> own incompatible version of these headers (maintainer CC'ed: this is
> in the context of xorg 7.2, which moves everything into /usr/local).

Nothing to do with xorg 7.2 actually.  It needs the same patch that
was applied to jdk15 to make it check for an XmVersion of 2001 _or
greater_ rather than just check for 2001.

I can fix that.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list