From owner-freebsd-java Tue Aug 22 18:26:42 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 6CD3837B43C for ; Tue, 22 Aug 2000 18:26:37 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA07535; Wed, 23 Aug 2000 10:56:17 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200008230126.KAA07535@ares.trc.adelaide.edu.au> Subject: Re: Problems building native jdk122 alpha In-Reply-To: <20000821141858.A39473@freebie.brann.org> from John Brann at "Aug 21, 2000 02:18:58 pm" To: John Brann Date: Wed, 23 Aug 2000 10:56:17 +0930 (CST) Cc: java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi John, > Trying to build the alpha port, patchset 10. > jdk118 (native) and jdk122 (linux) both installed in /usr/local > > Patches work fine. > > Environment variables: > ALT_BOOTDIR=/usr/local/linux-jdk1.2.2/ > ALT_MOTIF_DIR=/usr/X11R6 > ALT_ODBCDIR=/usr/local > > CLASSPATH, JAVA_HOME and JAVA_COMPILER are not set > > Going straight to a 'gmake release-images' the build dies with: > > Constructing Javadoc information... > > > >>> Generating beaninfo for javax.swing.AbstractButton ... > javadoc: In doclet class GenDocletBeanInfo, method start has thrown an exception java.lang.reflect.InvocationTargetException > java.lang.UnsatisfiedLinkError: /home/john/Development/wip/java/source-jdk1.2.2/work/build/freebsd/lib/i386/libawt.so: /home/john/Development/wip/java/source-jdk1.2.2/work/build/freebsd/bin/../lib/i386/libmlib_image.so: Undefined symbol ".L168" > > This symbol '.L168' doesn't appear in any of the linux jdk122 shared > libraries. > > Any ideas? What Motif library are you using? I'd check it (and any other shared libraries libmlib_image.so is linked against) for the symbol. You should then tweak the make file to load in the extra libraries necessary to resolve this symbol. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message