jdk14 vs open-motif
Kris Kennaway
kris at obsecurity.org
Tue May 8 22:02:45 UTC 2007
On Tue, May 08, 2007 at 02:59:35PM -0700, Greg Lewis wrote:
> 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.
Great, thanks. Either we can wait for the xorg import into CVS or you
could send the patch to flz@ for committing with the rest.
Kris
More information about the freebsd-java
mailing list