From owner-freebsd-java Thu Dec 6 14: 7:18 2001 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228]) by hub.freebsd.org (Postfix) with SMTP id 4356A37B416 for ; Thu, 6 Dec 2001 14:07:15 -0800 (PST) Received: (qmail 15449 invoked by uid 1001); 6 Dec 2001 22:09:14 -0000 From: Joe Kelsey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15375.60553.74040.339897@zircon.zircon.seattle.wa.us> Date: Thu, 6 Dec 2001 14:09:12 -0800 To: Rod Gilchrist Cc: freebsd-java@freebsd.org Subject: 1.3.1 patchset 5 build problem In-Reply-To: <3C0FE90D.95B52A7E@borderware.com> References: <20011014154814.A38579@misty.eyesbeyond.com> <20011215012002.A9630@gnuppy> <3C0FE90D.95B52A7E@borderware.com> X-Mailer: VM 6.98 under Emacs 21.1.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Rod Gilchrist writes: > 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: I have never actually tried to compile with the lesstif port installed. As far as I can tell from playing with the lesstif port, it has major problems, especially in the installation area. Did you install it with -DMOTIF2 on the make line? (i.e., "make -DMOTIF2 install"?) I'm not sure that lesstif is completely motif 2.1 compatible. All of our work with the JDK has been with the open-motif port. I recommend that you toss out lesstif and move to open-motif, unless you have some sort of masochistic streak and enjoy beating your head against a wall... > 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... I do not think that that patch is correct. Obviously, the existing line is looking for the symbol BSD_MOTIF21 to signal the presence of Motif 2.1 in some sort of broken way that lesstif does not comply with. I am sure that there are other problems with lesstif that you just haven't discovered yet... /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message