Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Dec 2001 16:54:21 -0500
From:      Rod Gilchrist <rod@borderware.com>
To:        freebsd-java@freebsd.org
Subject:   1.3.1 patchset 5 build problem
Message-ID:  <3C0FE90D.95B52A7E@borderware.com>
References:  <20011014154814.A38579@misty.eyesbeyond.com> <20011215012002.A9630@gnuppy>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I have a build problem with building jdk 1.3.1 with patchset 5.

I've worked around it, but its in an area that's been patched
before so I thought I'd report it.

With the ports lesstif-0.91.8 and XFree86-libraries-4.1.0
installed I get the following error when building the port jdk13:

Constructing Javadoc information...

>>> Generating beaninfo for javax.swing.AbstractButton...
javadoc: In doclet class GenDocletBeanInfo,  method start has thrown an exceptio
n java.lang.reflect.InvocationTargetException
java.lang.UnsatisfiedLinkError: /usr/home/joeuser/s-dev/ports/java/jdk13/work/j2
sdk1.3.1/build/bsd-i386/lib/i386/libawt.so: /usr/home/joeuser/s-dev/ports/java/j
dk13/work/j2sdk1.3.1/build/bsd-i386/lib/i386/libawt.so: Undefined symbol "awt_ut
il_getIMStatusHeight"

My fix is to add '|| defined(__FreeBSD__)' to the end of line 506 in

ports/java/jdk13/work/j2sdk1.3.1/src/solaris/native/sun/awt/awt_util.c

This works for me but obviously ignores some Motif subtlety that
has been patched around before...

For what its worth...

- Rod



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C0FE90D.95B52A7E>